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

Commit 3b82e070 authored by Inseob Kim's avatar Inseob Kim
Browse files

Do not initialize BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW

BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW is meant to be set depending on
targets, not devices. This allows that value to be set outside
BoardConfig.mk.

Bug: 131162102
Bug: 142684203
Test: m sepolicy_tests
Change-Id: I14f7cd06dcbaf1b5354c648079a815d7b6cc6f3a
parent 491f2969
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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.