summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorweili <weili@chromium.org>2016-11-18 14:03:49 -0800
committerCommit bot <commit-bot@chromium.org>2016-11-18 14:03:49 -0800
commit9053f19d78b6215570029d896c1d62bbb0ce5f7d (patch)
treedcab1fce026c7b556d5459ef9f64d8c0aad6bfa1
parent78cb28a38481a46ceab861f4159e618509868f94 (diff)
downloadpdfium-9053f19d78b6215570029d896c1d62bbb0ce5f7d.tar.xz
Download or update Mac toolchain for pdfium
Add Mac toolchain update logic to check whether toolchain should be downloaded. For googlers, it should be downloaded by default. This fix the current sdk directory couldn't be found problem. For googlers who want to opt out of using toolchain, set "use_system_xcode = true" in gn config. Review-Url: https://codereview.chromium.org/2515833002
-rw-r--r--DEPS6
1 files changed, 6 insertions, 0 deletions
diff --git a/DEPS b/DEPS
index 4d5507428e..e9c50143f6 100644
--- a/DEPS
+++ b/DEPS
@@ -185,6 +185,12 @@ hooks = [
'action': ['python', 'pdfium/build/vs_toolchain.py', 'update'],
},
{
+ # Update the Mac toolchain if necessary.
+ 'name': 'mac_toolchain',
+ 'pattern': '.',
+ 'action': ['python', 'pdfium/build/mac_toolchain.py'],
+ },
+ {
# Pull sanitizer-instrumented third-party libraries if requested via
# GYP_DEFINES.
'name': 'instrumented_libraries',