| Index: runtime/vm/vm.gypi
|
| diff --git a/runtime/vm/vm.gypi b/runtime/vm/vm.gypi
|
| index 8b8776e08628b41e606d5568ef54003b496ef5b9..f84916fb7bceac7e091f19c81eabedcd883bf219 100644
|
| --- a/runtime/vm/vm.gypi
|
| +++ b/runtime/vm/vm.gypi
|
| @@ -9,6 +9,7 @@
|
| 'corelib_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_patch_gen.cc',
|
| 'corelib_impl_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_impl_gen.cc',
|
| 'corelib_impl_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_impl_patch_gen.cc',
|
| + 'collection_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_gen.cc',
|
| 'math_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_gen.cc',
|
| 'math_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_patch_gen.cc',
|
| 'mirrors_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.cc',
|
| @@ -68,6 +69,7 @@
|
| 'generate_corelib_patch_cc_file',
|
| 'generate_corelib_impl_cc_file',
|
| 'generate_corelib_impl_patch_cc_file',
|
| + 'generate_collection_cc_file',
|
| 'generate_math_cc_file',
|
| 'generate_math_patch_cc_file',
|
| 'generate_isolate_cc_file',
|
| @@ -91,6 +93,7 @@
|
| '<(corelib_patch_cc_file)',
|
| '<(corelib_impl_cc_file)',
|
| '<(corelib_impl_patch_cc_file)',
|
| + '<(collection_cc_file)',
|
| '<(math_cc_file)',
|
| '<(math_patch_cc_file)',
|
| '<(isolate_cc_file)',
|
| @@ -274,6 +277,44 @@
|
| ]
|
| },
|
| {
|
| + 'target_name': 'generate_collection_cc_file',
|
| + 'type': 'none',
|
| + 'includes': [
|
| + # Load the shared collection library sources.
|
| + '../../lib/collection/collection_sources.gypi',
|
| + ],
|
| + 'sources/': [
|
| + # Exclude all .[cc|h] files.
|
| + # This is only here for reference. Excludes happen after
|
| + # variable expansion, so the script has to do its own
|
| + # exclude processing of the sources being passed.
|
| + ['exclude', '\\.cc|h$'],
|
| + ],
|
| + 'actions': [
|
| + {
|
| + 'action_name': 'generate_collection_cc',
|
| + 'inputs': [
|
| + '../tools/create_string_literal.py',
|
| + '<(builtin_in_cc_file)',
|
| + '<@(_sources)',
|
| + ],
|
| + 'outputs': [
|
| + '<(collection_cc_file)',
|
| + ],
|
| + 'action': [
|
| + 'python',
|
| + 'tools/create_string_literal.py',
|
| + '--output', '<(collection_cc_file)',
|
| + '--input_cc', '<(builtin_in_cc_file)',
|
| + '--include', 'vm/bootstrap.h',
|
| + '--var_name', 'dart::Bootstrap::collection_source_',
|
| + '<@(_sources)',
|
| + ],
|
| + 'message': 'Generating ''<(collection_cc_file)'' file.'
|
| + },
|
| + ]
|
| + },
|
| + {
|
| 'target_name': 'generate_math_cc_file',
|
| 'type': 'none',
|
| 'includes': [
|
|
|