summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Evgenii Stepanov <eugenis@google.com> 2020-08-07 22:44:18 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2020-08-07 22:44:18 +0000
commit48e914e9911f53cad5af6d912221a3a35cb5f23c (patch)
tree7153bee8e2112bcd9f2a4461f2a88220f53b0615
parent7c556f30becdf2215761745112a932d51fb206bb (diff)
parent830eddbe27a190b4e60d762c89adf011c899dca8 (diff)
Merge "Define ro.sanitize.<name> properties in SANITIZE_TARGET builds."
-rw-r--r--core/main.mk3
1 files changed, 3 insertions, 0 deletions
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.<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:
#