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

Unified Diff: build/gyp_environment.py

Issue 1834183002: Followup to 'Scripts to upload and update the mac toolchain.' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Erik comments 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 | « no previous file | build/mac_toolchain.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/gyp_environment.py
diff --git a/build/gyp_environment.py b/build/gyp_environment.py
index fb50645d56fc5adc4276f9ac989a06059c4c4aa3..62c283bfb6051a21a3dfd1acff56ad3aaa380ff4 100644
--- a/build/gyp_environment.py
+++ b/build/gyp_environment.py
@@ -9,6 +9,7 @@ make sure settings are consistent between them, all setup should happen here.
"""
import gyp_helper
+import mac_toolchain
import os
import sys
import vs_toolchain
@@ -31,3 +32,6 @@ def SetEnvironment():
os.environ['GYP_GENERATORS'] = 'ninja'
vs_toolchain.SetEnvironmentAndGetRuntimeDllDirs()
+ mac_toolchain_dir = mac_toolchain.GetToolchainDirectory()
+ if mac_toolchain_dir:
+ os.environ['DEVELOPER_DIR'] = mac_toolchain_dir
« no previous file with comments | « no previous file | build/mac_toolchain.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698