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 'conditions': [ | |
7 ['OS=="win"', {'variables': { 'exec_suffix': '.exe', }}], | |
8 ['OS!="win"', {'variables': { 'exec_suffix': '', }}], | |
9 ], | |
10 'targets': [ | 6 'targets': [ |
11 { | 7 { |
12 'target_name': 'dart2js', | 8 'target_name': 'dart2js', |
13 'type': 'none', | 9 'type': 'none', |
14 'dependencies': [ | 10 'dependencies': [ |
15 '../../runtime/dart-runtime.gyp:dart', | 11 '../../runtime/dart-runtime.gyp:dart', |
16 ], | 12 ], |
17 'actions': [ | 13 'actions': [ |
18 { | 14 { |
19 'action_name': 'build_dart2js', | 15 'action_name': 'build_dart2js', |
20 'inputs': [ | 16 'inputs': [ |
21 '<(PRODUCT_DIR)/dart<(exec_suffix)', | 17 '<(PRODUCT_DIR)/dart', |
22 'build_helper.dart', | 18 'build_helper.dart', |
23 ], | 19 ], |
24 'outputs': [ | 20 'outputs': [ |
25 '<(PRODUCT_DIR)/dart2js', | 21 '<(PRODUCT_DIR)/dart2js', |
26 '<(PRODUCT_DIR)/dart2js_developer', | 22 '<(PRODUCT_DIR)/dart2js_developer', |
27 ], | 23 ], |
28 'action': [ | 24 'conditions': [ |
29 '<(PRODUCT_DIR)/dart<(exec_suffix)', | 25 ['OS!="win"', { |
Emily Fortuna
2012/03/22 18:04:38
Can you add a TODO(ahe) to remind us to enable bui
ahe
2012/03/22 18:23:33
I have CL in progress for this. Søren has helped m
| |
30 'build_helper.dart', | 26 'action': [ |
31 '<(PRODUCT_DIR)', | 27 '<(PRODUCT_DIR)/dart', |
32 'dart', | 28 'build_helper.dart', |
33 'dart2js', | 29 '<(PRODUCT_DIR)', |
34 'dart2js_developer', | 30 'dart', |
31 'dart2js', | |
32 'dart2js_developer', | |
33 ], | |
34 }], | |
35 ], | 35 ], |
36 }, | 36 }, |
37 ], | 37 ], |
38 }, | 38 }, |
39 ], | 39 ], |
40 } | 40 } |
OLD | NEW |