Define ro.sanitize.<name> properties in SANITIZE_TARGET builds.
This will let us quickly check the system image build type, and modify *.rc behavior based on that. Bug: 142430632 Test: adb shell getprop ro.sanitize.hwaddress in hwasan build Change-Id: Id1738ebc94a7c29ea9902a063f5d8dd6deb48f1b
This commit is contained in:
parent
e9bceb662b
commit
830eddbe27
1 changed files with 3 additions and 0 deletions
|
@ -213,6 +213,9 @@ ifneq ($(TARGET_BUILD_VARIANT),user)
|
|||
ADDITIONAL_SYSTEM_PROPERTIES += persist.debug.dalvik.vm.core_platform_api_policy=just-warn
|
||||
endif
|
||||
|
||||
# Define ro.sanitize.<name> properties for all global sanitizers.
|
||||
ADDITIONAL_SYSTEM_PROPERTIES += $(foreach s,$(SANITIZE_TARGET),ro.sanitize.$(s)=true)
|
||||
|
||||
# Sets the default value of ro.postinstall.fstab.prefix to /system.
|
||||
# Device board config should override the value to /product when needed by:
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue