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

Unified Diff: build/config/mac/sdk_info.py

Issue 2183053006: Add mac hermetic support to build/config/mac/sdk_info.py. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Wrap ios toolchain in is_ios block Created 4 years, 5 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
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)

Powered by Google App Engine
This is Rietveld 408576698