From 9053f19d78b6215570029d896c1d62bbb0ce5f7d Mon Sep 17 00:00:00 2001 From: weili Date: Fri, 18 Nov 2016 14:03:49 -0800 Subject: 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 --- DEPS | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'DEPS') diff --git a/DEPS b/DEPS index 4d5507428e..e9c50143f6 100644 --- a/DEPS +++ b/DEPS @@ -184,6 +184,12 @@ hooks = [ 'pattern': '.', '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. -- cgit v1.2.3