Index: build/gyp_chromium.py |
diff --git a/build/gyp_chromium.py b/build/gyp_chromium.py |
index 15fa3f6c99efd31a8386b719e51ad18741c06f9b..3c975d6a4683920e5eea67d86424523c86623539 100644 |
--- a/build/gyp_chromium.py |
+++ b/build/gyp_chromium.py |
@@ -10,6 +10,7 @@ import argparse |
import gc |
import glob |
import gyp_environment |
+import mac_toolchain |
import os |
import re |
import shlex |
@@ -315,6 +316,10 @@ def main(): |
args.extend(['-D', 'gyp_output_dir=' + GetOutputDirectory()]) |
+ mac_toolchain_dir = mac_toolchain.GetToolchainDirectory() |
+ if mac_toolchain_dir: |
+ args.append('-Gmac_toolchain_dir=' + mac_toolchain_dir) |
+ |
if not use_analyzer: |
print 'Updating projects from gyp files...' |
sys.stdout.flush() |