summaryrefslogtreecommitdiff
path: root/services/Android.bp
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2020-02-19 11:35:09 +0000
committerAnton Hansson <hansson@google.com>2020-02-19 12:03:04 +0000
commitdaa9d884442284f654be37155f6fb50689380a63 (patch)
tree734e434d93695fc9dcaf04cd8481d001a5b768d4 /services/Android.bp
parent5562c7e87f564661908fcb2f59591d012626ee3b (diff)
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
Diffstat (limited to 'services/Android.bp')
-rw-r--r--services/Android.bp10
1 files changed, 10 insertions, 0 deletions
diff --git a/services/Android.bp b/services/Android.bp
index 416f448a965f..c77e75da66ba 100644
--- a/services/Android.bp
+++ b/services/Android.bp
@@ -127,6 +127,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",
+ },
},
}