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 'dart2js_files_stamp', | 15 'dart2js_files_stamp', |
16 ], | 16 ], |
17 'actions': [ | 17 'actions': [ |
18 { | 18 { |
19 'action_name': 'generate_snapshots', | 19 'action_name': 'generate_snapshots', |
20 'inputs': [ | 20 'inputs': [ |
21 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 21 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
22 '../../sdk/lib/_internal/sdk_library_metadata/lib/libraries.dart', | 22 '../../sdk/lib/_internal/sdk_library_metadata/lib/libraries.dart', |
23 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../runt
ime/lib", "../../sdk/lib/_internal/dartdoc"])', | 23 '<!@(["python", "../../tools/list_files.py", "relative", ' |
| 24 '"\\.dart$", ' |
| 25 '"../../runtime/lib", ' |
| 26 '"../../sdk/lib/_internal/dartdoc"])', |
24 'create_snapshot.dart', | 27 'create_snapshot.dart', |
25 '<(SHARED_INTERMEDIATE_DIR)/dart2js_files.stamp', | 28 '<(SHARED_INTERMEDIATE_DIR)/dart2js_files.stamp', |
26 '../../tools/VERSION', | 29 '../../tools/VERSION', |
27 ], | 30 ], |
28 'outputs': [ | 31 'outputs': [ |
29 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', | 32 '<(SHARED_INTERMEDIATE_DIR)/utils_wrapper.dart.snapshot', |
30 '<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot', | 33 '<(SHARED_INTERMEDIATE_DIR)/dart2js.dart.snapshot', |
31 ], | 34 ], |
32 'action': [ | 35 'action': [ |
33 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 36 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
(...skipping 10 matching lines...) Expand all Loading... |
44 # This target lists all the files in pkg/compiler, | 47 # This target lists all the files in pkg/compiler, |
45 # and creates a single dart2js_files.stamp | 48 # and creates a single dart2js_files.stamp |
46 { | 49 { |
47 'target_name': 'dart2js_files_stamp', | 50 'target_name': 'dart2js_files_stamp', |
48 'type': 'none', | 51 'type': 'none', |
49 'actions': [ | 52 'actions': [ |
50 { | 53 { |
51 'action_name': 'make_dart2js_files_stamp', | 54 'action_name': 'make_dart2js_files_stamp', |
52 'inputs': [ | 55 'inputs': [ |
53 '../../tools/create_timestamp_file.py', | 56 '../../tools/create_timestamp_file.py', |
54 '<!@(["python", "../../tools/list_files.py", "\\.dart$",' | 57 '<!@(["python", "../../tools/list_files.py", "relative", ' |
| 58 '"\\.dart$", ' |
55 ' "../../pkg/compiler/lib"])', | 59 ' "../../pkg/compiler/lib"])', |
56 ], | 60 ], |
57 'outputs': [ | 61 'outputs': [ |
58 '<(SHARED_INTERMEDIATE_DIR)/dart2js_files.stamp', | 62 '<(SHARED_INTERMEDIATE_DIR)/dart2js_files.stamp', |
59 ], | 63 ], |
60 'action': [ | 64 'action': [ |
61 'python', '../../tools/create_timestamp_file.py', | 65 'python', '../../tools/create_timestamp_file.py', |
62 '<@(_outputs)', | 66 '<@(_outputs)', |
63 ], | 67 ], |
64 }, | 68 }, |
65 ], | 69 ], |
66 } | 70 } |
67 ], | 71 ], |
68 } | 72 } |
OLD | NEW |