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 1225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1236 ], | 1236 ], |
1237 'message': 'Generating ''<(vmservice_patch_cc_file)'' file.' | 1237 'message': 'Generating ''<(vmservice_patch_cc_file)'' file.' |
1238 }, | 1238 }, |
1239 ] | 1239 ] |
1240 }, | 1240 }, |
1241 { | 1241 { |
1242 'target_name': 'generate_patched_sdk', | 1242 'target_name': 'generate_patched_sdk', |
1243 'type': 'none', | 1243 'type': 'none', |
1244 'toolsets': ['host'], | 1244 'toolsets': ['host'], |
1245 'dependencies': [ | 1245 'dependencies': [ |
| 1246 'dart_bootstrap#host', |
1246 'generate_async_library_patch', | 1247 'generate_async_library_patch', |
1247 'generate_collection_library_patch', | 1248 'generate_collection_library_patch', |
1248 'generate_convert_library_patch', | 1249 'generate_convert_library_patch', |
1249 'generate_core_library_patch', | 1250 'generate_core_library_patch', |
1250 'generate_developer_library_patch', | 1251 'generate_developer_library_patch', |
1251 'generate_internal_library_patch', | 1252 'generate_internal_library_patch', |
1252 'generate_io_library_patch', | 1253 'generate_io_library_patch', |
1253 'generate_isolate_library_patch', | 1254 'generate_isolate_library_patch', |
1254 'generate_math_library_patch', | 1255 'generate_math_library_patch', |
1255 'generate_mirrors_library_patch', | 1256 'generate_mirrors_library_patch', |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1287 '<(gen_source_dir)/patches/profiler_patch.dart', | 1288 '<(gen_source_dir)/patches/profiler_patch.dart', |
1288 '<(gen_source_dir)/patches/vmservice_patch.dart', | 1289 '<(gen_source_dir)/patches/vmservice_patch.dart', |
1289 ], | 1290 ], |
1290 'outputs': [ | 1291 'outputs': [ |
1291 # Instead of listing all outputs we list a single well-known one. | 1292 # Instead of listing all outputs we list a single well-known one. |
1292 '<(gen_source_dir)/patched_sdk/lib/core/core.dart', | 1293 '<(gen_source_dir)/patched_sdk/lib/core/core.dart', |
1293 ], | 1294 ], |
1294 'action': [ | 1295 'action': [ |
1295 'python', | 1296 'python', |
1296 '../tools/patch_sdk.py', | 1297 '../tools/patch_sdk.py', |
| 1298 '--dart-executable', |
| 1299 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart_bootstrap<(EXECUTABLE_SUFFI
X)', |
1297 'vm', | 1300 'vm', |
1298 '../sdk', | 1301 '../sdk', |
1299 '<(gen_source_dir)/patches', | 1302 '<(gen_source_dir)/patches', |
1300 '<(gen_source_dir)/patched_sdk', | 1303 '<(gen_source_dir)/patched_sdk', |
1301 ], | 1304 ], |
1302 }, | 1305 }, |
1303 ], | 1306 ], |
1304 }, | 1307 }, |
1305 { | 1308 { |
1306 'variables': { | 1309 'variables': { |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1681 '--output', | 1684 '--output', |
1682 '<(gen_source_dir)/patches/<(library_name)_patch.dart', | 1685 '<(gen_source_dir)/patches/<(library_name)_patch.dart', |
1683 '<@(_sources)', | 1686 '<@(_sources)', |
1684 ], | 1687 ], |
1685 'message': 'Generating <(library_uri) patch.', | 1688 'message': 'Generating <(library_uri) patch.', |
1686 }, | 1689 }, |
1687 ], | 1690 ], |
1688 }, | 1691 }, |
1689 ] | 1692 ] |
1690 } | 1693 } |
OLD | NEW |