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': '<(SHARED_INTERMEDIATE_DIR)', | 7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', |
8 'libgen_in_cc_file': '../lib/libgen_in.cc', | 8 'libgen_in_cc_file': '../lib/libgen_in.cc', |
9 'builtin_in_cc_file': '../bin/builtin_in.cc', | 9 'builtin_in_cc_file': '../bin/builtin_in.cc', |
10 'async_cc_file': '<(gen_source_dir)/async_gen.cc', | 10 'async_cc_file': '<(gen_source_dir)/async_gen.cc', |
11 'async_patch_cc_file': '<(gen_source_dir)/async_patch_gen.cc', | 11 'async_patch_cc_file': '<(gen_source_dir)/async_patch_gen.cc', |
12 'core_cc_file': '<(gen_source_dir)/core_gen.cc', | 12 'core_cc_file': '<(gen_source_dir)/core_gen.cc', |
13 'core_patch_cc_file': '<(gen_source_dir)/core_patch_gen.cc', | 13 'core_patch_cc_file': '<(gen_source_dir)/core_patch_gen.cc', |
14 'collection_cc_file': '<(gen_source_dir)/collection_gen.cc', | 14 'collection_cc_file': '<(gen_source_dir)/collection_gen.cc', |
15 'collection_patch_cc_file': '<(gen_source_dir)/collection_patch_gen.cc', | 15 'collection_patch_cc_file': '<(gen_source_dir)/collection_patch_gen.cc', |
16 'convert_cc_file': '<(gen_source_dir)/convert_gen.cc', | 16 'convert_cc_file': '<(gen_source_dir)/convert_gen.cc', |
17 'convert_patch_cc_file': '<(gen_source_dir)/convert_patch_gen.cc', | 17 'convert_patch_cc_file': '<(gen_source_dir)/convert_patch_gen.cc', |
18 'developer_cc_file': '<(gen_source_dir)/developer_gen.cc', | 18 'developer_cc_file': '<(gen_source_dir)/developer_gen.cc', |
19 'developer_patch_cc_file': '<(gen_source_dir)/developer_patch_gen.cc', | 19 'developer_patch_cc_file': '<(gen_source_dir)/developer_patch_gen.cc', |
20 'internal_cc_file': '<(gen_source_dir)/internal_gen.cc', | 20 'internal_cc_file': '<(gen_source_dir)/internal_gen.cc', |
21 'internal_patch_cc_file': '<(gen_source_dir)/internal_patch_gen.cc', | 21 'internal_patch_cc_file': '<(gen_source_dir)/internal_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 'math_cc_file': '<(gen_source_dir)/math_gen.cc', | 24 'math_cc_file': '<(gen_source_dir)/math_gen.cc', |
25 'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc', | 25 'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc', |
26 'mirrors_cc_file': '<(gen_source_dir)/mirrors_gen.cc', | 26 'mirrors_cc_file': '<(gen_source_dir)/mirrors_gen.cc', |
27 'mirrors_patch_cc_file': '<(gen_source_dir)/mirrors_patch_gen.cc', | 27 'mirrors_patch_cc_file': '<(gen_source_dir)/mirrors_patch_gen.cc', |
28 'profiler_cc_file': '<(gen_source_dir)/profiler_gen.cc', | 28 'profiler_cc_file': '<(gen_source_dir)/profiler_gen.cc', |
29 'profiler_patch_cc_file': '<(gen_source_dir)/profiler_patch_gen.cc', | |
30 'service_cc_file': '<(gen_source_dir)/service_gen.cc', | 29 'service_cc_file': '<(gen_source_dir)/service_gen.cc', |
31 'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat', | 30 'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat', |
32 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', | 31 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', |
33 'snapshot_test_dart_file': 'snapshot_test.dart', | 32 'snapshot_test_dart_file': 'snapshot_test.dart', |
34 'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc', | 33 'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc', |
35 'typed_data_patch_cc_file': '<(gen_source_dir)/typed_data_patch_gen.cc', | 34 'typed_data_patch_cc_file': '<(gen_source_dir)/typed_data_patch_gen.cc', |
36 }, | 35 }, |
37 'targets': [ | 36 'targets': [ |
38 { | 37 { |
39 'target_name': 'libdart_vm', | 38 'target_name': 'libdart_vm', |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 'generate_developer_patch_cc_file#host', | 188 'generate_developer_patch_cc_file#host', |
190 'generate_internal_cc_file#host', | 189 'generate_internal_cc_file#host', |
191 'generate_internal_patch_cc_file#host', | 190 'generate_internal_patch_cc_file#host', |
192 'generate_isolate_cc_file#host', | 191 'generate_isolate_cc_file#host', |
193 'generate_isolate_patch_cc_file#host', | 192 'generate_isolate_patch_cc_file#host', |
194 'generate_math_cc_file#host', | 193 'generate_math_cc_file#host', |
195 'generate_math_patch_cc_file#host', | 194 'generate_math_patch_cc_file#host', |
196 'generate_mirrors_cc_file#host', | 195 'generate_mirrors_cc_file#host', |
197 'generate_mirrors_patch_cc_file#host', | 196 'generate_mirrors_patch_cc_file#host', |
198 'generate_profiler_cc_file#host', | 197 'generate_profiler_cc_file#host', |
199 'generate_profiler_patch_cc_file#host', | |
200 'generate_typed_data_cc_file#host', | 198 'generate_typed_data_cc_file#host', |
201 'generate_typed_data_patch_cc_file#host', | 199 'generate_typed_data_patch_cc_file#host', |
202 ], | 200 ], |
203 'includes': [ | 201 'includes': [ |
204 '../lib/async_sources.gypi', | 202 '../lib/async_sources.gypi', |
205 '../lib/collection_sources.gypi', | 203 '../lib/collection_sources.gypi', |
206 '../lib/core_sources.gypi', | 204 '../lib/core_sources.gypi', |
207 '../lib/developer_sources.gypi', | 205 '../lib/developer_sources.gypi', |
208 '../lib/internal_sources.gypi', | 206 '../lib/internal_sources.gypi', |
209 '../lib/isolate_sources.gypi', | 207 '../lib/isolate_sources.gypi', |
210 '../lib/math_sources.gypi', | 208 '../lib/math_sources.gypi', |
211 '../lib/mirrors_sources.gypi', | 209 '../lib/mirrors_sources.gypi', |
212 '../lib/profiler_sources.gypi', | |
213 '../lib/typed_data_sources.gypi', | 210 '../lib/typed_data_sources.gypi', |
214 ], | 211 ], |
215 'sources': [ | 212 'sources': [ |
216 'bootstrap.cc', | 213 'bootstrap.cc', |
217 # Include generated source files. | 214 # Include generated source files. |
218 '<(async_cc_file)', | 215 '<(async_cc_file)', |
219 '<(async_patch_cc_file)', | 216 '<(async_patch_cc_file)', |
220 '<(core_cc_file)', | 217 '<(core_cc_file)', |
221 '<(core_patch_cc_file)', | 218 '<(core_patch_cc_file)', |
222 '<(collection_cc_file)', | 219 '<(collection_cc_file)', |
223 '<(collection_patch_cc_file)', | 220 '<(collection_patch_cc_file)', |
224 '<(convert_cc_file)', | 221 '<(convert_cc_file)', |
225 '<(convert_patch_cc_file)', | 222 '<(convert_patch_cc_file)', |
226 '<(developer_cc_file)', | 223 '<(developer_cc_file)', |
227 '<(developer_patch_cc_file)', | 224 '<(developer_patch_cc_file)', |
228 '<(internal_cc_file)', | 225 '<(internal_cc_file)', |
229 '<(internal_patch_cc_file)', | 226 '<(internal_patch_cc_file)', |
230 '<(isolate_cc_file)', | 227 '<(isolate_cc_file)', |
231 '<(isolate_patch_cc_file)', | 228 '<(isolate_patch_cc_file)', |
232 '<(math_cc_file)', | 229 '<(math_cc_file)', |
233 '<(math_patch_cc_file)', | 230 '<(math_patch_cc_file)', |
234 '<(mirrors_cc_file)', | 231 '<(mirrors_cc_file)', |
235 '<(mirrors_patch_cc_file)', | 232 '<(mirrors_patch_cc_file)', |
236 '<(profiler_cc_file)', | 233 '<(profiler_cc_file)', |
237 '<(profiler_patch_cc_file)', | |
238 '<(typed_data_cc_file)', | 234 '<(typed_data_cc_file)', |
239 '<(typed_data_patch_cc_file)', | 235 '<(typed_data_patch_cc_file)', |
240 ], | 236 ], |
241 'include_dirs': [ | 237 'include_dirs': [ |
242 '..', | 238 '..', |
243 ], | 239 ], |
244 }, | 240 }, |
245 { | 241 { |
246 'target_name': 'libdart_lib', | 242 'target_name': 'libdart_lib', |
247 'type': 'static_library', | 243 'type': 'static_library', |
248 'toolsets':['host', 'target'], | 244 'toolsets':['host', 'target'], |
249 'includes': [ | 245 'includes': [ |
250 '../lib/async_sources.gypi', | 246 '../lib/async_sources.gypi', |
251 '../lib/collection_sources.gypi', | 247 '../lib/collection_sources.gypi', |
252 '../lib/core_sources.gypi', | 248 '../lib/core_sources.gypi', |
253 '../lib/developer_sources.gypi', | 249 '../lib/developer_sources.gypi', |
254 '../lib/internal_sources.gypi', | 250 '../lib/internal_sources.gypi', |
255 '../lib/isolate_sources.gypi', | 251 '../lib/isolate_sources.gypi', |
256 '../lib/math_sources.gypi', | 252 '../lib/math_sources.gypi', |
257 '../lib/mirrors_sources.gypi', | 253 '../lib/mirrors_sources.gypi', |
258 '../lib/profiler_sources.gypi', | |
259 '../lib/typed_data_sources.gypi', | 254 '../lib/typed_data_sources.gypi', |
260 ], | 255 ], |
261 'sources': [ | 256 'sources': [ |
262 'bootstrap_nocore.cc', | 257 'bootstrap_nocore.cc', |
263 ], | 258 ], |
264 'include_dirs': [ | 259 'include_dirs': [ |
265 '..', | 260 '..', |
266 ], | 261 ], |
267 }, | 262 }, |
268 { | 263 { |
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1018 '--include', 'vm/bootstrap.h', | 1013 '--include', 'vm/bootstrap.h', |
1019 '--var_name', 'dart::Bootstrap::profiler_source_paths_', | 1014 '--var_name', 'dart::Bootstrap::profiler_source_paths_', |
1020 '--library_name', 'dart:profiler', | 1015 '--library_name', 'dart:profiler', |
1021 '<@(_sources)', | 1016 '<@(_sources)', |
1022 ], | 1017 ], |
1023 'message': 'Generating ''<(profiler_cc_file)'' file.' | 1018 'message': 'Generating ''<(profiler_cc_file)'' file.' |
1024 }, | 1019 }, |
1025 ] | 1020 ] |
1026 }, | 1021 }, |
1027 { | 1022 { |
1028 'target_name': 'generate_profiler_patch_cc_file', | |
1029 'type': 'none', | |
1030 'toolsets':['host'], | |
1031 'includes': [ | |
1032 # Load the runtime implementation sources. | |
1033 '../lib/profiler_sources.gypi', | |
1034 ], | |
1035 'sources/': [ | |
1036 # Exclude all .[cc|h] files. | |
1037 # This is only here for reference. Excludes happen after | |
1038 # variable expansion, so the script has to do its own | |
1039 # exclude processing of the sources being passed. | |
1040 ['exclude', '\\.cc|h$'], | |
1041 ], | |
1042 'actions': [ | |
1043 { | |
1044 'action_name': 'generate_profiler_patch_cc', | |
1045 'inputs': [ | |
1046 '../tools/gen_library_src_paths.py', | |
1047 '<(libgen_in_cc_file)', | |
1048 '<@(_sources)', | |
1049 ], | |
1050 'outputs': [ | |
1051 '<(profiler_patch_cc_file)', | |
1052 ], | |
1053 'action': [ | |
1054 'python', | |
1055 'tools/gen_library_src_paths.py', | |
1056 '--output', '<(profiler_patch_cc_file)', | |
1057 '--input_cc', '<(libgen_in_cc_file)', | |
1058 '--include', 'vm/bootstrap.h', | |
1059 '--var_name', 'dart::Bootstrap::profiler_patch_paths_', | |
1060 '--library_name', 'dart:profiler', | |
1061 '<@(_sources)', | |
1062 ], | |
1063 'message': 'Generating ''<(profiler_patch_cc_file)'' file.' | |
1064 }, | |
1065 ] | |
1066 }, | |
1067 { | |
1068 'target_name': 'generate_developer_cc_file', | 1023 'target_name': 'generate_developer_cc_file', |
1069 'type': 'none', | 1024 'type': 'none', |
1070 'toolsets':['host'], | 1025 'toolsets':['host'], |
1071 'includes': [ | 1026 'includes': [ |
1072 # Load the shared library sources. | 1027 # Load the shared library sources. |
1073 '../../sdk/lib/developer/developer_sources.gypi', | 1028 '../../sdk/lib/developer/developer_sources.gypi', |
1074 ], | 1029 ], |
1075 'sources/': [ | 1030 'sources/': [ |
1076 # Exclude all .[cc|h] files. | 1031 # Exclude all .[cc|h] files. |
1077 # This is only here for reference. Excludes happen after | 1032 # This is only here for reference. Excludes happen after |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1197 '--table_name', 'service', | 1152 '--table_name', 'service', |
1198 '--root_prefix', 'vm/service/', | 1153 '--root_prefix', 'vm/service/', |
1199 '<@(_sources)' | 1154 '<@(_sources)' |
1200 ], | 1155 ], |
1201 'message': 'Generating ''<(service_cc_file)'' file.' | 1156 'message': 'Generating ''<(service_cc_file)'' file.' |
1202 }, | 1157 }, |
1203 ] | 1158 ] |
1204 }, | 1159 }, |
1205 ] | 1160 ] |
1206 } | 1161 } |
OLD | NEW |