| 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_dev_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_dev_gen.cc'
, | |
| 14 'math_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_gen.cc', | 13 'math_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_gen.cc', |
| 15 'math_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_patch_gen.cc', | 14 'math_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_patch_gen.cc', |
| 16 'mirrors_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.cc', | 15 'mirrors_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.cc', |
| 17 'mirrors_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_patch_gen.cc', | 16 'mirrors_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_patch_gen.cc', |
| 18 'isolate_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.cc', | 17 'isolate_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.cc', |
| 19 'isolate_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_patch_gen.cc', | 18 'isolate_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_patch_gen.cc', |
| 20 'scalarlist_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_gen.cc', | 19 'scalarlist_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_gen.cc', |
| 21 'scalarlist_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_patch_gen
.cc', | 20 'scalarlist_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_patch_gen
.cc', |
| 22 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat', | 21 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat', |
| 23 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', | 22 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 }, | 82 }, |
| 84 { | 83 { |
| 85 'target_name': 'libdart_lib_withcore', | 84 'target_name': 'libdart_lib_withcore', |
| 86 'type': 'static_library', | 85 'type': 'static_library', |
| 87 'dependencies': [ | 86 'dependencies': [ |
| 88 'generate_async_cc_file', | 87 'generate_async_cc_file', |
| 89 'generate_async_patch_cc_file', | 88 'generate_async_patch_cc_file', |
| 90 'generate_corelib_cc_file', | 89 'generate_corelib_cc_file', |
| 91 'generate_corelib_patch_cc_file', | 90 'generate_corelib_patch_cc_file', |
| 92 'generate_collection_cc_file', | 91 'generate_collection_cc_file', |
| 93 'generate_collection_dev_cc_file', | |
| 94 'generate_math_cc_file', | 92 'generate_math_cc_file', |
| 95 'generate_math_patch_cc_file', | 93 'generate_math_patch_cc_file', |
| 96 'generate_isolate_cc_file', | 94 'generate_isolate_cc_file', |
| 97 'generate_isolate_patch_cc_file', | 95 'generate_isolate_patch_cc_file', |
| 98 'generate_mirrors_cc_file', | 96 'generate_mirrors_cc_file', |
| 99 'generate_mirrors_patch_cc_file', | 97 'generate_mirrors_patch_cc_file', |
| 100 'generate_scalarlist_cc_file', | 98 'generate_scalarlist_cc_file', |
| 101 'generate_scalarlist_patch_cc_file', | 99 'generate_scalarlist_patch_cc_file', |
| 102 ], | 100 ], |
| 103 'includes': [ | 101 'includes': [ |
| 104 '../lib/async_sources.gypi', | 102 '../lib/async_sources.gypi', |
| 105 '../lib/lib_sources.gypi', | 103 '../lib/lib_sources.gypi', |
| 106 '../lib/isolate_sources.gypi', | 104 '../lib/isolate_sources.gypi', |
| 107 '../lib/math_sources.gypi', | 105 '../lib/math_sources.gypi', |
| 108 '../lib/mirrors_sources.gypi', | 106 '../lib/mirrors_sources.gypi', |
| 109 '../lib/scalarlist_sources.gypi', | 107 '../lib/scalarlist_sources.gypi', |
| 110 ], | 108 ], |
| 111 'sources': [ | 109 'sources': [ |
| 112 'bootstrap.cc', | 110 'bootstrap.cc', |
| 113 # Include generated source files. | 111 # Include generated source files. |
| 114 '<(async_cc_file)', | 112 '<(async_cc_file)', |
| 115 '<(async_patch_cc_file)', | 113 '<(async_patch_cc_file)', |
| 116 '<(corelib_cc_file)', | 114 '<(corelib_cc_file)', |
| 117 '<(corelib_patch_cc_file)', | 115 '<(corelib_patch_cc_file)', |
| 118 '<(collection_cc_file)', | 116 '<(collection_cc_file)', |
| 119 '<(collection_dev_cc_file)', | |
| 120 '<(math_cc_file)', | 117 '<(math_cc_file)', |
| 121 '<(math_patch_cc_file)', | 118 '<(math_patch_cc_file)', |
| 122 '<(isolate_cc_file)', | 119 '<(isolate_cc_file)', |
| 123 '<(isolate_patch_cc_file)', | 120 '<(isolate_patch_cc_file)', |
| 124 '<(mirrors_cc_file)', | 121 '<(mirrors_cc_file)', |
| 125 '<(mirrors_patch_cc_file)', | 122 '<(mirrors_patch_cc_file)', |
| 126 '<(scalarlist_cc_file)', | 123 '<(scalarlist_cc_file)', |
| 127 '<(scalarlist_patch_cc_file)', | 124 '<(scalarlist_patch_cc_file)', |
| 128 ], | 125 ], |
| 129 'include_dirs': [ | 126 'include_dirs': [ |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 '--input_cc', '<(builtin_in_cc_file)', | 346 '--input_cc', '<(builtin_in_cc_file)', |
| 350 '--include', 'vm/bootstrap.h', | 347 '--include', 'vm/bootstrap.h', |
| 351 '--var_name', 'dart::Bootstrap::collection_source_', | 348 '--var_name', 'dart::Bootstrap::collection_source_', |
| 352 '<(collection_dart)', | 349 '<(collection_dart)', |
| 353 ], | 350 ], |
| 354 'message': 'Generating ''<(collection_cc_file)'' file.' | 351 'message': 'Generating ''<(collection_cc_file)'' file.' |
| 355 }, | 352 }, |
| 356 ] | 353 ] |
| 357 }, | 354 }, |
| 358 { | 355 { |
| 359 'target_name': 'generate_collection_dev_cc_file', | |
| 360 'type': 'none', | |
| 361 'variables': { | |
| 362 'collection_dev_dart': '<(SHARED_INTERMEDIATE_DIR)/collection_dev_gen.da
rt', | |
| 363 }, | |
| 364 'includes': [ | |
| 365 # Load the shared collection_dev library sources. | |
| 366 '../../sdk/lib/collection_dev/collection_dev_sources.gypi', | |
| 367 ], | |
| 368 'sources/': [ | |
| 369 # Exclude all .[cc|h] files. | |
| 370 # This is only here for reference. Excludes happen after | |
| 371 # variable expansion, so the script has to do its own | |
| 372 # exclude processing of the sources being passed. | |
| 373 ['exclude', '\\.cc|h$'], | |
| 374 ], | |
| 375 'actions': [ | |
| 376 { | |
| 377 'action_name': 'generate_collection_dev_dart', | |
| 378 'inputs': [ | |
| 379 '../tools/concat_library.py', | |
| 380 '<@(_sources)', | |
| 381 ], | |
| 382 'outputs': [ | |
| 383 '<(collection_dev_dart)', | |
| 384 ], | |
| 385 'action': [ | |
| 386 'python', | |
| 387 '<@(_inputs)', | |
| 388 '--output', '<(collection_dev_dart)', | |
| 389 ], | |
| 390 'message': 'Generating ''<(collection_dev_dart)'' file.', | |
| 391 }, | |
| 392 { | |
| 393 'action_name': 'generate_collection_dev_cc', | |
| 394 'inputs': [ | |
| 395 '../tools/create_string_literal.py', | |
| 396 '<(builtin_in_cc_file)', | |
| 397 '<(collection_dev_dart)', | |
| 398 ], | |
| 399 'outputs': [ | |
| 400 '<(collection_dev_cc_file)', | |
| 401 ], | |
| 402 'action': [ | |
| 403 'python', | |
| 404 'tools/create_string_literal.py', | |
| 405 '--output', '<(collection_dev_cc_file)', | |
| 406 '--input_cc', '<(builtin_in_cc_file)', | |
| 407 '--include', 'vm/bootstrap.h', | |
| 408 '--var_name', 'dart::Bootstrap::collection_dev_source_', | |
| 409 '<(collection_dev_dart)', | |
| 410 ], | |
| 411 'message': 'Generating ''<(collection_dev_cc_file)'' file.' | |
| 412 }, | |
| 413 ] | |
| 414 }, | |
| 415 { | |
| 416 'target_name': 'generate_math_cc_file', | 356 'target_name': 'generate_math_cc_file', |
| 417 'type': 'none', | 357 'type': 'none', |
| 418 'variables': { | 358 'variables': { |
| 419 'math_dart': '<(SHARED_INTERMEDIATE_DIR)/math_gen.dart', | 359 'math_dart': '<(SHARED_INTERMEDIATE_DIR)/math_gen.dart', |
| 420 }, | 360 }, |
| 421 'includes': [ | 361 'includes': [ |
| 422 # Load the shared math library sources. | 362 # Load the shared math library sources. |
| 423 '../../sdk/lib/math/math_sources.gypi', | 363 '../../sdk/lib/math/math_sources.gypi', |
| 424 ], | 364 ], |
| 425 'sources/': [ | 365 'sources/': [ |
| (...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 852 '--include', 'INTENTIONALLY_LEFT_BLANK', | 792 '--include', 'INTENTIONALLY_LEFT_BLANK', |
| 853 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', | 793 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', |
| 854 '<(snapshot_test_dart_file)', | 794 '<(snapshot_test_dart_file)', |
| 855 ], | 795 ], |
| 856 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' | 796 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' |
| 857 }, | 797 }, |
| 858 ] | 798 ] |
| 859 }, | 799 }, |
| 860 ] | 800 ] |
| 861 } | 801 } |
| OLD | NEW |