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

Unified Diff: build/mac/find_sdk.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 | « build/gyp_environment.py ('k') | build/mac_toolchain.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/mac/find_sdk.py
diff --git a/build/mac/find_sdk.py b/build/mac/find_sdk.py
index ec1c96cfc7aa158fb4435c129497e83d7752bb69..ce23524c0fd57631722d643e7e210f292afe5c1d 100755
--- a/build/mac/find_sdk.py
+++ b/build/mac/find_sdk.py
@@ -15,6 +15,8 @@ import re
import subprocess
import sys
+sys.path.append(os.path.dirname(os.path.dirname(__file__)))
+import mac_toolchain
from optparse import OptionParser
@@ -40,6 +42,9 @@ def main():
parser.error('Please specify a minimum SDK version')
min_sdk_version = args[0]
+ # Try using the toolchain in mac_files.
+ mac_toolchain.SetToolchainEnvironment()
+
job = subprocess.Popen(['xcode-select', '-print-path'],
stdout=subprocess.PIPE,
stderr=subprocess.STDOUT)
« no previous file with comments | « build/gyp_environment.py ('k') | build/mac_toolchain.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698