summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEvgenii Stepanov2016-11-29 17:02:30 -0600
committerEvgenii Stepanov2017-01-24 14:57:23 -0600
commitffdabdc6f23325c0eb8b8d19ccacff1aa18960fd (patch)
treec9fd3821bfe3feb3e0a5171327c76ec240622e51 /liblog/Android.bp
parentc734a0a9ee2dfa676720c51ec54225560a70a9aa (diff)
downloadplatform-system-core-ffdabdc6f23325c0eb8b8d19ccacff1aa18960fd.tar.gz
platform-system-core-ffdabdc6f23325c0eb8b8d19ccacff1aa18960fd.tar.xz
platform-system-core-ffdabdc6f23325c0eb8b8d19ccacff1aa18960fd.zip
Don't disable all sanitizers in liblog, just asan.
ASan runtime library depends on liblog, so we have to disable ASan, but nothing else. Bug: 33091541 Test: SANITIZE_TARGET=address keeps working Change-Id: I6e22925b7f1d5ec86fe1bd8c00dba4c3e86ddf3f
Diffstat (limited to 'liblog/Android.bp')
-rw-r--r--liblog/Android.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/liblog/Android.bp b/liblog/Android.bp
index bbe7d793e..40cdcee11 100644
--- a/liblog/Android.bp
+++ b/liblog/Android.bp
@@ -57,7 +57,7 @@ cc_library {
57 srcs: liblog_target_sources, 57 srcs: liblog_target_sources,
58 // AddressSanitizer runtime library depends on liblog. 58 // AddressSanitizer runtime library depends on liblog.
59 sanitize: { 59 sanitize: {
60 never: true, 60 address: false,
61 }, 61 },
62 }, 62 },
63 android_arm: { 63 android_arm: {