diff --git a/core/board_config.mk b/core/board_config.mk index 725c0a54f9..183bdbb31e 100644 --- a/core/board_config.mk +++ b/core/board_config.mk @@ -129,6 +129,7 @@ _build_broken_var_list := \ BUILD_BROKEN_PREBUILT_ELF_FILES \ BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW \ BUILD_BROKEN_USES_NETWORK \ + BUILD_BROKEN_VENDOR_PROPERTY_NAMESPACE \ BUILD_BROKEN_VINTF_PRODUCT_COPY_FILES \ _build_broken_var_list += \ diff --git a/core/soong_config.mk b/core/soong_config.mk index bdc8ce97b6..1569300225 100644 --- a/core/soong_config.mk +++ b/core/soong_config.mk @@ -244,6 +244,10 @@ $(call add_json_list, BoardKernelModuleInterfaceVersions, $(BOARD_KERNEL_MODULE_ $(call add_json_bool, BoardMoveRecoveryResourcesToVendorBoot, $(BOARD_MOVE_RECOVERY_RESOURCES_TO_VENDOR_BOOT)) $(call add_json_str, PrebuiltHiddenApiDir, $(BOARD_PREBUILT_HIDDENAPI_DIR)) +$(call add_json_str, ShippingApiLevel, $(PRODUCT_SHIPPING_API_LEVEL)) + +$(call add_json_bool, BuildBrokenVendorPropertyNamespace, $(BUILD_BROKEN_VENDOR_PROPERTY_NAMESPACE)) + $(call json_end) $(file >$(SOONG_VARIABLES).tmp,$(json_contents)) diff --git a/target/board/BoardConfigEmuCommon.mk b/target/board/BoardConfigEmuCommon.mk index 342abd71ec..fe0293b805 100644 --- a/target/board/BoardConfigEmuCommon.mk +++ b/target/board/BoardConfigEmuCommon.mk @@ -90,3 +90,6 @@ BOARD_FLASH_BLOCK_SIZE := 512 DEVICE_MATRIX_FILE := device/generic/goldfish/compatibility_matrix.xml BOARD_SEPOLICY_DIRS += device/generic/goldfish/sepolicy/common + +# b/176210699: remove this +BUILD_BROKEN_VENDOR_PROPERTY_NAMESPACE := true