Index: build/config/mac/sdk_info.py |
diff --git a/build/config/mac/sdk_info.py b/build/config/mac/sdk_info.py |
index d4b12a9c1e1e1baaa0c728b8be4519d12a5efaaf..52b252449aa1c884921541f4b49d488e4dc0cae9 100644 |
--- a/build/config/mac/sdk_info.py |
+++ b/build/config/mac/sdk_info.py |
@@ -6,6 +6,9 @@ import os |
import subprocess |
import sys |
+sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(__file__)))) |
+import mac_toolchain |
+ |
# This script prints information about the build system, the operating |
# system and the iOS or Mac SDK (depending on the platform "iphonesimulator", |
# "iphoneos" or "macosx" generally). |
@@ -57,6 +60,9 @@ if __name__ == '__main__': |
os.path.basename(sys.argv[0])) |
sys.exit(1) |
+ # Try using the toolchain in mac_files. |
+ mac_toolchain.SetToolchainEnvironment() |
+ |
settings = {} |
FillMachineOSBuild(settings) |
FillXcodeVersion(settings) |