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

Unified Diff: tools/gyp_dart.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
« tools/gyp/xcode.gypi ('K') | « tools/gyp/xcode.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gyp_dart.py
diff --git a/tools/gyp_dart.py b/tools/gyp_dart.py
index 200fbd561c615684307f1d6a3ca22a0f953cd54c..ed8bc77915b3a190b509462889d7be4f743ad4d6 100644
--- a/tools/gyp_dart.py
+++ b/tools/gyp_dart.py
@@ -12,14 +12,17 @@ import os
import subprocess
import sys
+import os.path as path
def execute(args):
process = subprocess.Popen(args)
process.wait()
return process.returncode
def main():
- args = ['python', 'dart/third_party/gyp/gyp', '--depth=dart',
- '-Idart/tools/gyp/all.gypi', 'dart/dart.gyp']
+ dart_root = os.path.dirname(os.path.abspath(os.path.dirname(__file__)))
+ args = ['python', 'dart/third_party/gyp/gyp', '--depth=dart', '-D',
+ 'DART_ROOT=' + dart_root, '-Idart/tools/gyp/all.gypi',
Ivan Posva 2013/03/13 09:44:40 ditto.
+ 'dart/dart.gyp']
if sys.platform == 'win32':
# Generate Visual Studio 2010 compatible files by default.
« tools/gyp/xcode.gypi ('K') | « tools/gyp/xcode.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698