| 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'
, |
| 13 'math_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_gen.cc', | 14 'math_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_gen.cc', |
| 14 'math_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_patch_gen.cc', | 15 'math_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_patch_gen.cc', |
| 15 'mirrors_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.cc', | 16 'mirrors_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.cc', |
| 16 'mirrors_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_patch_gen.cc', | 17 'mirrors_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_patch_gen.cc', |
| 17 'isolate_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.cc', | 18 'isolate_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.cc', |
| 18 'isolate_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_patch_gen.cc', | 19 'isolate_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_patch_gen.cc', |
| 19 'scalarlist_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_gen.cc', | 20 'scalarlist_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_gen.cc', |
| 20 'scalarlist_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_patch_gen
.cc', | 21 'scalarlist_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_patch_gen
.cc', |
| 21 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat', | 22 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat', |
| 22 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', | 23 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 }, | 83 }, |
| 83 { | 84 { |
| 84 'target_name': 'libdart_lib_withcore', | 85 'target_name': 'libdart_lib_withcore', |
| 85 'type': 'static_library', | 86 'type': 'static_library', |
| 86 'dependencies': [ | 87 'dependencies': [ |
| 87 'generate_async_cc_file', | 88 'generate_async_cc_file', |
| 88 'generate_async_patch_cc_file', | 89 'generate_async_patch_cc_file', |
| 89 'generate_corelib_cc_file', | 90 'generate_corelib_cc_file', |
| 90 'generate_corelib_patch_cc_file', | 91 'generate_corelib_patch_cc_file', |
| 91 'generate_collection_cc_file', | 92 'generate_collection_cc_file', |
| 93 'generate_collection_dev_cc_file', |
| 92 'generate_math_cc_file', | 94 'generate_math_cc_file', |
| 93 'generate_math_patch_cc_file', | 95 'generate_math_patch_cc_file', |
| 94 'generate_isolate_cc_file', | 96 'generate_isolate_cc_file', |
| 95 'generate_isolate_patch_cc_file', | 97 'generate_isolate_patch_cc_file', |
| 96 'generate_mirrors_cc_file', | 98 'generate_mirrors_cc_file', |
| 97 'generate_mirrors_patch_cc_file', | 99 'generate_mirrors_patch_cc_file', |
| 98 'generate_scalarlist_cc_file', | 100 'generate_scalarlist_cc_file', |
| 99 'generate_scalarlist_patch_cc_file', | 101 'generate_scalarlist_patch_cc_file', |
| 100 ], | 102 ], |
| 101 'includes': [ | 103 'includes': [ |
| 102 '../lib/async_sources.gypi', | 104 '../lib/async_sources.gypi', |
| 103 '../lib/lib_sources.gypi', | 105 '../lib/lib_sources.gypi', |
| 104 '../lib/isolate_sources.gypi', | 106 '../lib/isolate_sources.gypi', |
| 105 '../lib/math_sources.gypi', | 107 '../lib/math_sources.gypi', |
| 106 '../lib/mirrors_sources.gypi', | 108 '../lib/mirrors_sources.gypi', |
| 107 '../lib/scalarlist_sources.gypi', | 109 '../lib/scalarlist_sources.gypi', |
| 108 ], | 110 ], |
| 109 'sources': [ | 111 'sources': [ |
| 110 'bootstrap.cc', | 112 'bootstrap.cc', |
| 111 # Include generated source files. | 113 # Include generated source files. |
| 112 '<(async_cc_file)', | 114 '<(async_cc_file)', |
| 113 '<(async_patch_cc_file)', | 115 '<(async_patch_cc_file)', |
| 114 '<(corelib_cc_file)', | 116 '<(corelib_cc_file)', |
| 115 '<(corelib_patch_cc_file)', | 117 '<(corelib_patch_cc_file)', |
| 116 '<(collection_cc_file)', | 118 '<(collection_cc_file)', |
| 119 '<(collection_dev_cc_file)', |
| 117 '<(math_cc_file)', | 120 '<(math_cc_file)', |
| 118 '<(math_patch_cc_file)', | 121 '<(math_patch_cc_file)', |
| 119 '<(isolate_cc_file)', | 122 '<(isolate_cc_file)', |
| 120 '<(isolate_patch_cc_file)', | 123 '<(isolate_patch_cc_file)', |
| 121 '<(mirrors_cc_file)', | 124 '<(mirrors_cc_file)', |
| 122 '<(mirrors_patch_cc_file)', | 125 '<(mirrors_patch_cc_file)', |
| 123 '<(scalarlist_cc_file)', | 126 '<(scalarlist_cc_file)', |
| 124 '<(scalarlist_patch_cc_file)', | 127 '<(scalarlist_patch_cc_file)', |
| 125 ], | 128 ], |
| 126 'include_dirs': [ | 129 'include_dirs': [ |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 '--input_cc', '<(builtin_in_cc_file)', | 349 '--input_cc', '<(builtin_in_cc_file)', |
| 347 '--include', 'vm/bootstrap.h', | 350 '--include', 'vm/bootstrap.h', |
| 348 '--var_name', 'dart::Bootstrap::collection_source_', | 351 '--var_name', 'dart::Bootstrap::collection_source_', |
| 349 '<(collection_dart)', | 352 '<(collection_dart)', |
| 350 ], | 353 ], |
| 351 'message': 'Generating ''<(collection_cc_file)'' file.' | 354 'message': 'Generating ''<(collection_cc_file)'' file.' |
| 352 }, | 355 }, |
| 353 ] | 356 ] |
| 354 }, | 357 }, |
| 355 { | 358 { |
| 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 { |
| 356 'target_name': 'generate_math_cc_file', | 416 'target_name': 'generate_math_cc_file', |
| 357 'type': 'none', | 417 'type': 'none', |
| 358 'variables': { | 418 'variables': { |
| 359 'math_dart': '<(SHARED_INTERMEDIATE_DIR)/math_gen.dart', | 419 'math_dart': '<(SHARED_INTERMEDIATE_DIR)/math_gen.dart', |
| 360 }, | 420 }, |
| 361 'includes': [ | 421 'includes': [ |
| 362 # Load the shared math library sources. | 422 # Load the shared math library sources. |
| 363 '../../sdk/lib/math/math_sources.gypi', | 423 '../../sdk/lib/math/math_sources.gypi', |
| 364 ], | 424 ], |
| 365 'sources/': [ | 425 'sources/': [ |
| (...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 792 '--include', 'INTENTIONALLY_LEFT_BLANK', | 852 '--include', 'INTENTIONALLY_LEFT_BLANK', |
| 793 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', | 853 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', |
| 794 '<(snapshot_test_dart_file)', | 854 '<(snapshot_test_dart_file)', |
| 795 ], | 855 ], |
| 796 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' | 856 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' |
| 797 }, | 857 }, |
| 798 ] | 858 ] |
| 799 }, | 859 }, |
| 800 ] | 860 ] |
| 801 } | 861 } |
| OLD | NEW |