Enable compat checking & lint for system_services api

These were previously turned off as there were no previous
releases to compare it to. Check in empty files as comparison.

Whitelist current lint problems for now (filed bugs to follow-up).

Bug: 149818061
Bug: 149818284
Bug: 147559833
Test: m checkapi
Change-Id: Ib4cbc84ac9a826f7b947c951c94f8f5578f4554d
Merged-In: Ib4cbc84ac9a826f7b947c951c94f8f5578f4554d
(cherry picked from commit daa9d88444)
This commit is contained in:
Anton Hansson
2020-02-19 11:35:09 +00:00
parent 626afea1bd
commit 0decfb1f8a
2 changed files with 11 additions and 0 deletions

View File

@@ -126,6 +126,16 @@ droidstubs {
api_file: "api/current.txt",
removed_api_file: "api/removed.txt",
},
last_released: {
api_file: ":last-released-system-server-api",
removed_api_file: "api/removed.txt",
baseline_file: ":system-server-api-incompatibilities-with-last-released"
},
api_lint: {
enabled: true,
new_since: ":last-released-system-server-api",
baseline_file: "api/lint-baseline.txt",
},
},
}

View File

@@ -0,0 +1 @@
// Baseline format: 1.0