Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a85b43b8 authored by David Brazdil's avatar David Brazdil Committed by android-build-merger
Browse files

Merge "Copy hidden API blacklist/dark greylist into build folder" am: 65609651 am: 47f632d4

am: 43f511a9

Change-Id: Ibf3581193d88df1916b1c2d57c94d01095cdac97
parents 253abced 43f511a9
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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)