OLD | NEW |
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 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'dart2js', | 8 'target_name': 'dart2js', |
9 'type': 'none', | 9 'type': 'none', |
10 'dependencies': [ | 10 'dependencies': [ |
11 '../../runtime/dart-runtime.gyp:dart', | 11 '../../runtime/dart-runtime.gyp:dart', |
12 ], | 12 ], |
13 'conditions': [ | 13 'actions': [ |
14 ['OS!="win"', { | 14 { |
15 'actions': [ | 15 'action_name': 'build_dart2js', |
16 { | 16 'inputs': [ |
17 'action_name': 'build_dart2js', | 17 '<(PRODUCT_DIR)/dart', |
18 'inputs': [ | 18 'build_helper.dart', |
19 '<(PRODUCT_DIR)/dart', | |
20 'build_helper.dart', | |
21 ], | |
22 'outputs': [ | |
23 '<(PRODUCT_DIR)/dart2js', | |
24 '<(PRODUCT_DIR)/dart2js_developer', | |
25 ], | |
26 'action': [ | |
27 '<(PRODUCT_DIR)/dart', | |
28 'build_helper.dart', | |
29 '<(PRODUCT_DIR)', | |
30 'dart', | |
31 'dart2js', | |
32 'dart2js_developer', | |
33 ], | |
34 }, | |
35 ], | 19 ], |
36 }], | 20 'outputs': [ |
| 21 '<(PRODUCT_DIR)/dart2js', |
| 22 '<(PRODUCT_DIR)/dart2js_developer', |
| 23 ], |
| 24 'action': [ |
| 25 '<(PRODUCT_DIR)/dart', |
| 26 'build_helper.dart', |
| 27 '<(PRODUCT_DIR)', |
| 28 'dart', |
| 29 'dart2js', |
| 30 'dart2js_developer', |
| 31 ], |
| 32 }, |
37 ], | 33 ], |
38 }, | 34 }, |
39 ], | 35 ], |
40 } | 36 } |
OLD | NEW |