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

Unified Diff: tools/generate_projects.py

Issue 12672003: Use the lowest MacOS SDK available on a system (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
Index: tools/generate_projects.py
diff --git a/tools/generate_projects.py b/tools/generate_projects.py
index 8f9d796ae19335341caa8446665e72b229f97deb..84ec58589b922c252d6fc03fac15a5bdb9540004 100755
--- a/tools/generate_projects.py
+++ b/tools/generate_projects.py
@@ -49,6 +49,8 @@ except ImportError, e:
if __name__ == '__main__':
+ dart_root = os.path.dirname(os.path.abspath(os.path.dirname(__file__)))
+
# Make our own location absolute as it is stored in Makefiles.
sys.argv[0] = os.path.abspath(sys.argv[0])
@@ -56,6 +58,7 @@ if __name__ == '__main__':
args = sys.argv[2:]
args += ['--depth', project_src]
+ args += ['-D', 'DART_ROOT=' + dart_root]
Ivan Posva 2013/03/13 09:44:40 I would prefer if we did not have to pass this val
kustermann 2013/03/13 15:30:29 As discussed offline, we don't need this anymore a
args += ['-I', './tools/gyp/common.gypi']
if platform.system() == 'Linux':

Powered by Google App Engine
This is Rietveld 408576698