| Index: runtime/vm/vm.gypi
|
| ===================================================================
|
| --- runtime/vm/vm.gypi (revision 18864)
|
| +++ runtime/vm/vm.gypi (working copy)
|
| @@ -11,14 +11,18 @@
|
| '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',
|
| + 'crypto_cc_file': '<(SHARED_INTERMEDIATE_DIR)/crypto_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',
|
| 'mirrors_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_patch_gen.cc',
|
| 'isolate_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.cc',
|
| 'isolate_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_patch_gen.cc',
|
| + 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc',
|
| 'scalarlist_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_gen.cc',
|
| 'scalarlist_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_patch_gen.cc',
|
| + 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc',
|
| + 'utf_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.cc',
|
| 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat',
|
| 'snapshot_test_in_dat_file': 'snapshot_test_in.dat',
|
| 'snapshot_test_dart_file': 'snapshot_test.dart',
|
| @@ -91,14 +95,18 @@
|
| 'generate_corelib_patch_cc_file',
|
| 'generate_collection_cc_file',
|
| 'generate_collection_dev_cc_file',
|
| + 'generate_crypto_cc_file',
|
| 'generate_math_cc_file',
|
| 'generate_math_patch_cc_file',
|
| 'generate_isolate_cc_file',
|
| 'generate_isolate_patch_cc_file',
|
| + 'generate_json_cc_file',
|
| 'generate_mirrors_cc_file',
|
| 'generate_mirrors_patch_cc_file',
|
| 'generate_scalarlist_cc_file',
|
| 'generate_scalarlist_patch_cc_file',
|
| + 'generate_uri_cc_file',
|
| + 'generate_utf_cc_file',
|
| ],
|
| 'includes': [
|
| '../lib/async_sources.gypi',
|
| @@ -117,14 +125,18 @@
|
| '<(corelib_patch_cc_file)',
|
| '<(collection_cc_file)',
|
| '<(collection_dev_cc_file)',
|
| + '<(crypto_cc_file)',
|
| '<(math_cc_file)',
|
| '<(math_patch_cc_file)',
|
| '<(isolate_cc_file)',
|
| '<(isolate_patch_cc_file)',
|
| + '<(json_cc_file)',
|
| '<(mirrors_cc_file)',
|
| '<(mirrors_patch_cc_file)',
|
| '<(scalarlist_cc_file)',
|
| '<(scalarlist_patch_cc_file)',
|
| + '<(uri_cc_file)',
|
| + '<(utf_cc_file)',
|
| ],
|
| 'include_dirs': [
|
| '..',
|
| @@ -413,6 +425,56 @@
|
| ]
|
| },
|
| {
|
| + 'target_name': 'generate_crypto_cc_file',
|
| + 'type': 'none',
|
| + 'variables': {
|
| + 'crypto_dart': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.dart',
|
| + },
|
| + 'includes': [
|
| + # Load the shared crypto sources.
|
| + '../../sdk/lib/crypto/crypto_sources.gypi',
|
| + ],
|
| + 'actions': [
|
| + {
|
| + 'action_name': 'generate_crypto_dart',
|
| + 'inputs': [
|
| + '../tools/concat_library.py',
|
| + '<@(_sources)',
|
| + ],
|
| + 'outputs': [
|
| + '<(crypto_dart)',
|
| + ],
|
| + 'action': [
|
| + 'python',
|
| + '<@(_inputs)',
|
| + '--output', '<(crypto_dart)',
|
| + ],
|
| + 'message': 'Generating ''<(crypto_dart)'' file.',
|
| + },
|
| + {
|
| + 'action_name': 'generate_crypto_cc',
|
| + 'inputs': [
|
| + '../tools/create_string_literal.py',
|
| + '<(builtin_in_cc_file)',
|
| + '<(crypto_dart)',
|
| + ],
|
| + 'outputs': [
|
| + '<(crypto_cc_file)',
|
| + ],
|
| + 'action': [
|
| + 'python',
|
| + 'tools/create_string_literal.py',
|
| + '--output', '<(crypto_cc_file)',
|
| + '--input_cc', '<(builtin_in_cc_file)',
|
| + '--include', 'vm/bootstrap.h',
|
| + '--var_name', 'dart::Bootstrap::crypto_source_',
|
| + '<(crypto_dart)',
|
| + ],
|
| + 'message': 'Generating ''<(crypto_cc_file)'' file.'
|
| + },
|
| + ]
|
| + },
|
| + {
|
| 'target_name': 'generate_math_cc_file',
|
| 'type': 'none',
|
| 'variables': {
|
| @@ -736,6 +798,56 @@
|
| ]
|
| },
|
| {
|
| + 'target_name': 'generate_json_cc_file',
|
| + 'type': 'none',
|
| + 'variables': {
|
| + 'json_dart': '<(SHARED_INTERMEDIATE_DIR)/json_gen.dart',
|
| + },
|
| + 'includes': [
|
| + # Load the shared json sources.
|
| + '../../sdk/lib/json/json_sources.gypi',
|
| + ],
|
| + 'actions': [
|
| + {
|
| + 'action_name': 'generate_json_dart',
|
| + 'inputs': [
|
| + '../tools/concat_library.py',
|
| + '<@(_sources)',
|
| + ],
|
| + 'outputs': [
|
| + '<(json_dart)',
|
| + ],
|
| + 'action': [
|
| + 'python',
|
| + '<@(_inputs)',
|
| + '--output', '<(json_dart)',
|
| + ],
|
| + 'message': 'Generating ''<(json_dart)'' file.',
|
| + },
|
| + {
|
| + 'action_name': 'generate_json_cc',
|
| + 'inputs': [
|
| + '../tools/create_string_literal.py',
|
| + '<(builtin_in_cc_file)',
|
| + '<(json_dart)',
|
| + ],
|
| + 'outputs': [
|
| + '<(json_cc_file)',
|
| + ],
|
| + 'action': [
|
| + 'python',
|
| + 'tools/create_string_literal.py',
|
| + '--output', '<(json_cc_file)',
|
| + '--input_cc', '<(builtin_in_cc_file)',
|
| + '--include', 'vm/bootstrap.h',
|
| + '--var_name', 'dart::Bootstrap::json_source_',
|
| + '<(json_dart)',
|
| + ],
|
| + 'message': 'Generating ''<(json_cc_file)'' file.'
|
| + },
|
| + ]
|
| + },
|
| + {
|
| 'target_name': 'generate_scalarlist_cc_file',
|
| 'type': 'none',
|
| 'variables': {
|
| @@ -831,6 +943,106 @@
|
| ]
|
| },
|
| {
|
| + 'target_name': 'generate_uri_cc_file',
|
| + 'type': 'none',
|
| + 'variables': {
|
| + 'uri_dart': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.dart',
|
| + },
|
| + 'includes': [
|
| + # Load the shared uri sources.
|
| + '../../sdk/lib/uri/uri_sources.gypi',
|
| + ],
|
| + 'actions': [
|
| + {
|
| + 'action_name': 'generate_uri_dart',
|
| + 'inputs': [
|
| + '../tools/concat_library.py',
|
| + '<@(_sources)',
|
| + ],
|
| + 'outputs': [
|
| + '<(uri_dart)',
|
| + ],
|
| + 'action': [
|
| + 'python',
|
| + '<@(_inputs)',
|
| + '--output', '<(uri_dart)',
|
| + ],
|
| + 'message': 'Generating ''<(uri_dart)'' file.'
|
| + },
|
| + {
|
| + 'action_name': 'generate_uri_cc',
|
| + 'inputs': [
|
| + '../tools/create_string_literal.py',
|
| + '<(builtin_in_cc_file)',
|
| + '<(uri_dart)',
|
| + ],
|
| + 'outputs': [
|
| + '<(uri_cc_file)',
|
| + ],
|
| + 'action': [
|
| + 'python',
|
| + 'tools/create_string_literal.py',
|
| + '--output', '<(uri_cc_file)',
|
| + '--input_cc', '<(builtin_in_cc_file)',
|
| + '--include', 'vm/bootstrap.h',
|
| + '--var_name', 'dart::Bootstrap::uri_source_',
|
| + '<(uri_dart)',
|
| + ],
|
| + 'message': 'Generating ''<(uri_cc_file)'' file.'
|
| + },
|
| + ]
|
| + },
|
| + {
|
| + 'target_name': 'generate_utf_cc_file',
|
| + 'type': 'none',
|
| + 'variables': {
|
| + 'utf_dart': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.dart',
|
| + },
|
| + 'includes': [
|
| + # Load the shared utf sources.
|
| + '../../sdk/lib/utf/utf_sources.gypi',
|
| + ],
|
| + 'actions': [
|
| + {
|
| + 'action_name': 'generate_utf_dart',
|
| + 'inputs': [
|
| + '../tools/concat_library.py',
|
| + '<@(_sources)',
|
| + ],
|
| + 'outputs': [
|
| + '<(utf_dart)',
|
| + ],
|
| + 'action': [
|
| + 'python',
|
| + '<@(_inputs)',
|
| + '--output', '<(utf_dart)',
|
| + ],
|
| + 'message': 'Generating ''<(utf_dart)'' file.',
|
| + },
|
| + {
|
| + 'action_name': 'generate_utf_cc',
|
| + 'inputs': [
|
| + '../tools/create_string_literal.py',
|
| + '<(builtin_in_cc_file)',
|
| + '<(utf_dart)',
|
| + ],
|
| + 'outputs': [
|
| + '<(utf_cc_file)',
|
| + ],
|
| + 'action': [
|
| + 'python',
|
| + 'tools/create_string_literal.py',
|
| + '--output', '<(utf_cc_file)',
|
| + '--input_cc', '<(builtin_in_cc_file)',
|
| + '--include', 'vm/bootstrap.h',
|
| + '--var_name', 'dart::Bootstrap::utf_source_',
|
| + '<(utf_dart)',
|
| + ],
|
| + 'message': 'Generating ''<(utf_cc_file)'' file.'
|
| + },
|
| + ]
|
| + },
|
| + {
|
| 'target_name': 'generate_snapshot_test_dat_file',
|
| 'type': 'none',
|
| 'actions': [
|
|
|