summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorOliver Chang <ochang@chromium.org>2015-12-18 15:56:06 -0800
committerOliver Chang <ochang@chromium.org>2015-12-18 15:56:06 -0800
commit38cecc343561395cad8a33889f91c1a254ca1f73 (patch)
treee041f6c5cce5d68d5139c7c7ee71af65769886d4 /build
parentb5385ba5d0c616cd4af994b2a9d674588086f75c (diff)
downloadpdfium-38cecc343561395cad8a33889f91c1a254ca1f73.tar.xz
Add a LSan suppressions file.
Also defines ADDRESS_SANITIZER and LEAK_SANITIZER for ASan builds. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1540433004 .
Diffstat (limited to 'build')
-rw-r--r--build/standalone.gypi4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/standalone.gypi b/build/standalone.gypi
index 60e2ee4b12..cdf6598438 100644
--- a/build/standalone.gypi
+++ b/build/standalone.gypi
@@ -273,6 +273,10 @@
],
}],
['asan==1', {
+ 'defines': [
+ 'ADDRESS_SANITIZER',
+ 'LEAK_SANITIZER',
+ ],
'cflags': [
'-fsanitize=address',
'-gline-tables-only',