Chromium Code Reviews| 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 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', | 7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', |
| 8 'libgen_in_cc_file': '../lib/libgen_in.cc', | 8 'libgen_in_cc_file': '../lib/libgen_in.cc', |
| 9 'builtin_in_cc_file': '../bin/builtin_in.cc', | 9 'builtin_in_cc_file': '../bin/builtin_in.cc', |
| 10 'async_cc_file': '<(gen_source_dir)/async_gen.cc', | 10 'async_cc_file': '<(gen_source_dir)/async_gen.cc', |
| 11 'async_patch_cc_file': '<(gen_source_dir)/async_patch_gen.cc', | 11 'async_patch_cc_file': '<(gen_source_dir)/async_patch_gen.cc', |
| 12 'corelib_cc_file': '<(gen_source_dir)/corelib_gen.cc', | 12 'corelib_cc_file': '<(gen_source_dir)/corelib_gen.cc', |
| 13 'corelib_patch_cc_file': '<(gen_source_dir)/corelib_patch_gen.cc', | 13 'corelib_patch_cc_file': '<(gen_source_dir)/corelib_patch_gen.cc', |
| 14 'collection_cc_file': '<(gen_source_dir)/collection_gen.cc', | 14 'collection_cc_file': '<(gen_source_dir)/collection_gen.cc', |
| 15 'collection_patch_cc_file': '<(gen_source_dir)/collection_patch_gen.cc', | 15 'collection_patch_cc_file': '<(gen_source_dir)/collection_patch_gen.cc', |
| 16 'collection_dev_cc_file': '<(gen_source_dir)/collection_dev_gen.cc', | 16 'internal_cc_file': '<(gen_source_dir)/internal_gen.cc', |
|
Ivan Posva
2014/01/14 23:35:32
s4d
Lasse Reichstein Nielsen
2014/01/15 09:27:42
SOrted below convert. (Although looking up that ab
| |
| 17 'collection_dev_patch_cc_file': '<(gen_source_dir)/collection_dev_patch_gen. cc', | 17 'internal_patch_cc_file': '<(gen_source_dir)/internal_patch_gen.cc', |
| 18 'convert_cc_file': '<(gen_source_dir)/convert_gen.cc', | 18 'convert_cc_file': '<(gen_source_dir)/convert_gen.cc', |
| 19 'convert_patch_cc_file': '<(gen_source_dir)/convert_patch_gen.cc', | 19 'convert_patch_cc_file': '<(gen_source_dir)/convert_patch_gen.cc', |
| 20 'math_cc_file': '<(gen_source_dir)/math_gen.cc', | 20 'math_cc_file': '<(gen_source_dir)/math_gen.cc', |
| 21 'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc', | 21 'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc', |
| 22 'mirrors_cc_file': '<(gen_source_dir)/mirrors_gen.cc', | 22 'mirrors_cc_file': '<(gen_source_dir)/mirrors_gen.cc', |
| 23 'mirrors_patch_cc_file': '<(gen_source_dir)/mirrors_patch_gen.cc', | 23 'mirrors_patch_cc_file': '<(gen_source_dir)/mirrors_patch_gen.cc', |
| 24 'isolate_cc_file': '<(gen_source_dir)/isolate_gen.cc', | 24 'isolate_cc_file': '<(gen_source_dir)/isolate_gen.cc', |
| 25 'isolate_patch_cc_file': '<(gen_source_dir)/isolate_patch_gen.cc', | 25 'isolate_patch_cc_file': '<(gen_source_dir)/isolate_patch_gen.cc', |
| 26 'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc', | 26 'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc', |
| 27 'typed_data_patch_cc_file': '<(gen_source_dir)/typed_data_patch_gen.cc', | 27 'typed_data_patch_cc_file': '<(gen_source_dir)/typed_data_patch_gen.cc', |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 84 'target_name': 'libdart_lib_withcore', | 84 'target_name': 'libdart_lib_withcore', |
| 85 'type': 'static_library', | 85 'type': 'static_library', |
| 86 'toolsets':['host', 'target'], | 86 'toolsets':['host', 'target'], |
| 87 'dependencies': [ | 87 'dependencies': [ |
| 88 'generate_async_cc_file#host', | 88 'generate_async_cc_file#host', |
| 89 'generate_async_patch_cc_file#host', | 89 'generate_async_patch_cc_file#host', |
| 90 'generate_corelib_cc_file#host', | 90 'generate_corelib_cc_file#host', |
| 91 'generate_corelib_patch_cc_file#host', | 91 'generate_corelib_patch_cc_file#host', |
| 92 'generate_collection_cc_file#host', | 92 'generate_collection_cc_file#host', |
| 93 'generate_collection_patch_cc_file#host', | 93 'generate_collection_patch_cc_file#host', |
| 94 'generate_collection_dev_cc_file#host', | 94 'generate_internal_cc_file#host', |
|
Ivan Posva
2014/01/14 23:35:32
ditto
Lasse Reichstein Nielsen
2014/01/15 09:27:42
Done.
| |
| 95 'generate_collection_dev_patch_cc_file#host', | 95 'generate_internal_patch_cc_file#host', |
| 96 'generate_convert_cc_file#host', | 96 'generate_convert_cc_file#host', |
| 97 'generate_convert_patch_cc_file#host', | 97 'generate_convert_patch_cc_file#host', |
| 98 'generate_math_cc_file#host', | 98 'generate_math_cc_file#host', |
| 99 'generate_math_patch_cc_file#host', | 99 'generate_math_patch_cc_file#host', |
| 100 'generate_isolate_cc_file#host', | 100 'generate_isolate_cc_file#host', |
| 101 'generate_isolate_patch_cc_file#host', | 101 'generate_isolate_patch_cc_file#host', |
| 102 'generate_mirrors_cc_file#host', | 102 'generate_mirrors_cc_file#host', |
| 103 'generate_mirrors_patch_cc_file#host', | 103 'generate_mirrors_patch_cc_file#host', |
| 104 'generate_typed_data_cc_file#host', | 104 'generate_typed_data_cc_file#host', |
| 105 'generate_typed_data_patch_cc_file#host', | 105 'generate_typed_data_patch_cc_file#host', |
| 106 ], | 106 ], |
| 107 'includes': [ | 107 'includes': [ |
| 108 '../lib/async_sources.gypi', | 108 '../lib/async_sources.gypi', |
| 109 '../lib/collection_sources.gypi', | 109 '../lib/collection_sources.gypi', |
| 110 '../lib/corelib_sources.gypi', | 110 '../lib/corelib_sources.gypi', |
| 111 '../lib/isolate_sources.gypi', | 111 '../lib/isolate_sources.gypi', |
| 112 '../lib/math_sources.gypi', | 112 '../lib/math_sources.gypi', |
| 113 '../lib/mirrors_sources.gypi', | 113 '../lib/mirrors_sources.gypi', |
| 114 '../lib/typed_data_sources.gypi', | 114 '../lib/typed_data_sources.gypi', |
| 115 ], | 115 ], |
| 116 'sources': [ | 116 'sources': [ |
| 117 'bootstrap.cc', | 117 'bootstrap.cc', |
| 118 # Include generated source files. | 118 # Include generated source files. |
| 119 '<(async_cc_file)', | 119 '<(async_cc_file)', |
| 120 '<(async_patch_cc_file)', | 120 '<(async_patch_cc_file)', |
| 121 '<(corelib_cc_file)', | 121 '<(corelib_cc_file)', |
| 122 '<(corelib_patch_cc_file)', | 122 '<(corelib_patch_cc_file)', |
| 123 '<(collection_cc_file)', | 123 '<(collection_cc_file)', |
| 124 '<(collection_patch_cc_file)', | 124 '<(collection_patch_cc_file)', |
| 125 '<(collection_dev_cc_file)', | 125 '<(internal_cc_file)', |
|
Ivan Posva
2014/01/14 23:35:32
ditto
Lasse Reichstein Nielsen
2014/01/15 09:27:42
Done.
| |
| 126 '<(collection_dev_patch_cc_file)', | 126 '<(internal_patch_cc_file)', |
| 127 '<(convert_cc_file)', | 127 '<(convert_cc_file)', |
| 128 '<(convert_patch_cc_file)', | 128 '<(convert_patch_cc_file)', |
| 129 '<(math_cc_file)', | 129 '<(math_cc_file)', |
| 130 '<(math_patch_cc_file)', | 130 '<(math_patch_cc_file)', |
| 131 '<(isolate_cc_file)', | 131 '<(isolate_cc_file)', |
| 132 '<(isolate_patch_cc_file)', | 132 '<(isolate_patch_cc_file)', |
| 133 '<(mirrors_cc_file)', | 133 '<(mirrors_cc_file)', |
| 134 '<(mirrors_patch_cc_file)', | 134 '<(mirrors_patch_cc_file)', |
| 135 '<(typed_data_cc_file)', | 135 '<(typed_data_cc_file)', |
| 136 '<(typed_data_patch_cc_file)', | 136 '<(typed_data_patch_cc_file)', |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 311 '--input_cc', '<(libgen_in_cc_file)', | 311 '--input_cc', '<(libgen_in_cc_file)', |
| 312 '--include', 'vm/bootstrap.h', | 312 '--include', 'vm/bootstrap.h', |
| 313 '--var_name', 'dart::Bootstrap::collection_source_paths_', | 313 '--var_name', 'dart::Bootstrap::collection_source_paths_', |
| 314 '--library_name', 'dart:collection', | 314 '--library_name', 'dart:collection', |
| 315 '<@(_sources)', | 315 '<@(_sources)', |
| 316 ], | 316 ], |
| 317 'message': 'Generating ''<(collection_cc_file)'' file.' | 317 'message': 'Generating ''<(collection_cc_file)'' file.' |
| 318 }, | 318 }, |
| 319 ] | 319 ] |
| 320 }, | 320 }, |
| 321 { | 321 { |
|
Ivan Posva
2014/01/14 23:35:32
These blocks are also sorted.
Lasse Reichstein Nielsen
2014/01/15 09:27:42
I sorted all the library and patch blocks. They ne
| |
| 322 'target_name': 'generate_collection_dev_patch_cc_file', | 322 'target_name': 'generate_internal_patch_cc_file', |
| 323 'type': 'none', | 323 'type': 'none', |
| 324 'toolsets':['host'], | 324 'toolsets':['host'], |
| 325 'includes': [ | 325 'includes': [ |
| 326 # Load the runtime implementation sources. | 326 # Load the runtime implementation sources. |
| 327 '../lib/collection_dev_sources.gypi', | 327 '../lib/internal_sources.gypi', |
| 328 ], | 328 ], |
| 329 'sources/': [ | 329 'sources/': [ |
| 330 # Exclude all .[cc|h] files. | 330 # Exclude all .[cc|h] files. |
| 331 # This is only here for reference. Excludes happen after | 331 # This is only here for reference. Excludes happen after |
| 332 # variable expansion, so the script has to do its own | 332 # variable expansion, so the script has to do its own |
| 333 # exclude processing of the sources being passed. | 333 # exclude processing of the sources being passed. |
| 334 ['exclude', '\\.cc|h$'], | 334 ['exclude', '\\.cc|h$'], |
| 335 ], | 335 ], |
| 336 'actions': [ | 336 'actions': [ |
| 337 { | 337 { |
| 338 'action_name': 'generate_collection_dev_patch_cc', | 338 'action_name': 'generate_internal_patch_cc', |
| 339 'inputs': [ | 339 'inputs': [ |
| 340 '../tools/gen_library_src_paths.py', | 340 '../tools/gen_library_src_paths.py', |
| 341 '<(libgen_in_cc_file)', | 341 '<(libgen_in_cc_file)', |
| 342 '<@(_sources)', | 342 '<@(_sources)', |
| 343 ], | 343 ], |
| 344 'outputs': [ | 344 'outputs': [ |
| 345 '<(collection_dev_patch_cc_file)', | 345 '<(internal_patch_cc_file)', |
| 346 ], | 346 ], |
| 347 'action': [ | 347 'action': [ |
| 348 'python', | 348 'python', |
| 349 'tools/gen_library_src_paths.py', | 349 'tools/gen_library_src_paths.py', |
| 350 '--output', '<(collection_dev_patch_cc_file)', | 350 '--output', '<(internal_patch_cc_file)', |
| 351 '--input_cc', '<(libgen_in_cc_file)', | 351 '--input_cc', '<(libgen_in_cc_file)', |
| 352 '--include', 'vm/bootstrap.h', | 352 '--include', 'vm/bootstrap.h', |
| 353 '--var_name', 'dart::Bootstrap::collection_dev_patch_paths_', | 353 '--var_name', 'dart::Bootstrap::internal_patch_paths_', |
| 354 '--library_name', 'dart:_collection-dev', | 354 '--library_name', 'dart:_internal', |
| 355 '<@(_sources)', | 355 '<@(_sources)', |
| 356 ], | 356 ], |
| 357 'message': 'Generating ''<(collection_dev_patch_cc_file)'' file.' | 357 'message': 'Generating ''<(internal_patch_cc_file)'' file.' |
| 358 }, | 358 }, |
| 359 ] | 359 ] |
| 360 }, | 360 }, |
| 361 { | 361 { |
| 362 'target_name': 'generate_collection_dev_cc_file', | 362 'target_name': 'generate_internal_cc_file', |
| 363 'type': 'none', | 363 'type': 'none', |
| 364 'toolsets':['host'], | 364 'toolsets':['host'], |
| 365 'includes': [ | 365 'includes': [ |
| 366 # Load the shared collection_dev library sources. | 366 # Load the shared internal library sources. |
| 367 '../../sdk/lib/_collection_dev/collection_dev_sources.gypi', | 367 '../../sdk/lib/internal/internal_sources.gypi', |
| 368 ], | 368 ], |
| 369 'sources/': [ | 369 'sources/': [ |
| 370 # Exclude all .[cc|h] files. | 370 # Exclude all .[cc|h] files. |
| 371 # This is only here for reference. Excludes happen after | 371 # This is only here for reference. Excludes happen after |
| 372 # variable expansion, so the script has to do its own | 372 # variable expansion, so the script has to do its own |
| 373 # exclude processing of the sources being passed. | 373 # exclude processing of the sources being passed. |
| 374 ['exclude', '\\.cc|h$'], | 374 ['exclude', '\\.cc|h$'], |
| 375 ], | 375 ], |
| 376 'actions': [ | 376 'actions': [ |
| 377 { | 377 { |
| 378 'action_name': 'generate_collection_dev_cc', | 378 'action_name': 'generate_internal_cc', |
| 379 'inputs': [ | 379 'inputs': [ |
| 380 '../tools/gen_library_src_paths.py', | 380 '../tools/gen_library_src_paths.py', |
| 381 '<(libgen_in_cc_file)', | 381 '<(libgen_in_cc_file)', |
| 382 '<@(_sources)', | 382 '<@(_sources)', |
| 383 ], | 383 ], |
| 384 'outputs': [ | 384 'outputs': [ |
| 385 '<(collection_dev_cc_file)', | 385 '<(internal_cc_file)', |
| 386 ], | 386 ], |
| 387 'action': [ | 387 'action': [ |
| 388 'python', | 388 'python', |
| 389 'tools/gen_library_src_paths.py', | 389 'tools/gen_library_src_paths.py', |
| 390 '--output', '<(collection_dev_cc_file)', | 390 '--output', '<(internal_cc_file)', |
| 391 '--input_cc', '<(libgen_in_cc_file)', | 391 '--input_cc', '<(libgen_in_cc_file)', |
| 392 '--include', 'vm/bootstrap.h', | 392 '--include', 'vm/bootstrap.h', |
| 393 '--var_name', 'dart::Bootstrap::collection_dev_source_paths_', | 393 '--var_name', 'dart::Bootstrap::internal_source_paths_', |
| 394 '--library_name', 'dart:_collection-dev', | 394 '--library_name', 'dart:_internal', |
| 395 '<@(_sources)', | 395 '<@(_sources)', |
| 396 ], | 396 ], |
| 397 'message': 'Generating ''<(collection_dev_cc_file)'' file.' | 397 'message': 'Generating ''<(internal_cc_file)'' file.' |
| 398 }, | 398 }, |
| 399 ] | 399 ] |
| 400 }, | 400 }, |
| 401 { | 401 { |
| 402 'target_name': 'generate_convert_cc_file', | 402 'target_name': 'generate_convert_cc_file', |
| 403 'type': 'none', | 403 'type': 'none', |
| 404 'toolsets':['host'], | 404 'toolsets':['host'], |
| 405 'includes': [ | 405 'includes': [ |
| 406 # Load the shared convert library sources. | 406 # Load the shared convert library sources. |
| 407 '../../sdk/lib/convert/convert_sources.gypi', | 407 '../../sdk/lib/convert/convert_sources.gypi', |
| (...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 901 '--include', 'INTENTIONALLY_LEFT_BLANK', | 901 '--include', 'INTENTIONALLY_LEFT_BLANK', |
| 902 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', | 902 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', |
| 903 '<(snapshot_test_dart_file)', | 903 '<(snapshot_test_dart_file)', |
| 904 ], | 904 ], |
| 905 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' | 905 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' |
| 906 }, | 906 }, |
| 907 ] | 907 ] |
| 908 }, | 908 }, |
| 909 ] | 909 ] |
| 910 } | 910 } |
| OLD | NEW |