Remove hiddenapi-blacklist.txt
Create an empty file in the build rule instead. Do not merged this beyond AOSP. We have an implicitly built blacklist everywhere else. Bug: 64382372 Test: make Change-Id: I4e13e5daf635934a152d389a95bf45c482b5a87f Merged-In: Ifa912f8751025b7de24a982a1a227a9c27d18267
This commit is contained in:
@@ -589,11 +589,13 @@ include $(BUILD_HOST_JAVA_LIBRARY)
|
||||
# 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)))
|
||||
|
||||
$(INTERNAL_PLATFORM_HIDDENAPI_BLACKLIST):
|
||||
rm -f $@
|
||||
touch $@
|
||||
|
||||
# Generate light greylist as private API minus (blacklist plus dark greylist).
|
||||
|
||||
$(INTERNAL_PLATFORM_HIDDENAPI_LIGHT_GREYLIST): PRIVATE_API := $(INTERNAL_PLATFORM_PRIVATE_DEX_API_FILE)
|
||||
|
||||
Reference in New Issue
Block a user