Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Unified Diff: build/gyp_chromium.py

Issue 1759793003: Scripts to upload and update the mac toolchain. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nit Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/OWNERS ('k') | build/mac_toolchain.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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()
« no previous file with comments | « build/OWNERS ('k') | build/mac_toolchain.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698