Add BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW
A new sysprop neverallow rules are mandatory only for devices launching
with R or later. For devices already launched, neverallow rules can be
relaxed with adding following line to BoardConfig.mk:
BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW := true
Bug: 131162102
Test: Set PRODUCT_SHIPPING_API_LEVEL := 30 and try building with
changing some system_public_prop to system_internal_prop
Test: m cts sepolicy_tests
Change-Id: I5e1640f7b43fd47863bc7bd163c2f43b01fa3326
Merged-In: I5e1640f7b43fd47863bc7bd163c2f43b01fa3326
(cherry picked from commit e36f52754f
)
This commit is contained in:
parent
e04b73f100
commit
822fdcab1f
|
@ -222,6 +222,7 @@ func runMakeProductConfig(ctx Context, config Config) {
|
|||
"DEFAULT_WARNING_BUILD_MODULE_TYPES",
|
||||
"DEFAULT_ERROR_BUILD_MODULE_TYPES",
|
||||
"BUILD_BROKEN_PREBUILT_ELF_FILES",
|
||||
"BUILD_BROKEN_TREBLE_SYSPROP_NEVERALLOW",
|
||||
"BUILD_BROKEN_USES_BUILD_AUX_EXECUTABLE",
|
||||
"BUILD_BROKEN_USES_BUILD_AUX_STATIC_LIBRARY",
|
||||
"BUILD_BROKEN_USES_BUILD_COPY_HEADERS",
|
||||
|
|
Loading…
Reference in New Issue