diff --git a/core/main.mk b/core/main.mk index e9d4390c99..5930abebde 100644 --- a/core/main.mk +++ b/core/main.mk @@ -220,6 +220,9 @@ ifneq ($(TARGET_BUILD_VARIANT),user) ADDITIONAL_BUILD_PROPERTIES += persist.debug.dalvik.vm.core_platform_api_policy=just-warn endif +# Define ro.sanitize. properties for all global sanitizers. +ADDITIONAL_BUILD_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: #