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

Unified Diff: tools/build.py

Issue 10561022: add an option to choose mac sdk for the tools/builds.py (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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: tools/build.py
diff --git a/tools/build.py b/tools/build.py
index 1d1b8c805eb612d53389e92c512eeb5369442e54..31936018200593a3fcdc4b6c9336f0ecd56911ca 100755
--- a/tools/build.py
+++ b/tools/build.py
@@ -36,6 +36,10 @@ def BuildOptions():
result.add_option("--devenv",
help='Path containing devenv.com on Windows',
default='C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\Common7\\IDE')
+ result.add_option("--macsdk",
+ help='MacOSX SDK version',
+ metavar='[10.5,10.6,10.7]',
+ default='10.5')
return result
@@ -108,6 +112,8 @@ def Main():
args = ['xcodebuild',
'-project',
project_file,
+ '-sdk',
+ 'macosx%s'%options.macsdk,
'-target',
target,
'-parallelizeTargets',
« 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