Fix last-released check of removed.txt

The last-released checks should check compatibility of the removed.txt
file generated from src with the checked in last-released removed.txt.
It was previously checking compatibility with the checked in removed.txt
at HEAD, which is what check_api is for.

Bug: 155197156
Test: m checkapi
Change-Id: I0f4eca5a30ee13e2c098ccf50e1b992adf4e22cb
This commit is contained in:
Anton Hansson
2020-05-02 18:00:30 +01:00
parent 48ee95e9b1
commit 960c675a83
2 changed files with 4 additions and 4 deletions

View File

@@ -110,7 +110,7 @@ droidstubs {
},
last_released: {
api_file: ":android.api.public.latest",
removed_api_file: "api/removed.txt",
removed_api_file: ":removed.api.public.latest",
baseline_file: ":public-api-incompatibilities-with-last-released",
},
api_lint: {
@@ -152,7 +152,7 @@ droidstubs {
},
last_released: {
api_file: ":android.api.system.latest",
removed_api_file: "api/system-removed.txt",
removed_api_file: ":removed.api.system.latest",
baseline_file: ":system-api-incompatibilities-with-last-released"
},
api_lint: {
@@ -216,7 +216,7 @@ droidstubs {
},
last_released: {
api_file: ":android.api.module-lib.latest",
removed_api_file: "api/module-lib-removed.txt",
removed_api_file: ":removed.api.module-lib.latest",
baseline_file: ":module-lib-api-incompatibilities-with-last-released"
},
api_lint: {

View File

@@ -129,7 +129,7 @@ droidstubs {
},
last_released: {
api_file: ":android.api.system-server.latest",
removed_api_file: "api/removed.txt",
removed_api_file: ":removed.api.system-server.latest",
baseline_file: ":system-server-api-incompatibilities-with-last-released"
},
api_lint: {