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 'builtin_in_cc_file': '../bin/builtin_in.cc', | 7 'builtin_in_cc_file': '../bin/builtin_in.cc', |
8 'async_cc_file': '<(SHARED_INTERMEDIATE_DIR)/async_gen.cc', | 8 'async_cc_file': '<(SHARED_INTERMEDIATE_DIR)/async_gen.cc', |
9 'async_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/async_patch_gen.cc', | 9 'async_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/async_patch_gen.cc', |
10 'corelib_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_gen.cc', | 10 'corelib_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_gen.cc', |
11 'corelib_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_patch_gen.cc', | 11 'corelib_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_patch_gen.cc', |
12 'collection_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_gen.cc', | 12 'collection_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_gen.cc', |
13 'collection_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_patch_gen
.cc', | 13 'collection_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_patch_gen
.cc', |
14 'collection_dev_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_dev_gen.cc'
, | 14 'collection_dev_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_dev_gen.cc'
, |
| 15 'collection_dev_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_dev_p
atch_gen.cc', |
15 'crypto_cc_file': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.cc', | 16 'crypto_cc_file': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.cc', |
16 'math_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_gen.cc', | 17 'math_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_gen.cc', |
17 'math_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_patch_gen.cc', | 18 'math_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_patch_gen.cc', |
18 'mirrors_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.cc', | 19 'mirrors_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.cc', |
19 'mirrors_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_patch_gen.cc', | 20 'mirrors_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_patch_gen.cc', |
20 'isolate_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.cc', | 21 'isolate_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.cc', |
21 'isolate_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_patch_gen.cc', | 22 'isolate_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_patch_gen.cc', |
22 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', | 23 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', |
23 'json_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_patch_gen.cc', | 24 'json_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_patch_gen.cc', |
24 'typeddata_cc_file': '<(SHARED_INTERMEDIATE_DIR)/typeddata_gen.cc', | 25 'typeddata_cc_file': '<(SHARED_INTERMEDIATE_DIR)/typeddata_gen.cc', |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 'target_name': 'libdart_lib_withcore', | 92 'target_name': 'libdart_lib_withcore', |
92 'type': 'static_library', | 93 'type': 'static_library', |
93 'dependencies': [ | 94 'dependencies': [ |
94 'generate_async_cc_file', | 95 'generate_async_cc_file', |
95 'generate_async_patch_cc_file', | 96 'generate_async_patch_cc_file', |
96 'generate_corelib_cc_file', | 97 'generate_corelib_cc_file', |
97 'generate_corelib_patch_cc_file', | 98 'generate_corelib_patch_cc_file', |
98 'generate_collection_cc_file', | 99 'generate_collection_cc_file', |
99 'generate_collection_patch_cc_file', | 100 'generate_collection_patch_cc_file', |
100 'generate_collection_dev_cc_file', | 101 'generate_collection_dev_cc_file', |
| 102 'generate_collection_dev_patch_cc_file', |
101 'generate_crypto_cc_file', | 103 'generate_crypto_cc_file', |
102 'generate_math_cc_file', | 104 'generate_math_cc_file', |
103 'generate_math_patch_cc_file', | 105 'generate_math_patch_cc_file', |
104 'generate_isolate_cc_file', | 106 'generate_isolate_cc_file', |
105 'generate_isolate_patch_cc_file', | 107 'generate_isolate_patch_cc_file', |
106 'generate_json_cc_file', | 108 'generate_json_cc_file', |
107 'generate_json_patch_cc_file', | 109 'generate_json_patch_cc_file', |
108 'generate_mirrors_cc_file', | 110 'generate_mirrors_cc_file', |
109 'generate_mirrors_patch_cc_file', | 111 'generate_mirrors_patch_cc_file', |
110 'generate_typeddata_cc_file', | 112 'generate_typeddata_cc_file', |
(...skipping 13 matching lines...) Expand all Loading... |
124 'sources': [ | 126 'sources': [ |
125 'bootstrap.cc', | 127 'bootstrap.cc', |
126 # Include generated source files. | 128 # Include generated source files. |
127 '<(async_cc_file)', | 129 '<(async_cc_file)', |
128 '<(async_patch_cc_file)', | 130 '<(async_patch_cc_file)', |
129 '<(corelib_cc_file)', | 131 '<(corelib_cc_file)', |
130 '<(corelib_patch_cc_file)', | 132 '<(corelib_patch_cc_file)', |
131 '<(collection_cc_file)', | 133 '<(collection_cc_file)', |
132 '<(collection_patch_cc_file)', | 134 '<(collection_patch_cc_file)', |
133 '<(collection_dev_cc_file)', | 135 '<(collection_dev_cc_file)', |
| 136 '<(collection_dev_patch_cc_file)', |
134 '<(crypto_cc_file)', | 137 '<(crypto_cc_file)', |
135 '<(math_cc_file)', | 138 '<(math_cc_file)', |
136 '<(math_patch_cc_file)', | 139 '<(math_patch_cc_file)', |
137 '<(isolate_cc_file)', | 140 '<(isolate_cc_file)', |
138 '<(isolate_patch_cc_file)', | 141 '<(isolate_patch_cc_file)', |
139 '<(json_cc_file)', | 142 '<(json_cc_file)', |
140 '<(json_patch_cc_file)', | 143 '<(json_patch_cc_file)', |
141 '<(mirrors_cc_file)', | 144 '<(mirrors_cc_file)', |
142 '<(mirrors_patch_cc_file)', | 145 '<(mirrors_patch_cc_file)', |
143 '<(typeddata_cc_file)', | 146 '<(typeddata_cc_file)', |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 '--input_cc', '<(builtin_in_cc_file)', | 372 '--input_cc', '<(builtin_in_cc_file)', |
370 '--include', 'vm/bootstrap.h', | 373 '--include', 'vm/bootstrap.h', |
371 '--var_name', 'dart::Bootstrap::collection_source_', | 374 '--var_name', 'dart::Bootstrap::collection_source_', |
372 '<(collection_dart)', | 375 '<(collection_dart)', |
373 ], | 376 ], |
374 'message': 'Generating ''<(collection_cc_file)'' file.' | 377 'message': 'Generating ''<(collection_cc_file)'' file.' |
375 }, | 378 }, |
376 ] | 379 ] |
377 }, | 380 }, |
378 { | 381 { |
| 382 'target_name': 'generate_collection_dev_patch_cc_file', |
| 383 'type': 'none', |
| 384 'includes': [ |
| 385 # Load the runtime implementation sources. |
| 386 '../lib/collection_dev_sources.gypi', |
| 387 ], |
| 388 'sources/': [ |
| 389 # Exclude all .[cc|h] files. |
| 390 # This is only here for reference. Excludes happen after |
| 391 # variable expansion, so the script has to do its own |
| 392 # exclude processing of the sources being passed. |
| 393 ['exclude', '\\.cc|h$'], |
| 394 ], |
| 395 'actions': [ |
| 396 { |
| 397 'action_name': 'generate_collection_dev_patch_cc', |
| 398 'inputs': [ |
| 399 '../tools/create_string_literal.py', |
| 400 '<(builtin_in_cc_file)', |
| 401 '<@(_sources)', |
| 402 ], |
| 403 'outputs': [ |
| 404 '<(collection_dev_patch_cc_file)', |
| 405 ], |
| 406 'action': [ |
| 407 'python', |
| 408 'tools/create_string_literal.py', |
| 409 '--output', '<(collection_dev_patch_cc_file)', |
| 410 '--input_cc', '<(builtin_in_cc_file)', |
| 411 '--include', 'vm/bootstrap.h', |
| 412 '--var_name', 'dart::Bootstrap::collection_dev_patch_', |
| 413 '<@(_sources)', |
| 414 ], |
| 415 'message': 'Generating ''<(collection_dev_patch_cc_file)'' file.' |
| 416 }, |
| 417 ] |
| 418 }, |
| 419 { |
379 'target_name': 'generate_collection_dev_cc_file', | 420 'target_name': 'generate_collection_dev_cc_file', |
380 'type': 'none', | 421 'type': 'none', |
381 'variables': { | 422 'variables': { |
382 'collection_dev_dart': '<(SHARED_INTERMEDIATE_DIR)/collection_dev_gen.da
rt', | 423 'collection_dev_dart': '<(SHARED_INTERMEDIATE_DIR)/collection_dev_gen.da
rt', |
383 }, | 424 }, |
384 'includes': [ | 425 'includes': [ |
385 # Load the shared collection_dev library sources. | 426 # Load the shared collection_dev library sources. |
386 '../../sdk/lib/_collection_dev/collection_dev_sources.gypi', | 427 '../../sdk/lib/_collection_dev/collection_dev_sources.gypi', |
387 ], | 428 ], |
388 'sources/': [ | 429 'sources/': [ |
(...skipping 759 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1148 '--include', 'INTENTIONALLY_LEFT_BLANK', | 1189 '--include', 'INTENTIONALLY_LEFT_BLANK', |
1149 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', | 1190 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', |
1150 '<(snapshot_test_dart_file)', | 1191 '<(snapshot_test_dart_file)', |
1151 ], | 1192 ], |
1152 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' | 1193 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' |
1153 }, | 1194 }, |
1154 ] | 1195 ] |
1155 }, | 1196 }, |
1156 ] | 1197 ] |
1157 } | 1198 } |
OLD | NEW |