diff --git a/core/board_config.mk b/core/board_config.mk index 4c128f118..973182b24 100644 --- a/core/board_config.mk +++ b/core/board_config.mk @@ -87,7 +87,6 @@ _board_strip_readonly_list += $(_dynamic_partitions_var_list) _build_broken_var_list := \ BUILD_BROKEN_DUP_RULES \ BUILD_BROKEN_PREBUILT_ELF_FILES \ - BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW \ BUILD_BROKEN_USES_NETWORK \ _build_broken_var_list += \ @@ -109,6 +108,10 @@ endif # ############################################################### $(foreach v,$(_build_broken_var_list),$(eval $(v) :=)) +# Build broken vars without default initialization above +_build_broken_var_list += \ + BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW + # Boards may be defined under $(SRC_TARGET_DIR)/board/$(TARGET_DEVICE) # or under vendor/*/$(TARGET_DEVICE). Search in both places, but # make sure only one exists. diff --git a/target/product/full.mk b/target/product/full.mk index b356f9d42..2cda6d04f 100644 --- a/target/product/full.mk +++ b/target/product/full.mk @@ -31,3 +31,6 @@ PRODUCT_NAME := full PRODUCT_DEVICE := generic PRODUCT_BRAND := Android PRODUCT_MODEL := AOSP on ARM Emulator + +# TODO(b/131162102): remove this after cleaning up accesses of sysprop +BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW := true diff --git a/target/product/full_x86.mk b/target/product/full_x86.mk index 55c450a80..05e8e38ff 100644 --- a/target/product/full_x86.mk +++ b/target/product/full_x86.mk @@ -44,3 +44,6 @@ PRODUCT_NAME := full_x86 PRODUCT_DEVICE := generic_x86 PRODUCT_BRAND := Android PRODUCT_MODEL := AOSP on IA Emulator + +# TODO(b/131162102): remove this after cleaning up accesses of sysprop +BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW := true diff --git a/target/product/sdk_phone_arm64.mk b/target/product/sdk_phone_arm64.mk index ad726333a..7592fa7a9 100644 --- a/target/product/sdk_phone_arm64.mk +++ b/target/product/sdk_phone_arm64.mk @@ -31,4 +31,5 @@ PRODUCT_NAME := sdk_phone_arm64 PRODUCT_DEVICE := generic_arm64 PRODUCT_MODEL := Android SDK built for arm64 - +# TODO(b/131162102): remove this after cleaning up accesses of sysprop +BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW := true diff --git a/target/product/sdk_phone_armv7.mk b/target/product/sdk_phone_armv7.mk index 77b8b5064..950a531e5 100644 --- a/target/product/sdk_phone_armv7.mk +++ b/target/product/sdk_phone_armv7.mk @@ -30,3 +30,6 @@ PRODUCT_PACKAGES += \ PRODUCT_BRAND := Android PRODUCT_NAME := sdk_phone_armv7 PRODUCT_DEVICE := generic + +# TODO(b/131162102): remove this after cleaning up accesses of sysprop +BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW := true diff --git a/target/product/sdk_phone_x86.mk b/target/product/sdk_phone_x86.mk index efb3c6e70..59d234367 100644 --- a/target/product/sdk_phone_x86.mk +++ b/target/product/sdk_phone_x86.mk @@ -49,3 +49,6 @@ PRODUCT_BRAND := Android PRODUCT_NAME := sdk_phone_x86 PRODUCT_DEVICE := generic_x86 PRODUCT_MODEL := Android SDK built for x86 + +# TODO(b/131162102): remove this after cleaning up accesses of sysprop +BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW := true diff --git a/target/product/sdk_phone_x86_64.mk b/target/product/sdk_phone_x86_64.mk index 267796f39..c342159ca 100644 --- a/target/product/sdk_phone_x86_64.mk +++ b/target/product/sdk_phone_x86_64.mk @@ -51,3 +51,6 @@ PRODUCT_BRAND := Android PRODUCT_NAME := sdk_phone_x86_64 PRODUCT_DEVICE := generic_x86_64 PRODUCT_MODEL := Android SDK built for x86_64 + +# TODO(b/131162102): remove this after cleaning up accesses of sysprop +BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW := true