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-31 10:02:40 +0100
commitf68ef068b14e48e2727e575f2198bb94de72e3e7 (patch)
treefecba7cb8d53cf44620639c9dbd3c248992022ed /apex/Android.bp
parent087646e97d53d84f18ca3a061a885259a5febfb5 (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. Bug: 149293194 Test: m update-api Change-Id: I144ce6dbfe524106fc7de87318f66390c31b45af Merged-In: 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 8ff790168436..0b9802db7bb7 100644
--- a/apex/Android.bp
+++ b/apex/Android.bp
@@ -143,6 +143,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",