| 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 'corelib_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_gen.cc', | 8 'corelib_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_gen.cc', |
| 9 'corelib_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_patch_gen.cc', | 9 'corelib_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_patch_gen.cc', |
| 10 'corelib_impl_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_impl_gen.cc', | 10 'corelib_impl_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_impl_gen.cc', |
| 11 'corelib_impl_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_impl_patch
_gen.cc', | 11 'corelib_impl_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_impl_patch
_gen.cc', |
| 12 'collection_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_gen.cc', |
| 12 'math_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_gen.cc', | 13 'math_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_gen.cc', |
| 13 'math_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_patch_gen.cc', | 14 'math_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_patch_gen.cc', |
| 14 'mirrors_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.cc', | 15 'mirrors_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.cc', |
| 15 'mirrors_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_patch_gen.cc', | 16 'mirrors_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_patch_gen.cc', |
| 16 'isolate_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.cc', | 17 'isolate_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.cc', |
| 17 'isolate_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_patch_gen.cc', | 18 'isolate_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_patch_gen.cc', |
| 18 'scalarlist_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_gen.cc', | 19 'scalarlist_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_gen.cc', |
| 19 'scalarlist_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_patch_gen
.cc', | 20 'scalarlist_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_patch_gen
.cc', |
| 20 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat', | 21 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat', |
| 21 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', | 22 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 }]], | 62 }]], |
| 62 }, | 63 }, |
| 63 { | 64 { |
| 64 'target_name': 'libdart_lib_withcore', | 65 'target_name': 'libdart_lib_withcore', |
| 65 'type': 'static_library', | 66 'type': 'static_library', |
| 66 'dependencies': [ | 67 'dependencies': [ |
| 67 'generate_corelib_cc_file', | 68 'generate_corelib_cc_file', |
| 68 'generate_corelib_patch_cc_file', | 69 'generate_corelib_patch_cc_file', |
| 69 'generate_corelib_impl_cc_file', | 70 'generate_corelib_impl_cc_file', |
| 70 'generate_corelib_impl_patch_cc_file', | 71 'generate_corelib_impl_patch_cc_file', |
| 72 'generate_collection_cc_file', |
| 71 'generate_math_cc_file', | 73 'generate_math_cc_file', |
| 72 'generate_math_patch_cc_file', | 74 'generate_math_patch_cc_file', |
| 73 'generate_isolate_cc_file', | 75 'generate_isolate_cc_file', |
| 74 'generate_isolate_patch_cc_file', | 76 'generate_isolate_patch_cc_file', |
| 75 'generate_mirrors_cc_file', | 77 'generate_mirrors_cc_file', |
| 76 'generate_mirrors_patch_cc_file', | 78 'generate_mirrors_patch_cc_file', |
| 77 'generate_scalarlist_cc_file', | 79 'generate_scalarlist_cc_file', |
| 78 'generate_scalarlist_patch_cc_file', | 80 'generate_scalarlist_patch_cc_file', |
| 79 ], | 81 ], |
| 80 'includes': [ | 82 'includes': [ |
| 81 '../lib/lib_sources.gypi', | 83 '../lib/lib_sources.gypi', |
| 82 '../lib/lib_impl_sources.gypi', | 84 '../lib/lib_impl_sources.gypi', |
| 83 '../lib/isolate_sources.gypi', | 85 '../lib/isolate_sources.gypi', |
| 84 '../lib/mirrors_sources.gypi', | 86 '../lib/mirrors_sources.gypi', |
| 85 '../lib/scalarlist_sources.gypi', | 87 '../lib/scalarlist_sources.gypi', |
| 86 ], | 88 ], |
| 87 'sources': [ | 89 'sources': [ |
| 88 'bootstrap.cc', | 90 'bootstrap.cc', |
| 89 # Include generated source files. | 91 # Include generated source files. |
| 90 '<(corelib_cc_file)', | 92 '<(corelib_cc_file)', |
| 91 '<(corelib_patch_cc_file)', | 93 '<(corelib_patch_cc_file)', |
| 92 '<(corelib_impl_cc_file)', | 94 '<(corelib_impl_cc_file)', |
| 93 '<(corelib_impl_patch_cc_file)', | 95 '<(corelib_impl_patch_cc_file)', |
| 96 '<(collection_cc_file)', |
| 94 '<(math_cc_file)', | 97 '<(math_cc_file)', |
| 95 '<(math_patch_cc_file)', | 98 '<(math_patch_cc_file)', |
| 96 '<(isolate_cc_file)', | 99 '<(isolate_cc_file)', |
| 97 '<(isolate_patch_cc_file)', | 100 '<(isolate_patch_cc_file)', |
| 98 '<(mirrors_cc_file)', | 101 '<(mirrors_cc_file)', |
| 99 '<(mirrors_patch_cc_file)', | 102 '<(mirrors_patch_cc_file)', |
| 100 '<(scalarlist_cc_file)', | 103 '<(scalarlist_cc_file)', |
| 101 '<(scalarlist_patch_cc_file)', | 104 '<(scalarlist_patch_cc_file)', |
| 102 ], | 105 ], |
| 103 'include_dirs': [ | 106 'include_dirs': [ |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 '--input_cc', '<(builtin_in_cc_file)', | 270 '--input_cc', '<(builtin_in_cc_file)', |
| 268 '--include', 'vm/bootstrap.h', | 271 '--include', 'vm/bootstrap.h', |
| 269 '--var_name', 'dart::Bootstrap::corelib_impl_patch_', | 272 '--var_name', 'dart::Bootstrap::corelib_impl_patch_', |
| 270 '<@(_sources)', | 273 '<@(_sources)', |
| 271 ], | 274 ], |
| 272 'message': 'Generating ''<(corelib_impl_patch_cc_file)'' file.' | 275 'message': 'Generating ''<(corelib_impl_patch_cc_file)'' file.' |
| 273 }, | 276 }, |
| 274 ] | 277 ] |
| 275 }, | 278 }, |
| 276 { | 279 { |
| 280 'target_name': 'generate_collection_cc_file', |
| 281 'type': 'none', |
| 282 'includes': [ |
| 283 # Load the shared collection library sources. |
| 284 '../../lib/collection/collection_sources.gypi', |
| 285 ], |
| 286 'sources/': [ |
| 287 # Exclude all .[cc|h] files. |
| 288 # This is only here for reference. Excludes happen after |
| 289 # variable expansion, so the script has to do its own |
| 290 # exclude processing of the sources being passed. |
| 291 ['exclude', '\\.cc|h$'], |
| 292 ], |
| 293 'actions': [ |
| 294 { |
| 295 'action_name': 'generate_collection_cc', |
| 296 'inputs': [ |
| 297 '../tools/create_string_literal.py', |
| 298 '<(builtin_in_cc_file)', |
| 299 '<@(_sources)', |
| 300 ], |
| 301 'outputs': [ |
| 302 '<(collection_cc_file)', |
| 303 ], |
| 304 'action': [ |
| 305 'python', |
| 306 'tools/create_string_literal.py', |
| 307 '--output', '<(collection_cc_file)', |
| 308 '--input_cc', '<(builtin_in_cc_file)', |
| 309 '--include', 'vm/bootstrap.h', |
| 310 '--var_name', 'dart::Bootstrap::collection_source_', |
| 311 '<@(_sources)', |
| 312 ], |
| 313 'message': 'Generating ''<(collection_cc_file)'' file.' |
| 314 }, |
| 315 ] |
| 316 }, |
| 317 { |
| 277 'target_name': 'generate_math_cc_file', | 318 'target_name': 'generate_math_cc_file', |
| 278 'type': 'none', | 319 'type': 'none', |
| 279 'includes': [ | 320 'includes': [ |
| 280 # Load the shared math library sources. | 321 # Load the shared math library sources. |
| 281 '../../lib/math/math_sources.gypi', | 322 '../../lib/math/math_sources.gypi', |
| 282 ], | 323 ], |
| 283 'sources/': [ | 324 'sources/': [ |
| 284 # Exclude all .[cc|h] files. | 325 # Exclude all .[cc|h] files. |
| 285 # This is only here for reference. Excludes happen after | 326 # This is only here for reference. Excludes happen after |
| 286 # variable expansion, so the script has to do its own | 327 # variable expansion, so the script has to do its own |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 599 '--include', 'INTENTIONALLY_LEFT_BLANK', | 640 '--include', 'INTENTIONALLY_LEFT_BLANK', |
| 600 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', | 641 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', |
| 601 '<(snapshot_test_dart_file)', | 642 '<(snapshot_test_dart_file)', |
| 602 ], | 643 ], |
| 603 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' | 644 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' |
| 604 }, | 645 }, |
| 605 ] | 646 ] |
| 606 }, | 647 }, |
| 607 ] | 648 ] |
| 608 } | 649 } |
| OLD | NEW |