| 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 'gen_source_dir': '<(LIB_DIR)', | 7 'gen_source_dir': '<(LIB_DIR)', |
| 8 'builtin_in_cc_file': '../bin/builtin_in.cc', | 8 'builtin_in_cc_file': '../bin/builtin_in.cc', |
| 9 'async_cc_file': '<(gen_source_dir)/async_gen.cc', | 9 'async_cc_file': '<(gen_source_dir)/async_gen.cc', |
| 10 'async_patch_cc_file': '<(gen_source_dir)/async_patch_gen.cc', | 10 'async_patch_cc_file': '<(gen_source_dir)/async_patch_gen.cc', |
| 11 'corelib_cc_file': '<(gen_source_dir)/corelib_gen.cc', | 11 'corelib_cc_file': '<(gen_source_dir)/corelib_gen.cc', |
| 12 'corelib_patch_cc_file': '<(gen_source_dir)/corelib_patch_gen.cc', | 12 'corelib_patch_cc_file': '<(gen_source_dir)/corelib_patch_gen.cc', |
| 13 'collection_cc_file': '<(gen_source_dir)/collection_gen.cc', | 13 'collection_cc_file': '<(gen_source_dir)/collection_gen.cc', |
| 14 'collection_patch_cc_file': '<(gen_source_dir)/collection_patch_gen.cc', | 14 'collection_patch_cc_file': '<(gen_source_dir)/collection_patch_gen.cc', |
| 15 'collection_dev_cc_file': '<(gen_source_dir)/collection_dev_gen.cc', | 15 'collection_dev_cc_file': '<(gen_source_dir)/collection_dev_gen.cc', |
| 16 'collection_dev_patch_cc_file': '<(gen_source_dir)/collection_dev_patch_gen.
cc', | 16 'collection_dev_patch_cc_file': '<(gen_source_dir)/collection_dev_patch_gen.
cc', |
| 17 'crypto_cc_file': '<(gen_source_dir)/crypto_gen.cc', | 17 'crypto_cc_file': '<(gen_source_dir)/crypto_gen.cc', |
| 18 'math_cc_file': '<(gen_source_dir)/math_gen.cc', | 18 'math_cc_file': '<(gen_source_dir)/math_gen.cc', |
| 19 'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc', | 19 'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc', |
| 20 'mirrors_cc_file': '<(gen_source_dir)/mirrors_gen.cc', | 20 'mirrors_cc_file': '<(gen_source_dir)/mirrors_gen.cc', |
| 21 'mirrors_patch_cc_file': '<(gen_source_dir)/mirrors_patch_gen.cc', | 21 'mirrors_patch_cc_file': '<(gen_source_dir)/mirrors_patch_gen.cc', |
| 22 'isolate_cc_file': '<(gen_source_dir)/isolate_gen.cc', | 22 'isolate_cc_file': '<(gen_source_dir)/isolate_gen.cc', |
| 23 'isolate_patch_cc_file': '<(gen_source_dir)/isolate_patch_gen.cc', | 23 'isolate_patch_cc_file': '<(gen_source_dir)/isolate_patch_gen.cc', |
| 24 'json_cc_file': '<(gen_source_dir)/json_gen.cc', | 24 'json_cc_file': '<(gen_source_dir)/json_gen.cc', |
| 25 'json_patch_cc_file': '<(gen_source_dir)/json_patch_gen.cc', | 25 'json_patch_cc_file': '<(gen_source_dir)/json_patch_gen.cc', |
| 26 'typeddata_cc_file': '<(gen_source_dir)/typeddata_gen.cc', | 26 'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc', |
| 27 'typeddata_patch_cc_file': '<(gen_source_dir)/typeddata_patch_gen.cc', | 27 'typed_data_patch_cc_file': '<(gen_source_dir)/typed_data_patch_gen.cc', |
| 28 'uri_cc_file': '<(gen_source_dir)/uri_gen.cc', | 28 'uri_cc_file': '<(gen_source_dir)/uri_gen.cc', |
| 29 'utf_cc_file': '<(gen_source_dir)/utf_gen.cc', | 29 'utf_cc_file': '<(gen_source_dir)/utf_gen.cc', |
| 30 'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat', | 30 'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat', |
| 31 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', | 31 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', |
| 32 'snapshot_test_dart_file': 'snapshot_test.dart', | 32 'snapshot_test_dart_file': 'snapshot_test.dart', |
| 33 }, | 33 }, |
| 34 'targets': [ | 34 'targets': [ |
| 35 { | 35 { |
| 36 'target_name': 'libdart_vm', | 36 'target_name': 'libdart_vm', |
| 37 'type': 'static_library', | 37 'type': 'static_library', |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 'generate_collection_dev_patch_cc_file', | 105 'generate_collection_dev_patch_cc_file', |
| 106 'generate_crypto_cc_file', | 106 'generate_crypto_cc_file', |
| 107 'generate_math_cc_file', | 107 'generate_math_cc_file', |
| 108 'generate_math_patch_cc_file', | 108 'generate_math_patch_cc_file', |
| 109 'generate_isolate_cc_file', | 109 'generate_isolate_cc_file', |
| 110 'generate_isolate_patch_cc_file', | 110 'generate_isolate_patch_cc_file', |
| 111 'generate_json_cc_file', | 111 'generate_json_cc_file', |
| 112 'generate_json_patch_cc_file', | 112 'generate_json_patch_cc_file', |
| 113 'generate_mirrors_cc_file', | 113 'generate_mirrors_cc_file', |
| 114 'generate_mirrors_patch_cc_file', | 114 'generate_mirrors_patch_cc_file', |
| 115 'generate_typeddata_cc_file', | 115 'generate_typed_data_cc_file', |
| 116 'generate_typeddata_patch_cc_file', | 116 'generate_typed_data_patch_cc_file', |
| 117 'generate_uri_cc_file', | 117 'generate_uri_cc_file', |
| 118 'generate_utf_cc_file', | 118 'generate_utf_cc_file', |
| 119 ], | 119 ], |
| 120 'includes': [ | 120 'includes': [ |
| 121 '../lib/async_sources.gypi', | 121 '../lib/async_sources.gypi', |
| 122 '../lib/collection_sources.gypi', | 122 '../lib/collection_sources.gypi', |
| 123 '../lib/lib_sources.gypi', | 123 '../lib/lib_sources.gypi', |
| 124 '../lib/isolate_sources.gypi', | 124 '../lib/isolate_sources.gypi', |
| 125 '../lib/math_sources.gypi', | 125 '../lib/math_sources.gypi', |
| 126 '../lib/mirrors_sources.gypi', | 126 '../lib/mirrors_sources.gypi', |
| 127 '../lib/typeddata_sources.gypi', | 127 '../lib/typed_data_sources.gypi', |
| 128 ], | 128 ], |
| 129 'sources': [ | 129 'sources': [ |
| 130 'bootstrap.cc', | 130 'bootstrap.cc', |
| 131 # Include generated source files. | 131 # Include generated source files. |
| 132 '<(async_cc_file)', | 132 '<(async_cc_file)', |
| 133 '<(async_patch_cc_file)', | 133 '<(async_patch_cc_file)', |
| 134 '<(corelib_cc_file)', | 134 '<(corelib_cc_file)', |
| 135 '<(corelib_patch_cc_file)', | 135 '<(corelib_patch_cc_file)', |
| 136 '<(collection_cc_file)', | 136 '<(collection_cc_file)', |
| 137 '<(collection_patch_cc_file)', | 137 '<(collection_patch_cc_file)', |
| 138 '<(collection_dev_cc_file)', | 138 '<(collection_dev_cc_file)', |
| 139 '<(collection_dev_patch_cc_file)', | 139 '<(collection_dev_patch_cc_file)', |
| 140 '<(crypto_cc_file)', | 140 '<(crypto_cc_file)', |
| 141 '<(math_cc_file)', | 141 '<(math_cc_file)', |
| 142 '<(math_patch_cc_file)', | 142 '<(math_patch_cc_file)', |
| 143 '<(isolate_cc_file)', | 143 '<(isolate_cc_file)', |
| 144 '<(isolate_patch_cc_file)', | 144 '<(isolate_patch_cc_file)', |
| 145 '<(json_cc_file)', | 145 '<(json_cc_file)', |
| 146 '<(json_patch_cc_file)', | 146 '<(json_patch_cc_file)', |
| 147 '<(mirrors_cc_file)', | 147 '<(mirrors_cc_file)', |
| 148 '<(mirrors_patch_cc_file)', | 148 '<(mirrors_patch_cc_file)', |
| 149 '<(typeddata_cc_file)', | 149 '<(typed_data_cc_file)', |
| 150 '<(typeddata_patch_cc_file)', | 150 '<(typed_data_patch_cc_file)', |
| 151 '<(uri_cc_file)', | 151 '<(uri_cc_file)', |
| 152 '<(utf_cc_file)', | 152 '<(utf_cc_file)', |
| 153 ], | 153 ], |
| 154 'include_dirs': [ | 154 'include_dirs': [ |
| 155 '..', | 155 '..', |
| 156 ], | 156 ], |
| 157 }, | 157 }, |
| 158 { | 158 { |
| 159 'target_name': 'libdart_lib', | 159 'target_name': 'libdart_lib', |
| 160 'type': 'static_library', | 160 'type': 'static_library', |
| 161 'toolsets':['host', 'target'], | 161 'toolsets':['host', 'target'], |
| 162 'includes': [ | 162 'includes': [ |
| 163 '../lib/async_sources.gypi', | 163 '../lib/async_sources.gypi', |
| 164 '../lib/collection_sources.gypi', | 164 '../lib/collection_sources.gypi', |
| 165 '../lib/lib_sources.gypi', | 165 '../lib/lib_sources.gypi', |
| 166 '../lib/isolate_sources.gypi', | 166 '../lib/isolate_sources.gypi', |
| 167 '../lib/math_sources.gypi', | 167 '../lib/math_sources.gypi', |
| 168 '../lib/mirrors_sources.gypi', | 168 '../lib/mirrors_sources.gypi', |
| 169 '../lib/typeddata_sources.gypi', | 169 '../lib/typed_data_sources.gypi', |
| 170 ], | 170 ], |
| 171 'sources': [ | 171 'sources': [ |
| 172 'bootstrap_nocorelib.cc', | 172 'bootstrap_nocorelib.cc', |
| 173 ], | 173 ], |
| 174 'include_dirs': [ | 174 'include_dirs': [ |
| 175 '..', | 175 '..', |
| 176 ], | 176 ], |
| 177 }, | 177 }, |
| 178 { | 178 { |
| 179 'target_name': 'generate_async_cc_file', | 179 'target_name': 'generate_async_cc_file', |
| (...skipping 807 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 987 '--input_cc', '<(builtin_in_cc_file)', | 987 '--input_cc', '<(builtin_in_cc_file)', |
| 988 '--include', 'vm/bootstrap.h', | 988 '--include', 'vm/bootstrap.h', |
| 989 '--var_name', 'dart::Bootstrap::json_patch_', | 989 '--var_name', 'dart::Bootstrap::json_patch_', |
| 990 '<@(_sources)', | 990 '<@(_sources)', |
| 991 ], | 991 ], |
| 992 'message': 'Generating ''<(json_patch_cc_file)'' file.' | 992 'message': 'Generating ''<(json_patch_cc_file)'' file.' |
| 993 }, | 993 }, |
| 994 ] | 994 ] |
| 995 }, | 995 }, |
| 996 { | 996 { |
| 997 'target_name': 'generate_typeddata_cc_file', | 997 'target_name': 'generate_typed_data_cc_file', |
| 998 'type': 'none', | 998 'type': 'none', |
| 999 'toolsets':['host', 'target'], | 999 'toolsets':['host', 'target'], |
| 1000 'variables': { | 1000 'variables': { |
| 1001 'typeddata_dart': '<(gen_source_dir)/typeddata_gen.dart', | 1001 'typed_data_dart': '<(gen_source_dir)/typed_data_gen.dart', |
| 1002 }, | 1002 }, |
| 1003 'includes': [ | 1003 'includes': [ |
| 1004 # Load the shared library sources. | 1004 # Load the shared library sources. |
| 1005 '../../sdk/lib/typeddata/typeddata_sources.gypi', | 1005 '../../sdk/lib/typed_data/typed_data_sources.gypi', |
| 1006 ], | 1006 ], |
| 1007 'sources/': [ | 1007 'sources/': [ |
| 1008 # Exclude all .[cc|h] files. | 1008 # Exclude all .[cc|h] files. |
| 1009 # This is only here for reference. Excludes happen after | 1009 # This is only here for reference. Excludes happen after |
| 1010 # variable expansion, so the script has to do its own | 1010 # variable expansion, so the script has to do its own |
| 1011 # exclude processing of the sources being passed. | 1011 # exclude processing of the sources being passed. |
| 1012 ['exclude', '\\.cc|h$'], | 1012 ['exclude', '\\.cc|h$'], |
| 1013 ], | 1013 ], |
| 1014 'actions': [ | 1014 'actions': [ |
| 1015 { | 1015 { |
| 1016 'action_name': 'generate_typeddata_dart', | 1016 'action_name': 'generate_typed_data_dart', |
| 1017 'inputs': [ | 1017 'inputs': [ |
| 1018 '../tools/concat_library.py', | 1018 '../tools/concat_library.py', |
| 1019 '<@(_sources)', | 1019 '<@(_sources)', |
| 1020 ], | 1020 ], |
| 1021 'outputs': [ | 1021 'outputs': [ |
| 1022 '<(typeddata_dart)', | 1022 '<(typed_data_dart)', |
| 1023 ], | 1023 ], |
| 1024 'action': [ | 1024 'action': [ |
| 1025 'python', | 1025 'python', |
| 1026 '<@(_inputs)', | 1026 '<@(_inputs)', |
| 1027 '--output', '<(typeddata_dart)', | 1027 '--output', '<(typed_data_dart)', |
| 1028 ], | 1028 ], |
| 1029 'message': 'Generating ''<(typeddata_dart)'' file.', | 1029 'message': 'Generating ''<(typed_data_dart)'' file.', |
| 1030 }, | 1030 }, |
| 1031 { | 1031 { |
| 1032 'action_name': 'generate_typeddata_cc', | 1032 'action_name': 'generate_typed_data_cc', |
| 1033 'inputs': [ | 1033 'inputs': [ |
| 1034 '../tools/create_string_literal.py', | 1034 '../tools/create_string_literal.py', |
| 1035 '<(builtin_in_cc_file)', | 1035 '<(builtin_in_cc_file)', |
| 1036 '<(typeddata_dart)', | 1036 '<(typed_data_dart)', |
| 1037 ], | 1037 ], |
| 1038 'outputs': [ | 1038 'outputs': [ |
| 1039 '<(typeddata_cc_file)', | 1039 '<(typed_data_cc_file)', |
| 1040 ], | 1040 ], |
| 1041 'action': [ | 1041 'action': [ |
| 1042 'python', | 1042 'python', |
| 1043 'tools/create_string_literal.py', | 1043 'tools/create_string_literal.py', |
| 1044 '--output', '<(typeddata_cc_file)', | 1044 '--output', '<(typed_data_cc_file)', |
| 1045 '--input_cc', '<(builtin_in_cc_file)', | 1045 '--input_cc', '<(builtin_in_cc_file)', |
| 1046 '--include', 'vm/bootstrap.h', | 1046 '--include', 'vm/bootstrap.h', |
| 1047 '--var_name', 'dart::Bootstrap::typeddata_source_', | 1047 '--var_name', 'dart::Bootstrap::typed_data_source_', |
| 1048 '<(typeddata_dart)', | 1048 '<(typed_data_dart)', |
| 1049 ], | 1049 ], |
| 1050 'message': 'Generating ''<(typeddata_cc_file)'' file.' | 1050 'message': 'Generating ''<(typed_data_cc_file)'' file.' |
| 1051 }, | 1051 }, |
| 1052 ] | 1052 ] |
| 1053 }, | 1053 }, |
| 1054 { | 1054 { |
| 1055 'target_name': 'generate_typeddata_patch_cc_file', | 1055 'target_name': 'generate_typed_data_patch_cc_file', |
| 1056 'type': 'none', | 1056 'type': 'none', |
| 1057 'toolsets':['host', 'target'], | 1057 'toolsets':['host', 'target'], |
| 1058 'includes': [ | 1058 'includes': [ |
| 1059 # Load the runtime implementation sources. | 1059 # Load the runtime implementation sources. |
| 1060 '../lib/typeddata_sources.gypi', | 1060 '../lib/typed_data_sources.gypi', |
| 1061 ], | 1061 ], |
| 1062 'sources/': [ | 1062 'sources/': [ |
| 1063 # Exclude all .[cc|h] files. | 1063 # Exclude all .[cc|h] files. |
| 1064 # This is only here for reference. Excludes happen after | 1064 # This is only here for reference. Excludes happen after |
| 1065 # variable expansion, so the script has to do its own | 1065 # variable expansion, so the script has to do its own |
| 1066 # exclude processing of the sources being passed. | 1066 # exclude processing of the sources being passed. |
| 1067 ['exclude', '\\.cc|h$'], | 1067 ['exclude', '\\.cc|h$'], |
| 1068 ], | 1068 ], |
| 1069 'actions': [ | 1069 'actions': [ |
| 1070 { | 1070 { |
| 1071 'action_name': 'generate_typeddata_patch_cc', | 1071 'action_name': 'generate_typed_data_patch_cc', |
| 1072 'inputs': [ | 1072 'inputs': [ |
| 1073 '../tools/create_string_literal.py', | 1073 '../tools/create_string_literal.py', |
| 1074 '<(builtin_in_cc_file)', | 1074 '<(builtin_in_cc_file)', |
| 1075 '<@(_sources)', | 1075 '<@(_sources)', |
| 1076 ], | 1076 ], |
| 1077 'outputs': [ | 1077 'outputs': [ |
| 1078 '<(typeddata_patch_cc_file)', | 1078 '<(typed_data_patch_cc_file)', |
| 1079 ], | 1079 ], |
| 1080 'action': [ | 1080 'action': [ |
| 1081 'python', | 1081 'python', |
| 1082 'tools/create_string_literal.py', | 1082 'tools/create_string_literal.py', |
| 1083 '--output', '<(typeddata_patch_cc_file)', | 1083 '--output', '<(typed_data_patch_cc_file)', |
| 1084 '--input_cc', '<(builtin_in_cc_file)', | 1084 '--input_cc', '<(builtin_in_cc_file)', |
| 1085 '--include', 'vm/bootstrap.h', | 1085 '--include', 'vm/bootstrap.h', |
| 1086 '--var_name', 'dart::Bootstrap::typeddata_patch_', | 1086 '--var_name', 'dart::Bootstrap::typed_data_patch_', |
| 1087 '<@(_sources)', | 1087 '<@(_sources)', |
| 1088 ], | 1088 ], |
| 1089 'message': 'Generating ''<(typeddata_patch_cc_file)'' file.' | 1089 'message': 'Generating ''<(typed_data_patch_cc_file)'' file.' |
| 1090 }, | 1090 }, |
| 1091 ] | 1091 ] |
| 1092 }, | 1092 }, |
| 1093 { | 1093 { |
| 1094 'target_name': 'generate_uri_cc_file', | 1094 'target_name': 'generate_uri_cc_file', |
| 1095 'type': 'none', | 1095 'type': 'none', |
| 1096 'toolsets':['host', 'target'], | 1096 'toolsets':['host', 'target'], |
| 1097 'variables': { | 1097 'variables': { |
| 1098 'uri_dart': '<(gen_source_dir)/uri_gen.dart', | 1098 'uri_dart': '<(gen_source_dir)/uri_gen.dart', |
| 1099 }, | 1099 }, |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1215 '--include', 'INTENTIONALLY_LEFT_BLANK', | 1215 '--include', 'INTENTIONALLY_LEFT_BLANK', |
| 1216 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', | 1216 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', |
| 1217 '<(snapshot_test_dart_file)', | 1217 '<(snapshot_test_dart_file)', |
| 1218 ], | 1218 ], |
| 1219 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' | 1219 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' |
| 1220 }, | 1220 }, |
| 1221 ] | 1221 ] |
| 1222 }, | 1222 }, |
| 1223 ] | 1223 ] |
| 1224 } | 1224 } |
| OLD | NEW |