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 '../../pkg/pkg.gyp:pkg_packages', | |
kustermann
2013/06/06 09:56:11
Shouldn't we add this to dart.gyp? i.e.
115 {
ahe
2013/06/06 09:56:32
You need to modify inputs below as well.
ricow1
2013/06/06 14:51:38
That will not work as discussed offline
ricow1
2013/06/06 14:51:38
Done
| |
15 ], | 16 ], |
16 'actions': [ | 17 'actions': [ |
17 { | 18 { |
18 'action_name': 'generate_dart2js_snapshot', | 19 'action_name': 'generate_dart2js_snapshot', |
19 'inputs': [ | 20 'inputs': [ |
20 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 21 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
21 '../../sdk/lib/_internal/libraries.dart', | 22 '../../sdk/lib/_internal/libraries.dart', |
22 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/ lib/_internal/compiler", "../../runtime/lib", "../../sdk/lib/_internal/dartdoc"] )', | 23 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/ lib/_internal/compiler", "../../runtime/lib", "../../sdk/lib/_internal/dartdoc"] )', |
23 'create_snapshot.dart', | 24 'create_snapshot.dart', |
24 ], | 25 ], |
25 'outputs': [ | 26 'outputs': [ |
26 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', | 27 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', |
27 ], | 28 ], |
28 'action': [ | 29 'action': [ |
29 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 30 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
30 'create_snapshot.dart', | 31 'create_snapshot.dart', |
31 '--output_dir=<(SHARED_INTERMEDIATE_DIR)', | 32 '--output_dir=<(SHARED_INTERMEDIATE_DIR)', |
32 '--dart2js_main=sdk/lib/_internal/compiler/implementation/dart2js.da rt', | 33 '--dart2js_main=sdk/lib/_internal/compiler/implementation/dart2js.da rt', |
33 '--dartdoc_main=sdk/lib/_internal/dartdoc/bin/dartdoc.dart', | 34 '--dartdoc_main=sdk/lib/_internal/dartdoc/bin/dartdoc.dart', |
34 '--package_root=<(PRODUCT_DIR)/packages/', | 35 '--package_root=<(PRODUCT_DIR)/packages/', |
35 ], | 36 ], |
36 }, | 37 }, |
37 ], | 38 ], |
38 }, | 39 }, |
39 ], | 40 ], |
40 } | 41 } |
OLD | NEW |