summaryrefslogtreecommitdiff
path: root/apex/Android.bp
diff options
context:
space:
mode:
authorAnton Hansson <hansson@google.com>2020-03-27 15:09:26 +0000
committerAnton Hansson <hansson@google.com>2020-03-27 15:09:26 +0000
commit442fcf48c42a6652f12a454e84e384256e808725 (patch)
treec27dce2b8ec2068ec8b105d7217c7fe9790d5266 /apex/Android.bp
parentf51b6aa53a4e6b597b8f9c468eaaa8a4d6d9eb3a (diff)
Add package filter for system_server stubs
Should prevent accidental addition of APIs outside com.android, which is where we want these APIs to be. Also fix a bug in the permission filegroup where it wasn't specifying the subpath of its code. Bug: 149293194 Test: m update-api Change-Id: I144ce6dbfe524106fc7de87318f66390c31b45af
Diffstat (limited to 'apex/Android.bp')
-rw-r--r--apex/Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/apex/Android.bp b/apex/Android.bp
index e8f6e6bf2c46..adf418557e19 100644
--- a/apex/Android.bp
+++ b/apex/Android.bp
@@ -137,6 +137,7 @@ stubs_defaults {
name: "service-module-stubs-srcs-defaults",
args: mainline_service_stubs_args,
installable: false,
+ filter_packages: ["com.android."],
check_api: {
current: {
api_file: "api/current.txt",