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

Unified Diff: build/gyp_environment.py

Issue 1840323002: Add mac toolchain script support to find_sdk script. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Create SetToolchainEnvironment method 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/find_sdk.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 62c283bfb6051a21a3dfd1acff56ad3aaa380ff4..199023adf12d65907497b17d5c762df6d36a3026 100644
--- a/build/gyp_environment.py
+++ b/build/gyp_environment.py
@@ -32,6 +32,4 @@ 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
+ mac_toolchain.SetToolchainEnvironment()
« no previous file with comments | « no previous file | build/mac/find_sdk.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698