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

Side by Side Diff: dart/utils/compiler/compiler.gyp

Issue 10197009: Add dart2js.bat for running dart2js on Windows. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « dart/utils/compiler/build_helper.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 # for details. All rights reserved. Use of this source code is governed by a 2 # for details. All rights reserved. Use of this source code is governed by a
3 # BSD-style license that can be found in the LICENSE file. 3 # BSD-style license that can be found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'dart_dir': '../..', 7 'dart_dir': '../..',
8 }, 8 },
9 'targets': [ 9 'targets': [
10 { 10 {
11 'target_name': 'dart2js', 11 'target_name': 'dart2js',
12 'type': 'none', 12 'type': 'none',
13 'dependencies': [ 13 'dependencies': [
14 '../../runtime/dart-runtime.gyp:dart', 14 '../../runtime/dart-runtime.gyp:dart',
15 ], 15 ],
16 'actions': [ 16 'actions': [
17 { 17 {
18 'action_name': 'build_dart2js', 18 'action_name': 'build_dart2js',
19 'inputs': [ 19 'inputs': [
20 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', 20 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
21 'build_helper.dart', 21 'build_helper.dart',
22 ], 22 ],
23 'outputs': [ 23 'outputs': [
24 '<(PRODUCT_DIR)/dart2js', 24 '<(PRODUCT_DIR)/dart2js',
25 '<(PRODUCT_DIR)/dart2js.bat',
25 '<(PRODUCT_DIR)/dart2js_developer', 26 '<(PRODUCT_DIR)/dart2js_developer',
27 '<(PRODUCT_DIR)/dart2js_developer.bat',
26 ], 28 ],
27 'action': [ 29 'action': [
28 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', 30 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
29 '--enable-checked-mode', 31 '--enable-checked-mode',
30 'build_helper.dart', 32 'build_helper.dart',
31 # Note: it would seem more straight-forward to pass in 33 # Note: it would seem more straight-forward to pass in
32 # '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)'. 34 # '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)'.
33 # Unfortunately, there is some strange interaction with 35 # Unfortunately, there is some strange interaction with
34 # GYP so it doesn't work. 36 # GYP so it doesn't work.
35 '<(PRODUCT_DIR)', 37 '<(PRODUCT_DIR)',
36 '<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', 38 '<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
37 'dart2js', 39 'dart2js',
38 'dart2js_developer', 40 'dart2js_developer',
39 '<(dart_dir)', 41 '<(dart_dir)',
40 ], 42 ],
41 }, 43 },
42 ], 44 ],
43 }, 45 },
44 ], 46 ],
45 } 47 }
OLDNEW
« 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