From afaa98eeb161d60e76506a16d8b986203a7ec0b3 Mon Sep 17 00:00:00 2001 From: Oliver Chang Date: Wed, 21 Oct 2015 15:29:47 -0700 Subject: Merge to XFA: (Reland) 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=thestig@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/5478df43a8970257e9644ae6f57a6fe7513029c6 Review URL: https://codereview.chromium.org/1406843002 . (cherry picked from commit 3b2ab45f0a883046a7c457e8435b5a9b2c1c4156) Review URL: https://codereview.chromium.org/1412193010 . --- DEPS | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'DEPS') diff --git a/DEPS b/DEPS index 59335ab9be..f02ac6892a 100644 --- a/DEPS +++ b/DEPS @@ -14,6 +14,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@4d03c3aabad6517ff058124bb799ca6a4156e570", @@ -74,4 +77,10 @@ hooks = [ '-s', 'pdfium/buildtools/linux64/clang-format.sha1', ], }, + { + # Pull clang if needed or requested via GYP_DEFINES. + 'name': 'clang', + 'pattern': '.', + 'action': ['python', 'pdfium/tools/clang/scripts/update.py', '--if-needed'], + }, ] -- cgit v1.2.3