summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2018-03-13 09:41:23 +0000
committerDavid Brazdil <dbrazdil@google.com>2018-03-16 10:23:09 +0000
commit873d1d30d540589b7b50948200c5f6ef2b5a845d (patch)
tree4ff2ba93b88f21c87abf8dd642001af521b54dd0 /Android.mk
parent78e4f84f045d2452f59c6ebea81493bd9894aa1b (diff)
Add uses of hidden APIs from vendor apps
These will move into the dark greylist once we remove the UI toast. Merge them with light greylist for now. Bug: 64382372 Bug: 74589747 Bug: 74588266 Bug: 74586173 Bug: 74586969 Test: make Change-Id: I8c1d3b67b763e8b14a66874705ba7165cf421e72 Merged-In: I5d0ec308a0187d67df6d9a4f0778c9285dc1e2af
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/Android.mk b/Android.mk
index bbe2faf2e9ed..e2f88e8990bd 100644
--- a/Android.mk
+++ b/Android.mk
@@ -868,8 +868,12 @@ include $(BUILD_STATIC_JAVA_LIBRARY)
$(eval $(call copy-one-file,frameworks/base/config/hiddenapi-blacklist.txt,\
$(INTERNAL_PLATFORM_HIDDENAPI_BLACKLIST)))
-$(eval $(call copy-one-file,frameworks/base/config/hiddenapi-light-greylist.txt,\
- $(INTERNAL_PLATFORM_HIDDENAPI_LIGHT_GREYLIST)))
+
+# Temporarily merge light greylist from two files. Vendor list will become dark
+# grey once we remove the UI toast.
+$(INTERNAL_PLATFORM_HIDDENAPI_LIGHT_GREYLIST): frameworks/base/config/hiddenapi-light-greylist.txt \
+ frameworks/base/config/hiddenapi-vendor-list.txt
+ sort $^ > $@
# Generate dark greylist as private API minus (blacklist plus light greylist).