summaryrefslogtreecommitdiff
path: root/DEPS
diff options
context:
space:
mode:
authorOliver Chang <ochang@chromium.org>2015-10-19 11:19:22 -0700
committerOliver Chang <ochang@chromium.org>2015-10-19 11:19:22 -0700
commit5478df43a8970257e9644ae6f57a6fe7513029c6 (patch)
treec9e7c2293d63413198204d4a32d81f8f4d5a19e3 /DEPS
parent316e482630d5f5d9084edd9725f98a0d89a5bbdf (diff)
downloadpdfium-5478df43a8970257e9644ae6f57a6fe7513029c6.tar.xz
Switch builds to clang by default for Linux and OS X.
Also adds support for ASan and sanitizer coverage. BUG=pdfium:1,pdfium:171 R=thakis@chromium.org, thestig@chromium.org Review URL: https://codereview.chromium.org/1406843002 .
Diffstat (limited to 'DEPS')
-rw-r--r--DEPS9
1 files changed, 9 insertions, 0 deletions
diff --git a/DEPS b/DEPS
index 74097a67d9..8f0b55f29c 100644
--- a/DEPS
+++ b/DEPS
@@ -16,6 +16,9 @@ deps = {
"testing/gtest":
"https://chromium.googlesource.com/external/googletest.git@8245545b6dc9c4703e6496d1efd19e975ad2b038",
+ "tools/clang":
+ "https://chromium.googlesource.com/chromium/src/tools/clang",
+
"v8":
"https://chromium.googlesource.com/v8/v8.git@d3f97a972ffe37989fed2794d07e33f7c25f651c",
@@ -76,4 +79,10 @@ hooks = [
'-s', 'buildtools/linux64/clang-format.sha1',
],
},
+ {
+ # Pull clang if needed or requested via GYP_DEFINES.
+ 'name': 'clang',
+ 'pattern': '.',
+ 'action': ['python', 'tools/clang/scripts/update.py', '--if-needed'],
+ },
]