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 '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 '../../third_party/v8/src/d8.gyp:d8', | 15 '../../third_party/v8/src/d8.gyp:d8', |
16 ], | 16 ], |
17 'actions': [ | 17 'actions': [ |
18 { | 18 { |
19 'action_name': 'build_dart2js', | 19 'action_name': 'build_dart2js', |
20 'inputs': [ | 20 'inputs': [ |
21 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 21 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
22 'build_helper.dart', | 22 'build_helper.dart', |
23 ], | 23 ], |
24 'outputs': [ | 24 'outputs': [ |
25 '<(PRODUCT_DIR)/dart2js', | 25 '<(PRODUCT_DIR)/dart2js', |
26 '<(PRODUCT_DIR)/dart2js.bat', | 26 '<(PRODUCT_DIR)/dart2js.bat', |
27 '<(PRODUCT_DIR)/dart2js_developer', | 27 '<(PRODUCT_DIR)/dart2js_developer', |
28 '<(PRODUCT_DIR)/dart2js_developer.bat', | 28 '<(PRODUCT_DIR)/dart2js_developer.bat', |
| 29 '<(PRODUCT_DIR)/dartdoc', |
| 30 '<(PRODUCT_DIR)/dartdoc.bat', |
29 ], | 31 ], |
30 'action': [ | 32 'action': [ |
31 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 33 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
32 '--enable-checked-mode', | 34 '--enable-checked-mode', |
33 'build_helper.dart', | 35 'build_helper.dart', |
34 # Note: it would seem more straight-forward to pass in | 36 # Note: it would seem more straight-forward to pass in |
35 # '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)'. | 37 # '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)'. |
36 # Unfortunately, there is some strange interaction with | 38 # Unfortunately, there is some strange interaction with |
37 # GYP so it doesn't work. | 39 # GYP so it doesn't work. |
38 '<(PRODUCT_DIR)', | 40 '<(PRODUCT_DIR)', |
39 '<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 41 '<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
40 'dart2js', | 42 'dart2js', |
41 'dart2js_developer', | 43 'dart2js_developer', |
| 44 'dartdoc', |
42 '<(dart_dir)', | 45 '<(dart_dir)', |
43 ], | 46 ], |
44 }, | 47 }, |
45 ], | 48 ], |
46 }, | 49 }, |
47 ], | 50 ], |
48 } | 51 } |
OLD | NEW |