| 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 'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat', | 28 'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat', |
| 30 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', | 29 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', |
| 31 'snapshot_test_dart_file': 'snapshot_test.dart', | 30 'snapshot_test_dart_file': 'snapshot_test.dart', |
| 32 'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc', | 31 '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', | 32 'typed_data_patch_cc_file': '<(gen_source_dir)/typed_data_patch_gen.cc', |
| 34 'vmservice_cc_file': '<(gen_source_dir)/vmservice_gen.cc', | 33 'vmservice_cc_file': '<(gen_source_dir)/vmservice_gen.cc', |
| 35 }, | 34 }, |
| 36 'targets': [ | 35 'targets': [ |
| 37 { | 36 { |
| 38 'target_name': 'libdart_vm', | 37 'target_name': 'libdart_vm', |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 'generate_developer_cc_file#host', | 172 'generate_developer_cc_file#host', |
| 174 'generate_developer_patch_cc_file#host', | 173 'generate_developer_patch_cc_file#host', |
| 175 'generate_internal_cc_file#host', | 174 'generate_internal_cc_file#host', |
| 176 'generate_internal_patch_cc_file#host', | 175 'generate_internal_patch_cc_file#host', |
| 177 'generate_isolate_cc_file#host', | 176 'generate_isolate_cc_file#host', |
| 178 'generate_isolate_patch_cc_file#host', | 177 'generate_isolate_patch_cc_file#host', |
| 179 'generate_math_cc_file#host', | 178 'generate_math_cc_file#host', |
| 180 'generate_math_patch_cc_file#host', | 179 'generate_math_patch_cc_file#host', |
| 181 'generate_mirrors_cc_file#host', | 180 'generate_mirrors_cc_file#host', |
| 182 'generate_mirrors_patch_cc_file#host', | 181 'generate_mirrors_patch_cc_file#host', |
| 183 'generate_profiler_cc_file#host', | |
| 184 'generate_typed_data_cc_file#host', | 182 'generate_typed_data_cc_file#host', |
| 185 'generate_typed_data_patch_cc_file#host', | 183 'generate_typed_data_patch_cc_file#host', |
| 186 'generate_vmservice_cc_file#host', | 184 'generate_vmservice_cc_file#host', |
| 187 ], | 185 ], |
| 188 'includes': [ | 186 'includes': [ |
| 189 '../lib/async_sources.gypi', | 187 '../lib/async_sources.gypi', |
| 190 '../lib/collection_sources.gypi', | 188 '../lib/collection_sources.gypi', |
| 191 '../lib/core_sources.gypi', | 189 '../lib/core_sources.gypi', |
| 192 '../lib/developer_sources.gypi', | 190 '../lib/developer_sources.gypi', |
| 193 '../lib/internal_sources.gypi', | 191 '../lib/internal_sources.gypi', |
| (...skipping 17 matching lines...) Expand all Loading... |
| 211 '<(developer_cc_file)', | 209 '<(developer_cc_file)', |
| 212 '<(developer_patch_cc_file)', | 210 '<(developer_patch_cc_file)', |
| 213 '<(internal_cc_file)', | 211 '<(internal_cc_file)', |
| 214 '<(internal_patch_cc_file)', | 212 '<(internal_patch_cc_file)', |
| 215 '<(isolate_cc_file)', | 213 '<(isolate_cc_file)', |
| 216 '<(isolate_patch_cc_file)', | 214 '<(isolate_patch_cc_file)', |
| 217 '<(math_cc_file)', | 215 '<(math_cc_file)', |
| 218 '<(math_patch_cc_file)', | 216 '<(math_patch_cc_file)', |
| 219 '<(mirrors_cc_file)', | 217 '<(mirrors_cc_file)', |
| 220 '<(mirrors_patch_cc_file)', | 218 '<(mirrors_patch_cc_file)', |
| 221 '<(profiler_cc_file)', | |
| 222 '<(typed_data_cc_file)', | 219 '<(typed_data_cc_file)', |
| 223 '<(typed_data_patch_cc_file)', | 220 '<(typed_data_patch_cc_file)', |
| 224 '<(vmservice_cc_file)', | 221 '<(vmservice_cc_file)', |
| 225 ], | 222 ], |
| 226 'include_dirs': [ | 223 'include_dirs': [ |
| 227 '..', | 224 '..', |
| 228 ], | 225 ], |
| 229 }, | 226 }, |
| 230 { | 227 { |
| 231 'target_name': 'libdart_lib', | 228 'target_name': 'libdart_lib', |
| (...skipping 731 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 963 '--include', 'vm/bootstrap.h', | 960 '--include', 'vm/bootstrap.h', |
| 964 '--var_name', 'dart::Bootstrap::typed_data_patch_paths_', | 961 '--var_name', 'dart::Bootstrap::typed_data_patch_paths_', |
| 965 '--library_name', 'dart:typed_data', | 962 '--library_name', 'dart:typed_data', |
| 966 '<@(_sources)', | 963 '<@(_sources)', |
| 967 ], | 964 ], |
| 968 'message': 'Generating ''<(typed_data_patch_cc_file)'' file.' | 965 'message': 'Generating ''<(typed_data_patch_cc_file)'' file.' |
| 969 }, | 966 }, |
| 970 ] | 967 ] |
| 971 }, | 968 }, |
| 972 { | 969 { |
| 973 'target_name': 'generate_profiler_cc_file', | |
| 974 'type': 'none', | |
| 975 'toolsets':['host'], | |
| 976 'includes': [ | |
| 977 # Load the shared library sources. | |
| 978 '../../sdk/lib/profiler/profiler_sources.gypi', | |
| 979 ], | |
| 980 'sources/': [ | |
| 981 # Exclude all .[cc|h] files. | |
| 982 # This is only here for reference. Excludes happen after | |
| 983 # variable expansion, so the script has to do its own | |
| 984 # exclude processing of the sources being passed. | |
| 985 ['exclude', '\\.cc|h$'], | |
| 986 ], | |
| 987 'actions': [ | |
| 988 { | |
| 989 'action_name': 'generate_profiler_cc', | |
| 990 'inputs': [ | |
| 991 '../tools/gen_library_src_paths.py', | |
| 992 '<(libgen_in_cc_file)', | |
| 993 '<@(_sources)', | |
| 994 ], | |
| 995 'outputs': [ | |
| 996 '<(profiler_cc_file)', | |
| 997 ], | |
| 998 'action': [ | |
| 999 'python', | |
| 1000 'tools/gen_library_src_paths.py', | |
| 1001 '--output', '<(profiler_cc_file)', | |
| 1002 '--input_cc', '<(libgen_in_cc_file)', | |
| 1003 '--include', 'vm/bootstrap.h', | |
| 1004 '--var_name', 'dart::Bootstrap::profiler_source_paths_', | |
| 1005 '--library_name', 'dart:profiler', | |
| 1006 '<@(_sources)', | |
| 1007 ], | |
| 1008 'message': 'Generating ''<(profiler_cc_file)'' file.' | |
| 1009 }, | |
| 1010 ] | |
| 1011 }, | |
| 1012 { | |
| 1013 'target_name': 'generate_developer_cc_file', | 970 'target_name': 'generate_developer_cc_file', |
| 1014 'type': 'none', | 971 'type': 'none', |
| 1015 'toolsets':['host'], | 972 'toolsets':['host'], |
| 1016 'includes': [ | 973 'includes': [ |
| 1017 # Load the shared library sources. | 974 # Load the shared library sources. |
| 1018 '../../sdk/lib/developer/developer_sources.gypi', | 975 '../../sdk/lib/developer/developer_sources.gypi', |
| 1019 ], | 976 ], |
| 1020 'sources/': [ | 977 'sources/': [ |
| 1021 # Exclude all .[cc|h] files. | 978 # Exclude all .[cc|h] files. |
| 1022 # This is only here for reference. Excludes happen after | 979 # This is only here for reference. Excludes happen after |
| (...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1151 '--var_name', 'dart::Bootstrap::vmservice_source_paths_', | 1108 '--var_name', 'dart::Bootstrap::vmservice_source_paths_', |
| 1152 '--library_name', 'dart:_vmservice', | 1109 '--library_name', 'dart:_vmservice', |
| 1153 '<@(_sources)', | 1110 '<@(_sources)', |
| 1154 ], | 1111 ], |
| 1155 'message': 'Generating ''<(vmservice_cc_file)'' file.' | 1112 'message': 'Generating ''<(vmservice_cc_file)'' file.' |
| 1156 }, | 1113 }, |
| 1157 ] | 1114 ] |
| 1158 }, | 1115 }, |
| 1159 ] | 1116 ] |
| 1160 } | 1117 } |
| OLD | NEW |