| Index: runtime/vm/vm.gypi
|
| diff --git a/runtime/vm/vm.gypi b/runtime/vm/vm.gypi
|
| index df343752bfadf12d109c26748233b0067cae677c..6c887e75f43ddad74934ebac0a1e4a583f2fbe44 100644
|
| --- a/runtime/vm/vm.gypi
|
| +++ b/runtime/vm/vm.gypi
|
| @@ -10,6 +10,7 @@
|
| 'corelib_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_gen.cc',
|
| 'corelib_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_patch_gen.cc',
|
| 'collection_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_gen.cc',
|
| + 'collection_dev_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_dev_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',
|
| @@ -89,6 +90,7 @@
|
| 'generate_corelib_cc_file',
|
| 'generate_corelib_patch_cc_file',
|
| 'generate_collection_cc_file',
|
| + 'generate_collection_dev_cc_file',
|
| 'generate_math_cc_file',
|
| 'generate_math_patch_cc_file',
|
| 'generate_isolate_cc_file',
|
| @@ -114,6 +116,7 @@
|
| '<(corelib_cc_file)',
|
| '<(corelib_patch_cc_file)',
|
| '<(collection_cc_file)',
|
| + '<(collection_dev_cc_file)',
|
| '<(math_cc_file)',
|
| '<(math_patch_cc_file)',
|
| '<(isolate_cc_file)',
|
| @@ -353,6 +356,63 @@
|
| ]
|
| },
|
| {
|
| + 'target_name': 'generate_collection_dev_cc_file',
|
| + 'type': 'none',
|
| + 'variables': {
|
| + 'collection_dev_dart': '<(SHARED_INTERMEDIATE_DIR)/collection_dev_gen.dart',
|
| + },
|
| + 'includes': [
|
| + # Load the shared collection_dev library sources.
|
| + '../../sdk/lib/collection_dev/collection_dev_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_dev_dart',
|
| + 'inputs': [
|
| + '../tools/concat_library.py',
|
| + '<@(_sources)',
|
| + ],
|
| + 'outputs': [
|
| + '<(collection_dev_dart)',
|
| + ],
|
| + 'action': [
|
| + 'python',
|
| + '<@(_inputs)',
|
| + '--output', '<(collection_dev_dart)',
|
| + ],
|
| + 'message': 'Generating ''<(collection_dev_dart)'' file.',
|
| + },
|
| + {
|
| + 'action_name': 'generate_collection_dev_cc',
|
| + 'inputs': [
|
| + '../tools/create_string_literal.py',
|
| + '<(builtin_in_cc_file)',
|
| + '<(collection_dev_dart)',
|
| + ],
|
| + 'outputs': [
|
| + '<(collection_dev_cc_file)',
|
| + ],
|
| + 'action': [
|
| + 'python',
|
| + 'tools/create_string_literal.py',
|
| + '--output', '<(collection_dev_cc_file)',
|
| + '--input_cc', '<(builtin_in_cc_file)',
|
| + '--include', 'vm/bootstrap.h',
|
| + '--var_name', 'dart::Bootstrap::collection_dev_source_',
|
| + '<(collection_dev_dart)',
|
| + ],
|
| + 'message': 'Generating ''<(collection_dev_cc_file)'' file.'
|
| + },
|
| + ]
|
| + },
|
| + {
|
| 'target_name': 'generate_math_cc_file',
|
| 'type': 'none',
|
| 'variables': {
|
|
|