summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorOliver Chang <ochang@chromium.org>2015-12-18 16:00:30 -0800
committerOliver Chang <ochang@chromium.org>2015-12-18 16:00:30 -0800
commitb77959c00f986a9982a237f73864349593776e7b (patch)
tree357e4a6ac90462be74dc8fe33d2659e8fe0dd724 /build
parentdf663f5fcfc860249ab318407353f0aca907522d (diff)
downloadpdfium-b77959c00f986a9982a237f73864349593776e7b.tar.xz
Merge to XFA: Add a LSan suppressions file.
Also defines ADDRESS_SANITIZER and LEAK_SANITIZER for ASan builds. TBR=thestig@chromium.org Original Review URL: https://codereview.chromium.org/1540433004 . (cherry picked from commit 38cecc343561395cad8a33889f91c1a254ca1f73) Review URL: https://codereview.chromium.org/1540433005 .
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 de638de97c..71b207e912 100644
--- a/build/standalone.gypi
+++ b/build/standalone.gypi
@@ -274,6 +274,10 @@
],
}],
['asan==1', {
+ 'defines': [
+ 'ADDRESS_SANITIZER',
+ 'LEAK_SANITIZER',
+ ],
'cflags': [
'-fsanitize=address',
'-gline-tables-only',