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

Unified Diff: mac/find_sdk.py

Issue 2898183004: fix: build on sierra
Patch Set: fix: build on sierra Created 3 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mac/find_sdk.py
diff --git a/mac/find_sdk.py b/mac/find_sdk.py
index 5172df3999bd11b69019d89451a628ca95c4856e..0cefdb23a6e4ddff7ef1a517ea144b88c78aa181 100755
--- a/mac/find_sdk.py
+++ b/mac/find_sdk.py
@@ -53,7 +53,7 @@ def main():
print >> sys.stderr, err
raise Exception('Error %d running xcode-select' % job.returncode)
sdk_dir = os.path.join(
- out.rstrip(), 'Platforms/MacOSX.platform/Developer/SDKs')
+ out.rstrip(), 'SDKs')
sdks = [re.findall('^MacOSX(10\.\d+)\.sdk$', s) for s in os.listdir(sdk_dir)]
sdks = [s[0] for s in sdks if s] # [['10.5'], ['10.6']] => ['10.5', '10.6']
sdks = [s for s in sdks # ['10.5', '10.6'] => ['10.6']
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698