diff --git a/core/main.mk b/core/main.mk index 4578d90305..ab9962adbb 100644 --- a/core/main.mk +++ b/core/main.mk @@ -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. 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: #