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() |