summaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorDavid Brazdil <dbrazdil@google.com>2018-01-26 19:51:11 +0000
committerandroid-build-merger <android-build-merger@google.com>2018-01-26 19:51:11 +0000
commita85b43b80ba89aa31b2f42c28c49e77dd00d6704 (patch)
tree9a623a183992f0d2ba6329f6ab8e147646af1139 /Android.mk
parent253abcedd786632917f6452d2e37c403eb048cbd (diff)
parent43f511a92829f8ff756756f51b64af195c026a8c (diff)
Merge "Copy hidden API blacklist/dark greylist into build folder" am: 656096516c am: 47f632d48f
am: 43f511a928 Change-Id: Ibf3581193d88df1916b1c2d57c94d01095cdac97
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 32e4bfa57030..35b5f92be310 100644
--- a/Android.mk
+++ b/Android.mk
@@ -825,6 +825,16 @@ include $(BUILD_STATIC_JAVA_LIBRARY)
# ==== hiddenapi lists =======================================
+# Copy blacklist and dark greylist over into the build folder.
+# This is for ART buildbots which need to mock these lists and have alternative
+# rules for building them. Other rules in the build system should depend on the
+# files in the build folder.
+
+$(eval $(call copy-one-file,frameworks/base/config/hiddenapi-blacklist.txt,\
+ $(INTERNAL_PLATFORM_HIDDENAPI_BLACKLIST)))
+$(eval $(call copy-one-file,frameworks/base/config/hiddenapi-dark-greylist.txt,\
+ $(INTERNAL_PLATFORM_HIDDENAPI_DARK_GREYLIST)))
+
# Generate light greylist as private API minus (blacklist plus dark greylist).
$(INTERNAL_PLATFORM_HIDDENAPI_LIGHT_GREYLIST): PRIVATE_API := $(INTERNAL_PLATFORM_PRIVATE_DEX_API_FILE)