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

Unified Diff: dart/utils/compiler/compiler.gyp

Issue 10207010: Make dart2js work on Windows. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Address review comments Created 8 years, 8 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 | « dart/utils/compiler/build_helper.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/utils/compiler/compiler.gyp
diff --git a/dart/utils/compiler/compiler.gyp b/dart/utils/compiler/compiler.gyp
index ecccdaf9cd57873e38b226a97f948a50993adff7..0eb0eb3967f75321c0ac422023e42f9bd460a9a0 100644
--- a/dart/utils/compiler/compiler.gyp
+++ b/dart/utils/compiler/compiler.gyp
@@ -3,6 +3,9 @@
# BSD-style license that can be found in the LICENSE file.
{
+ 'variables': {
+ 'dart_dir': '../..',
+ },
'targets': [
{
'target_name': 'dart2js',
@@ -14,7 +17,7 @@
{
'action_name': 'build_dart2js',
'inputs': [
- '<(PRODUCT_DIR)/dart',
+ '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
'build_helper.dart',
],
'outputs': [
@@ -22,12 +25,18 @@
'<(PRODUCT_DIR)/dart2js_developer',
],
'action': [
- '<(PRODUCT_DIR)/dart',
+ '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
+ '--enable-checked-mode',
'build_helper.dart',
+ # Note: it would seem more straight-forward to pass in
+ # '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)'.
+ # Unfortunately, there is some strange interaction with
+ # GYP so it doesn't work.
'<(PRODUCT_DIR)',
- 'dart',
+ '<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
'dart2js',
'dart2js_developer',
+ '<(dart_dir)',
],
},
],
« no previous file with comments | « dart/utils/compiler/build_helper.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698