Chromium Code Reviews| 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', |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 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 'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat', | 29 'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat', |
| 30 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', | 30 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', |
| 31 'snapshot_test_dart_file': 'snapshot_test.dart', | 31 'snapshot_test_dart_file': 'snapshot_test.dart', |
| 32 'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc', | 32 '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', | |
| 34 'vmservice_cc_file': '<(gen_source_dir)/vmservice_gen.cc', | 33 'vmservice_cc_file': '<(gen_source_dir)/vmservice_gen.cc', |
| 35 'vmservice_patch_cc_file': '<(gen_source_dir)/vmservice_patch_gen.cc', | 34 'vmservice_patch_cc_file': '<(gen_source_dir)/vmservice_patch_gen.cc', |
| 36 }, | 35 }, |
| 37 'targets': [ | 36 'targets': [ |
| 38 { | 37 { |
| 39 'target_name': 'libdart_vm', | 38 'target_name': 'libdart_vm', |
| 40 'type': 'static_library', | 39 'type': 'static_library', |
| 41 'toolsets':['host', 'target'], | 40 'toolsets':['host', 'target'], |
| 42 'includes': [ | 41 'includes': [ |
| 43 'vm_sources.gypi', | 42 'vm_sources.gypi', |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 227 'generate_internal_cc_file#host', | 226 'generate_internal_cc_file#host', |
| 228 'generate_internal_patch_cc_file#host', | 227 'generate_internal_patch_cc_file#host', |
| 229 'generate_isolate_cc_file#host', | 228 'generate_isolate_cc_file#host', |
| 230 'generate_isolate_patch_cc_file#host', | 229 'generate_isolate_patch_cc_file#host', |
| 231 'generate_math_cc_file#host', | 230 'generate_math_cc_file#host', |
| 232 'generate_math_patch_cc_file#host', | 231 'generate_math_patch_cc_file#host', |
| 233 'generate_mirrors_cc_file#host', | 232 'generate_mirrors_cc_file#host', |
| 234 'generate_mirrors_patch_cc_file#host', | 233 'generate_mirrors_patch_cc_file#host', |
| 235 'generate_profiler_cc_file#host', | 234 'generate_profiler_cc_file#host', |
| 236 'generate_typed_data_cc_file#host', | 235 'generate_typed_data_cc_file#host', |
| 237 'generate_typed_data_patch_cc_file#host', | |
| 238 'generate_vmservice_cc_file#host', | 236 'generate_vmservice_cc_file#host', |
| 239 'generate_vmservice_patch_cc_file#host', | 237 'generate_vmservice_patch_cc_file#host', |
| 240 ], | 238 ], |
| 241 'includes': [ | 239 'includes': [ |
| 242 '../lib/async_sources.gypi', | 240 '../lib/async_sources.gypi', |
| 243 '../lib/collection_sources.gypi', | 241 '../lib/collection_sources.gypi', |
| 244 '../lib/core_sources.gypi', | 242 '../lib/core_sources.gypi', |
| 245 '../lib/developer_sources.gypi', | 243 '../lib/developer_sources.gypi', |
| 246 '../lib/internal_sources.gypi', | 244 '../lib/internal_sources.gypi', |
| 247 '../lib/isolate_sources.gypi', | 245 '../lib/isolate_sources.gypi', |
| (...skipping 18 matching lines...) Expand all Loading... | |
| 266 '<(internal_cc_file)', | 264 '<(internal_cc_file)', |
| 267 '<(internal_patch_cc_file)', | 265 '<(internal_patch_cc_file)', |
| 268 '<(isolate_cc_file)', | 266 '<(isolate_cc_file)', |
| 269 '<(isolate_patch_cc_file)', | 267 '<(isolate_patch_cc_file)', |
| 270 '<(math_cc_file)', | 268 '<(math_cc_file)', |
| 271 '<(math_patch_cc_file)', | 269 '<(math_patch_cc_file)', |
| 272 '<(mirrors_cc_file)', | 270 '<(mirrors_cc_file)', |
| 273 '<(mirrors_patch_cc_file)', | 271 '<(mirrors_patch_cc_file)', |
| 274 '<(profiler_cc_file)', | 272 '<(profiler_cc_file)', |
| 275 '<(typed_data_cc_file)', | 273 '<(typed_data_cc_file)', |
| 276 '<(typed_data_patch_cc_file)', | |
| 277 '<(vmservice_cc_file)', | 274 '<(vmservice_cc_file)', |
| 278 '<(vmservice_patch_cc_file)', | 275 '<(vmservice_patch_cc_file)', |
| 279 ], | 276 ], |
| 280 'include_dirs': [ | 277 'include_dirs': [ |
| 281 '..', | 278 '..', |
| 282 ], | 279 ], |
| 283 }, | 280 }, |
| 284 { | 281 { |
| 285 'target_name': 'libdart_lib', | 282 'target_name': 'libdart_lib', |
| 286 'type': 'static_library', | 283 'type': 'static_library', |
| (...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 967 ], | 964 ], |
| 968 'message': 'Generating ''<(mirrors_patch_cc_file)'' file.' | 965 'message': 'Generating ''<(mirrors_patch_cc_file)'' file.' |
| 969 }, | 966 }, |
| 970 ] | 967 ] |
| 971 }, | 968 }, |
| 972 { | 969 { |
| 973 'target_name': 'generate_typed_data_cc_file', | 970 'target_name': 'generate_typed_data_cc_file', |
| 974 'type': 'none', | 971 'type': 'none', |
| 975 'toolsets':['host'], | 972 'toolsets':['host'], |
| 976 'includes': [ | 973 'includes': [ |
| 977 # Load the shared library sources. | 974 # Load the runtime implementation sources. |
| 978 '../../sdk/lib/typed_data/typed_data_sources.gypi', | 975 '../lib/typed_data_sources.gypi', |
|
zra
2016/03/23 17:23:49
Can this be changed back? This change breaks the c
| |
| 979 ], | 976 ], |
| 980 'sources/': [ | 977 'sources/': [ |
| 981 # Exclude all .[cc|h] files. | 978 # Exclude all .[cc|h] files. |
| 982 # This is only here for reference. Excludes happen after | 979 # This is only here for reference. Excludes happen after |
| 983 # variable expansion, so the script has to do its own | 980 # variable expansion, so the script has to do its own |
| 984 # exclude processing of the sources being passed. | 981 # exclude processing of the sources being passed. |
| 985 ['exclude', '\\.cc|h$'], | 982 ['exclude', '\\.cc|h$'], |
| 986 ], | 983 ], |
| 987 'actions': [ | 984 'actions': [ |
| 988 { | 985 { |
| (...skipping 14 matching lines...) Expand all Loading... | |
| 1003 '--include', 'vm/bootstrap.h', | 1000 '--include', 'vm/bootstrap.h', |
| 1004 '--var_name', 'dart::Bootstrap::typed_data_source_paths_', | 1001 '--var_name', 'dart::Bootstrap::typed_data_source_paths_', |
| 1005 '--library_name', 'dart:typed_data', | 1002 '--library_name', 'dart:typed_data', |
| 1006 '<@(_sources)', | 1003 '<@(_sources)', |
| 1007 ], | 1004 ], |
| 1008 'message': 'Generating ''<(typed_data_cc_file)'' file.' | 1005 'message': 'Generating ''<(typed_data_cc_file)'' file.' |
| 1009 }, | 1006 }, |
| 1010 ] | 1007 ] |
| 1011 }, | 1008 }, |
| 1012 { | 1009 { |
| 1013 'target_name': 'generate_typed_data_patch_cc_file', | |
| 1014 'type': 'none', | |
| 1015 'toolsets':['host'], | |
| 1016 'includes': [ | |
| 1017 # Load the runtime implementation sources. | |
| 1018 '../lib/typed_data_sources.gypi', | |
| 1019 ], | |
| 1020 'sources/': [ | |
| 1021 # Exclude all .[cc|h] files. | |
| 1022 # This is only here for reference. Excludes happen after | |
| 1023 # variable expansion, so the script has to do its own | |
| 1024 # exclude processing of the sources being passed. | |
| 1025 ['exclude', '\\.cc|h$'], | |
| 1026 ], | |
| 1027 'actions': [ | |
| 1028 { | |
| 1029 'action_name': 'generate_typed_data_patch_cc', | |
| 1030 'inputs': [ | |
| 1031 '../tools/gen_library_src_paths.py', | |
| 1032 '<(libgen_in_cc_file)', | |
| 1033 '<@(_sources)', | |
| 1034 ], | |
| 1035 'outputs': [ | |
| 1036 '<(typed_data_patch_cc_file)', | |
| 1037 ], | |
| 1038 'action': [ | |
| 1039 'python', | |
| 1040 'tools/gen_library_src_paths.py', | |
| 1041 '--output', '<(typed_data_patch_cc_file)', | |
| 1042 '--input_cc', '<(libgen_in_cc_file)', | |
| 1043 '--include', 'vm/bootstrap.h', | |
| 1044 '--var_name', 'dart::Bootstrap::typed_data_patch_paths_', | |
| 1045 '--library_name', 'dart:typed_data', | |
| 1046 '<@(_sources)', | |
| 1047 ], | |
| 1048 'message': 'Generating ''<(typed_data_patch_cc_file)'' file.' | |
| 1049 }, | |
| 1050 ] | |
| 1051 }, | |
| 1052 { | |
| 1053 'target_name': 'generate_profiler_cc_file', | 1010 'target_name': 'generate_profiler_cc_file', |
| 1054 'type': 'none', | 1011 'type': 'none', |
| 1055 'toolsets':['host'], | 1012 'toolsets':['host'], |
| 1056 'includes': [ | 1013 'includes': [ |
| 1057 # Load the shared library sources. | 1014 # Load the shared library sources. |
| 1058 '../../sdk/lib/profiler/profiler_sources.gypi', | 1015 '../../sdk/lib/profiler/profiler_sources.gypi', |
| 1059 ], | 1016 ], |
| 1060 'sources/': [ | 1017 'sources/': [ |
| 1061 # Exclude all .[cc|h] files. | 1018 # Exclude all .[cc|h] files. |
| 1062 # This is only here for reference. Excludes happen after | 1019 # This is only here for reference. Excludes happen after |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1272 '--var_name', 'dart::Bootstrap::_vmservice_patch_paths_', | 1229 '--var_name', 'dart::Bootstrap::_vmservice_patch_paths_', |
| 1273 '--library_name', 'dart:_vmservice', | 1230 '--library_name', 'dart:_vmservice', |
| 1274 '<@(_sources)', | 1231 '<@(_sources)', |
| 1275 ], | 1232 ], |
| 1276 'message': 'Generating ''<(vmservice_patch_cc_file)'' file.' | 1233 'message': 'Generating ''<(vmservice_patch_cc_file)'' file.' |
| 1277 }, | 1234 }, |
| 1278 ] | 1235 ] |
| 1279 }, | 1236 }, |
| 1280 ] | 1237 ] |
| 1281 } | 1238 } |
| OLD | NEW |