Merge "Enable prebuilt hiddenapi CSV files." am: ddf8f61ce5 am: c72d8d348e am: 6ec41325da

Original change: https://android-review.googlesource.com/c/platform/build/+/1543720

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9e0e8b4794262b4fa059bb55d40489a50d796e0b
This commit is contained in:
Bill Peckham 2021-01-20 19:46:31 +00:00 committed by Automerger Merge Worker
commit 3cec0ecc6b
2 changed files with 8 additions and 0 deletions

View file

@ -990,6 +990,13 @@ $(foreach device,$(call to-upper,$(BOARD_SUPER_PARTITION_BLOCK_DEVICES)), \
endif # PRODUCT_USE_DYNAMIC_PARTITIONS
# By default, we build the hidden API csv files from source. You can use
# prebuilt hiddenapi files by setting BOARD_PREBUILT_HIDDENAPI_DIR to the name
# of a directory containing both prebuilt hiddenapi-flags.csv and
# hiddenapi-index.csv.
BOARD_PREBUILT_HIDDENAPI_DIR ?=
.KATI_READONLY := BOARD_PREBUILT_HIDDENAPI_DIR
# ###############################################################
# Set up final options.
# ###############################################################

View file

@ -237,6 +237,7 @@ $(call add_json_list, BoardKernelBinaries, $(BOARD_KERNEL_BINARIES))
$(call add_json_list, BoardKernelModuleInterfaceVersions, $(BOARD_KERNEL_MODULE_INTERFACE_VERSIONS))
$(call add_json_bool, BoardMoveRecoveryResourcesToVendorBoot, $(BOARD_MOVE_RECOVERY_RESOURCES_TO_VENDOR_BOOT))
$(call add_json_str, PrebuiltHiddenApiDir, $(BOARD_PREBUILT_HIDDENAPI_DIR))
$(call json_end)