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', |
| 29 'profiler_patch_cc_file': '<(gen_source_dir)/profiler_patch_gen.cc', |
28 'service_cc_file': '<(gen_source_dir)/service_gen.cc', | 30 'service_cc_file': '<(gen_source_dir)/service_gen.cc', |
29 'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat', | 31 'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat', |
30 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', | 32 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', |
31 'snapshot_test_dart_file': 'snapshot_test.dart', | 33 'snapshot_test_dart_file': 'snapshot_test.dart', |
32 'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc', | 34 'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc', |
33 'typed_data_patch_cc_file': '<(gen_source_dir)/typed_data_patch_gen.cc', | 35 'typed_data_patch_cc_file': '<(gen_source_dir)/typed_data_patch_gen.cc', |
34 }, | 36 }, |
35 'targets': [ | 37 'targets': [ |
36 { | 38 { |
37 'target_name': 'libdart_vm', | 39 'target_name': 'libdart_vm', |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 'generate_developer_cc_file#host', | 188 'generate_developer_cc_file#host', |
187 'generate_developer_patch_cc_file#host', | 189 'generate_developer_patch_cc_file#host', |
188 'generate_internal_cc_file#host', | 190 'generate_internal_cc_file#host', |
189 'generate_internal_patch_cc_file#host', | 191 'generate_internal_patch_cc_file#host', |
190 'generate_isolate_cc_file#host', | 192 'generate_isolate_cc_file#host', |
191 'generate_isolate_patch_cc_file#host', | 193 'generate_isolate_patch_cc_file#host', |
192 'generate_math_cc_file#host', | 194 'generate_math_cc_file#host', |
193 'generate_math_patch_cc_file#host', | 195 'generate_math_patch_cc_file#host', |
194 'generate_mirrors_cc_file#host', | 196 'generate_mirrors_cc_file#host', |
195 'generate_mirrors_patch_cc_file#host', | 197 'generate_mirrors_patch_cc_file#host', |
| 198 'generate_profiler_cc_file#host', |
| 199 'generate_profiler_patch_cc_file#host', |
196 'generate_typed_data_cc_file#host', | 200 'generate_typed_data_cc_file#host', |
197 'generate_typed_data_patch_cc_file#host', | 201 'generate_typed_data_patch_cc_file#host', |
198 ], | 202 ], |
199 'includes': [ | 203 'includes': [ |
200 '../lib/async_sources.gypi', | 204 '../lib/async_sources.gypi', |
201 '../lib/collection_sources.gypi', | 205 '../lib/collection_sources.gypi', |
202 '../lib/core_sources.gypi', | 206 '../lib/core_sources.gypi', |
203 '../lib/developer_sources.gypi', | 207 '../lib/developer_sources.gypi', |
204 '../lib/internal_sources.gypi', | 208 '../lib/internal_sources.gypi', |
205 '../lib/isolate_sources.gypi', | 209 '../lib/isolate_sources.gypi', |
206 '../lib/math_sources.gypi', | 210 '../lib/math_sources.gypi', |
207 '../lib/mirrors_sources.gypi', | 211 '../lib/mirrors_sources.gypi', |
| 212 '../lib/profiler_sources.gypi', |
208 '../lib/typed_data_sources.gypi', | 213 '../lib/typed_data_sources.gypi', |
209 ], | 214 ], |
210 'sources': [ | 215 'sources': [ |
211 'bootstrap.cc', | 216 'bootstrap.cc', |
212 # Include generated source files. | 217 # Include generated source files. |
213 '<(async_cc_file)', | 218 '<(async_cc_file)', |
214 '<(async_patch_cc_file)', | 219 '<(async_patch_cc_file)', |
215 '<(core_cc_file)', | 220 '<(core_cc_file)', |
216 '<(core_patch_cc_file)', | 221 '<(core_patch_cc_file)', |
217 '<(collection_cc_file)', | 222 '<(collection_cc_file)', |
218 '<(collection_patch_cc_file)', | 223 '<(collection_patch_cc_file)', |
219 '<(convert_cc_file)', | 224 '<(convert_cc_file)', |
220 '<(convert_patch_cc_file)', | 225 '<(convert_patch_cc_file)', |
221 '<(developer_cc_file)', | 226 '<(developer_cc_file)', |
222 '<(developer_patch_cc_file)', | 227 '<(developer_patch_cc_file)', |
223 '<(internal_cc_file)', | 228 '<(internal_cc_file)', |
224 '<(internal_patch_cc_file)', | 229 '<(internal_patch_cc_file)', |
225 '<(isolate_cc_file)', | 230 '<(isolate_cc_file)', |
226 '<(isolate_patch_cc_file)', | 231 '<(isolate_patch_cc_file)', |
227 '<(math_cc_file)', | 232 '<(math_cc_file)', |
228 '<(math_patch_cc_file)', | 233 '<(math_patch_cc_file)', |
229 '<(mirrors_cc_file)', | 234 '<(mirrors_cc_file)', |
230 '<(mirrors_patch_cc_file)', | 235 '<(mirrors_patch_cc_file)', |
| 236 '<(profiler_cc_file)', |
| 237 '<(profiler_patch_cc_file)', |
231 '<(typed_data_cc_file)', | 238 '<(typed_data_cc_file)', |
232 '<(typed_data_patch_cc_file)', | 239 '<(typed_data_patch_cc_file)', |
233 ], | 240 ], |
234 'include_dirs': [ | 241 'include_dirs': [ |
235 '..', | 242 '..', |
236 ], | 243 ], |
237 }, | 244 }, |
238 { | 245 { |
239 'target_name': 'libdart_lib', | 246 'target_name': 'libdart_lib', |
240 'type': 'static_library', | 247 'type': 'static_library', |
241 'toolsets':['host', 'target'], | 248 'toolsets':['host', 'target'], |
242 'includes': [ | 249 'includes': [ |
243 '../lib/async_sources.gypi', | 250 '../lib/async_sources.gypi', |
244 '../lib/collection_sources.gypi', | 251 '../lib/collection_sources.gypi', |
245 '../lib/core_sources.gypi', | 252 '../lib/core_sources.gypi', |
246 '../lib/developer_sources.gypi', | 253 '../lib/developer_sources.gypi', |
247 '../lib/internal_sources.gypi', | 254 '../lib/internal_sources.gypi', |
248 '../lib/isolate_sources.gypi', | 255 '../lib/isolate_sources.gypi', |
249 '../lib/math_sources.gypi', | 256 '../lib/math_sources.gypi', |
250 '../lib/mirrors_sources.gypi', | 257 '../lib/mirrors_sources.gypi', |
| 258 '../lib/profiler_sources.gypi', |
251 '../lib/typed_data_sources.gypi', | 259 '../lib/typed_data_sources.gypi', |
252 ], | 260 ], |
253 'sources': [ | 261 'sources': [ |
254 'bootstrap_nocore.cc', | 262 'bootstrap_nocore.cc', |
255 ], | 263 ], |
256 'include_dirs': [ | 264 'include_dirs': [ |
257 '..', | 265 '..', |
258 ], | 266 ], |
259 }, | 267 }, |
260 { | 268 { |
(...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
970 '--include', 'vm/bootstrap.h', | 978 '--include', 'vm/bootstrap.h', |
971 '--var_name', 'dart::Bootstrap::typed_data_patch_paths_', | 979 '--var_name', 'dart::Bootstrap::typed_data_patch_paths_', |
972 '--library_name', 'dart:typed_data', | 980 '--library_name', 'dart:typed_data', |
973 '<@(_sources)', | 981 '<@(_sources)', |
974 ], | 982 ], |
975 'message': 'Generating ''<(typed_data_patch_cc_file)'' file.' | 983 'message': 'Generating ''<(typed_data_patch_cc_file)'' file.' |
976 }, | 984 }, |
977 ] | 985 ] |
978 }, | 986 }, |
979 { | 987 { |
| 988 'target_name': 'generate_profiler_cc_file', |
| 989 'type': 'none', |
| 990 'toolsets':['host'], |
| 991 'includes': [ |
| 992 # Load the shared library sources. |
| 993 '../../sdk/lib/profiler/profiler_sources.gypi', |
| 994 ], |
| 995 'sources/': [ |
| 996 # Exclude all .[cc|h] files. |
| 997 # This is only here for reference. Excludes happen after |
| 998 # variable expansion, so the script has to do its own |
| 999 # exclude processing of the sources being passed. |
| 1000 ['exclude', '\\.cc|h$'], |
| 1001 ], |
| 1002 'actions': [ |
| 1003 { |
| 1004 'action_name': 'generate_profiler_cc', |
| 1005 'inputs': [ |
| 1006 '../tools/gen_library_src_paths.py', |
| 1007 '<(libgen_in_cc_file)', |
| 1008 '<@(_sources)', |
| 1009 ], |
| 1010 'outputs': [ |
| 1011 '<(profiler_cc_file)', |
| 1012 ], |
| 1013 'action': [ |
| 1014 'python', |
| 1015 'tools/gen_library_src_paths.py', |
| 1016 '--output', '<(profiler_cc_file)', |
| 1017 '--input_cc', '<(libgen_in_cc_file)', |
| 1018 '--include', 'vm/bootstrap.h', |
| 1019 '--var_name', 'dart::Bootstrap::profiler_source_paths_', |
| 1020 '--library_name', 'dart:profiler', |
| 1021 '<@(_sources)', |
| 1022 ], |
| 1023 'message': 'Generating ''<(profiler_cc_file)'' file.' |
| 1024 }, |
| 1025 ] |
| 1026 }, |
| 1027 { |
| 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 { |
980 'target_name': 'generate_developer_cc_file', | 1068 'target_name': 'generate_developer_cc_file', |
981 'type': 'none', | 1069 'type': 'none', |
982 'toolsets':['host'], | 1070 'toolsets':['host'], |
983 'includes': [ | 1071 'includes': [ |
984 # Load the shared library sources. | 1072 # Load the shared library sources. |
985 '../../sdk/lib/developer/developer_sources.gypi', | 1073 '../../sdk/lib/developer/developer_sources.gypi', |
986 ], | 1074 ], |
987 'sources/': [ | 1075 'sources/': [ |
988 # Exclude all .[cc|h] files. | 1076 # Exclude all .[cc|h] files. |
989 # This is only here for reference. Excludes happen after | 1077 # This is only here for reference. Excludes happen after |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1109 '--table_name', 'service', | 1197 '--table_name', 'service', |
1110 '--root_prefix', 'vm/service/', | 1198 '--root_prefix', 'vm/service/', |
1111 '<@(_sources)' | 1199 '<@(_sources)' |
1112 ], | 1200 ], |
1113 'message': 'Generating ''<(service_cc_file)'' file.' | 1201 'message': 'Generating ''<(service_cc_file)'' file.' |
1114 }, | 1202 }, |
1115 ] | 1203 ] |
1116 }, | 1204 }, |
1117 ] | 1205 ] |
1118 } | 1206 } |
OLD | NEW |