| 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 'corelib_cc_file': '<(gen_source_dir)/corelib_gen.cc', | 12 'corelib_cc_file': '<(gen_source_dir)/corelib_gen.cc', |
| 13 'corelib_patch_cc_file': '<(gen_source_dir)/corelib_patch_gen.cc', | 13 'corelib_patch_cc_file': '<(gen_source_dir)/corelib_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 'collection_dev_cc_file': '<(gen_source_dir)/collection_dev_gen.cc', | |
| 17 'collection_dev_patch_cc_file': '<(gen_source_dir)/collection_dev_patch_gen.
cc', | |
| 18 'convert_cc_file': '<(gen_source_dir)/convert_gen.cc', | 16 'convert_cc_file': '<(gen_source_dir)/convert_gen.cc', |
| 19 'convert_patch_cc_file': '<(gen_source_dir)/convert_patch_gen.cc', | 17 'convert_patch_cc_file': '<(gen_source_dir)/convert_patch_gen.cc', |
| 18 'internal_cc_file': '<(gen_source_dir)/internal_gen.cc', |
| 19 'internal_patch_cc_file': '<(gen_source_dir)/internal_patch_gen.cc', |
| 20 'isolate_cc_file': '<(gen_source_dir)/isolate_gen.cc', |
| 21 'isolate_patch_cc_file': '<(gen_source_dir)/isolate_patch_gen.cc', |
| 20 'math_cc_file': '<(gen_source_dir)/math_gen.cc', | 22 'math_cc_file': '<(gen_source_dir)/math_gen.cc', |
| 21 'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc', | 23 'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc', |
| 22 'mirrors_cc_file': '<(gen_source_dir)/mirrors_gen.cc', | 24 'mirrors_cc_file': '<(gen_source_dir)/mirrors_gen.cc', |
| 23 'mirrors_patch_cc_file': '<(gen_source_dir)/mirrors_patch_gen.cc', | 25 'mirrors_patch_cc_file': '<(gen_source_dir)/mirrors_patch_gen.cc', |
| 24 'isolate_cc_file': '<(gen_source_dir)/isolate_gen.cc', | |
| 25 'isolate_patch_cc_file': '<(gen_source_dir)/isolate_patch_gen.cc', | |
| 26 'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc', | |
| 27 'typed_data_patch_cc_file': '<(gen_source_dir)/typed_data_patch_gen.cc', | |
| 28 'service_cc_file': '<(gen_source_dir)/service_gen.cc', | 26 'service_cc_file': '<(gen_source_dir)/service_gen.cc', |
| 29 'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat', | 27 'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat', |
| 30 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', | 28 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', |
| 31 'snapshot_test_dart_file': 'snapshot_test.dart', | 29 'snapshot_test_dart_file': 'snapshot_test.dart', |
| 30 'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc', |
| 31 'typed_data_patch_cc_file': '<(gen_source_dir)/typed_data_patch_gen.cc', |
| 32 }, | 32 }, |
| 33 'targets': [ | 33 'targets': [ |
| 34 { | 34 { |
| 35 'target_name': 'libdart_vm', | 35 'target_name': 'libdart_vm', |
| 36 'type': 'static_library', | 36 'type': 'static_library', |
| 37 'toolsets':['host', 'target'], | 37 'toolsets':['host', 'target'], |
| 38 'dependencies': [ | 38 'dependencies': [ |
| 39 'generate_service_cc_file#host' | 39 'generate_service_cc_file#host' |
| 40 ], | 40 ], |
| 41 'includes': [ | 41 'includes': [ |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 'target_name': 'libdart_lib_withcore', | 92 'target_name': 'libdart_lib_withcore', |
| 93 'type': 'static_library', | 93 'type': 'static_library', |
| 94 'toolsets':['host', 'target'], | 94 'toolsets':['host', 'target'], |
| 95 'dependencies': [ | 95 'dependencies': [ |
| 96 'generate_async_cc_file#host', | 96 'generate_async_cc_file#host', |
| 97 'generate_async_patch_cc_file#host', | 97 'generate_async_patch_cc_file#host', |
| 98 'generate_corelib_cc_file#host', | 98 'generate_corelib_cc_file#host', |
| 99 'generate_corelib_patch_cc_file#host', | 99 'generate_corelib_patch_cc_file#host', |
| 100 'generate_collection_cc_file#host', | 100 'generate_collection_cc_file#host', |
| 101 'generate_collection_patch_cc_file#host', | 101 'generate_collection_patch_cc_file#host', |
| 102 'generate_collection_dev_cc_file#host', | |
| 103 'generate_collection_dev_patch_cc_file#host', | |
| 104 'generate_convert_cc_file#host', | 102 'generate_convert_cc_file#host', |
| 105 'generate_convert_patch_cc_file#host', | 103 'generate_convert_patch_cc_file#host', |
| 104 'generate_internal_cc_file#host', |
| 105 'generate_internal_patch_cc_file#host', |
| 106 'generate_isolate_cc_file#host', |
| 107 'generate_isolate_patch_cc_file#host', |
| 106 'generate_math_cc_file#host', | 108 'generate_math_cc_file#host', |
| 107 'generate_math_patch_cc_file#host', | 109 'generate_math_patch_cc_file#host', |
| 108 'generate_isolate_cc_file#host', | |
| 109 'generate_isolate_patch_cc_file#host', | |
| 110 'generate_mirrors_cc_file#host', | 110 'generate_mirrors_cc_file#host', |
| 111 'generate_mirrors_patch_cc_file#host', | 111 'generate_mirrors_patch_cc_file#host', |
| 112 'generate_typed_data_cc_file#host', | 112 'generate_typed_data_cc_file#host', |
| 113 'generate_typed_data_patch_cc_file#host', | 113 'generate_typed_data_patch_cc_file#host', |
| 114 ], | 114 ], |
| 115 'includes': [ | 115 'includes': [ |
| 116 '../lib/async_sources.gypi', | 116 '../lib/async_sources.gypi', |
| 117 '../lib/collection_sources.gypi', | 117 '../lib/collection_sources.gypi', |
| 118 '../lib/corelib_sources.gypi', | 118 '../lib/corelib_sources.gypi', |
| 119 '../lib/isolate_sources.gypi', | 119 '../lib/isolate_sources.gypi', |
| 120 '../lib/math_sources.gypi', | 120 '../lib/math_sources.gypi', |
| 121 '../lib/mirrors_sources.gypi', | 121 '../lib/mirrors_sources.gypi', |
| 122 '../lib/typed_data_sources.gypi', | 122 '../lib/typed_data_sources.gypi', |
| 123 ], | 123 ], |
| 124 'sources': [ | 124 'sources': [ |
| 125 'bootstrap.cc', | 125 'bootstrap.cc', |
| 126 # Include generated source files. | 126 # Include generated source files. |
| 127 '<(async_cc_file)', | 127 '<(async_cc_file)', |
| 128 '<(async_patch_cc_file)', | 128 '<(async_patch_cc_file)', |
| 129 '<(corelib_cc_file)', | 129 '<(corelib_cc_file)', |
| 130 '<(corelib_patch_cc_file)', | 130 '<(corelib_patch_cc_file)', |
| 131 '<(collection_cc_file)', | 131 '<(collection_cc_file)', |
| 132 '<(collection_patch_cc_file)', | 132 '<(collection_patch_cc_file)', |
| 133 '<(collection_dev_cc_file)', | |
| 134 '<(collection_dev_patch_cc_file)', | |
| 135 '<(convert_cc_file)', | 133 '<(convert_cc_file)', |
| 136 '<(convert_patch_cc_file)', | 134 '<(convert_patch_cc_file)', |
| 135 '<(internal_cc_file)', |
| 136 '<(internal_patch_cc_file)', |
| 137 '<(isolate_cc_file)', |
| 138 '<(isolate_patch_cc_file)', |
| 137 '<(math_cc_file)', | 139 '<(math_cc_file)', |
| 138 '<(math_patch_cc_file)', | 140 '<(math_patch_cc_file)', |
| 139 '<(isolate_cc_file)', | |
| 140 '<(isolate_patch_cc_file)', | |
| 141 '<(mirrors_cc_file)', | 141 '<(mirrors_cc_file)', |
| 142 '<(mirrors_patch_cc_file)', | 142 '<(mirrors_patch_cc_file)', |
| 143 '<(typed_data_cc_file)', | 143 '<(typed_data_cc_file)', |
| 144 '<(typed_data_patch_cc_file)', | 144 '<(typed_data_patch_cc_file)', |
| 145 ], | 145 ], |
| 146 'include_dirs': [ | 146 'include_dirs': [ |
| 147 '..', | 147 '..', |
| 148 ], | 148 ], |
| 149 }, | 149 }, |
| 150 { | 150 { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 '--include', 'vm/bootstrap.h', | 200 '--include', 'vm/bootstrap.h', |
| 201 '--var_name', 'dart::Bootstrap::async_source_paths_', | 201 '--var_name', 'dart::Bootstrap::async_source_paths_', |
| 202 '--library_name', 'dart:async', | 202 '--library_name', 'dart:async', |
| 203 '<@(_sources)', | 203 '<@(_sources)', |
| 204 ], | 204 ], |
| 205 'message': 'Generating ''<(async_cc_file)'' file.' | 205 'message': 'Generating ''<(async_cc_file)'' file.' |
| 206 }, | 206 }, |
| 207 ] | 207 ] |
| 208 }, | 208 }, |
| 209 { | 209 { |
| 210 'target_name': 'generate_corelib_cc_file', | 210 'target_name': 'generate_async_patch_cc_file', |
| 211 'type': 'none', | 211 'type': 'none', |
| 212 'toolsets':['host'], | 212 'toolsets':['host'], |
| 213 'includes': [ | 213 'includes': [ |
| 214 # Load the shared core library sources. | 214 # Load the runtime implementation sources. |
| 215 '../../sdk/lib/core/corelib_sources.gypi', | 215 '../lib/async_sources.gypi', |
| 216 ], | 216 ], |
| 217 'sources/': [ | 217 'sources/': [ |
| 218 # Exclude all .[cc|h] files. | 218 # Exclude all .[cc|h] files. |
| 219 # This is only here for reference. Excludes happen after | 219 # This is only here for reference. Excludes happen after |
| 220 # variable expansion, so the script has to do its own | 220 # variable expansion, so the script has to do its own |
| 221 # exclude processing of the sources being passed. | 221 # exclude processing of the sources being passed. |
| 222 ['exclude', '\\.cc|h$'], | 222 ['exclude', '\\.cc|h$'], |
| 223 ], | 223 ], |
| 224 'actions': [ | 224 'actions': [ |
| 225 { | 225 { |
| 226 'action_name': 'generate_corelib_cc', | 226 'action_name': 'generate_async_patch_cc', |
| 227 'inputs': [ | 227 'inputs': [ |
| 228 '../tools/gen_library_src_paths.py', | 228 '../tools/gen_library_src_paths.py', |
| 229 '<(libgen_in_cc_file)', | 229 '<(libgen_in_cc_file)', |
| 230 '<@(_sources)', | 230 '<@(_sources)', |
| 231 ], | 231 ], |
| 232 'outputs': [ | 232 'outputs': [ |
| 233 '<(corelib_cc_file)', | 233 '<(async_patch_cc_file)', |
| 234 ], | 234 ], |
| 235 'action': [ | 235 'action': [ |
| 236 'python', | 236 'python', |
| 237 'tools/gen_library_src_paths.py', | 237 'tools/gen_library_src_paths.py', |
| 238 '--output', '<(corelib_cc_file)', | 238 '--output', '<(async_patch_cc_file)', |
| 239 '--input_cc', '<(libgen_in_cc_file)', | 239 '--input_cc', '<(libgen_in_cc_file)', |
| 240 '--include', 'vm/bootstrap.h', | 240 '--include', 'vm/bootstrap.h', |
| 241 '--var_name', 'dart::Bootstrap::corelib_source_paths_', | 241 '--var_name', 'dart::Bootstrap::async_patch_paths_', |
| 242 '--library_name', 'dart:core', | 242 '--library_name', 'dart:async', |
| 243 '<@(_sources)', | 243 '<@(_sources)', |
| 244 ], | 244 ], |
| 245 'message': 'Generating ''<(corelib_cc_file)'' file.' | 245 'message': 'Generating ''<(async_patch_cc_file)'' file.' |
| 246 }, | 246 }, |
| 247 ] | 247 ] |
| 248 }, | 248 }, |
| 249 { | 249 { |
| 250 'target_name': 'generate_corelib_patch_cc_file', | 250 'target_name': 'generate_collection_cc_file', |
| 251 'type': 'none', | 251 'type': 'none', |
| 252 'toolsets':['host'], | 252 'toolsets':['host'], |
| 253 'includes': [ | 253 'includes': [ |
| 254 # Load the runtime implementation sources. | 254 # Load the shared collection library sources. |
| 255 '../lib/corelib_sources.gypi', | 255 '../../sdk/lib/collection/collection_sources.gypi', |
| 256 ], | 256 ], |
| 257 'sources/': [ | 257 'sources/': [ |
| 258 # Exclude all .[cc|h] files. | 258 # Exclude all .[cc|h] files. |
| 259 # This is only here for reference. Excludes happen after | 259 # This is only here for reference. Excludes happen after |
| 260 # variable expansion, so the script has to do its own | 260 # variable expansion, so the script has to do its own |
| 261 # exclude processing of the sources being passed. | 261 # exclude processing of the sources being passed. |
| 262 ['exclude', '\\.cc|h$'], | 262 ['exclude', '\\.cc|h$'], |
| 263 ], | 263 ], |
| 264 'actions': [ | 264 'actions': [ |
| 265 { | 265 { |
| 266 'action_name': 'generate_corelib_patch_cc', | 266 'action_name': 'generate_collection_cc', |
| 267 'inputs': [ | 267 'inputs': [ |
| 268 '../tools/gen_library_src_paths.py', | 268 '../tools/gen_library_src_paths.py', |
| 269 '<(libgen_in_cc_file)', | 269 '<(libgen_in_cc_file)', |
| 270 '<@(_sources)', | 270 '<@(_sources)', |
| 271 ], | 271 ], |
| 272 'outputs': [ | 272 'outputs': [ |
| 273 '<(corelib_patch_cc_file)', | 273 '<(collection_cc_file)', |
| 274 ], | 274 ], |
| 275 'action': [ | 275 'action': [ |
| 276 'python', | 276 'python', |
| 277 'tools/gen_library_src_paths.py', | 277 'tools/gen_library_src_paths.py', |
| 278 '--output', '<(corelib_patch_cc_file)', | 278 '--output', '<(collection_cc_file)', |
| 279 '--input_cc', '<(libgen_in_cc_file)', | 279 '--input_cc', '<(libgen_in_cc_file)', |
| 280 '--include', 'vm/bootstrap.h', | 280 '--include', 'vm/bootstrap.h', |
| 281 '--var_name', 'dart::Bootstrap::corelib_patch_paths_', | 281 '--var_name', 'dart::Bootstrap::collection_source_paths_', |
| 282 '--library_name', 'dart:corelib', | 282 '--library_name', 'dart:collection', |
| 283 '<@(_sources)', | 283 '<@(_sources)', |
| 284 ], | 284 ], |
| 285 'message': 'Generating ''<(corelib_patch_cc_file)'' file.' | 285 'message': 'Generating ''<(collection_cc_file)'' file.' |
| 286 }, | 286 }, |
| 287 ] | 287 ] |
| 288 }, | 288 }, |
| 289 { | 289 { |
| 290 'target_name': 'generate_collection_cc_file', | 290 'target_name': 'generate_collection_patch_cc_file', |
| 291 'type': 'none', | 291 'type': 'none', |
| 292 'toolsets':['host'], | 292 'toolsets':['host'], |
| 293 'includes': [ | 293 'includes': [ |
| 294 # Load the shared collection library sources. | 294 # Load the runtime implementation sources. |
| 295 '../../sdk/lib/collection/collection_sources.gypi', | 295 '../lib/collection_sources.gypi', |
| 296 ], | 296 ], |
| 297 'sources/': [ | 297 'sources/': [ |
| 298 # Exclude all .[cc|h] files. | 298 # Exclude all .[cc|h] files. |
| 299 # This is only here for reference. Excludes happen after | 299 # This is only here for reference. Excludes happen after |
| 300 # variable expansion, so the script has to do its own | 300 # variable expansion, so the script has to do its own |
| 301 # exclude processing of the sources being passed. | 301 # exclude processing of the sources being passed. |
| 302 ['exclude', '\\.cc|h$'], | 302 ['exclude', '\\.cc|h$'], |
| 303 ], | 303 ], |
| 304 'actions': [ | 304 'actions': [ |
| 305 { | 305 { |
| 306 'action_name': 'generate_collection_cc', | 306 'action_name': 'generate_collection_patch_cc', |
| 307 'inputs': [ | 307 'inputs': [ |
| 308 '../tools/gen_library_src_paths.py', | 308 '../tools/gen_library_src_paths.py', |
| 309 '<(libgen_in_cc_file)', | 309 '<(libgen_in_cc_file)', |
| 310 '<@(_sources)', | 310 '<@(_sources)', |
| 311 ], | 311 ], |
| 312 'outputs': [ | 312 'outputs': [ |
| 313 '<(collection_cc_file)', | 313 '<(collection_patch_cc_file)', |
| 314 ], | 314 ], |
| 315 'action': [ | 315 'action': [ |
| 316 'python', | 316 'python', |
| 317 'tools/gen_library_src_paths.py', | 317 'tools/gen_library_src_paths.py', |
| 318 '--output', '<(collection_cc_file)', | 318 '--output', '<(collection_patch_cc_file)', |
| 319 '--input_cc', '<(libgen_in_cc_file)', | 319 '--input_cc', '<(libgen_in_cc_file)', |
| 320 '--include', 'vm/bootstrap.h', | 320 '--include', 'vm/bootstrap.h', |
| 321 '--var_name', 'dart::Bootstrap::collection_source_paths_', | 321 '--var_name', 'dart::Bootstrap::collection_patch_paths_', |
| 322 '--library_name', 'dart:collection', | 322 '--library_name', 'dart:collection', |
| 323 '<@(_sources)', | 323 '<@(_sources)', |
| 324 ], | 324 ], |
| 325 'message': 'Generating ''<(collection_cc_file)'' file.' | 325 'message': 'Generating ''<(collection_patch_cc_file)'' file.' |
| 326 }, | 326 }, |
| 327 ] | 327 ] |
| 328 }, | 328 }, |
| 329 { | 329 { |
| 330 'target_name': 'generate_collection_dev_patch_cc_file', | 330 'target_name': 'generate_convert_cc_file', |
| 331 'type': 'none', | 331 'type': 'none', |
| 332 'toolsets':['host'], | 332 'toolsets':['host'], |
| 333 'includes': [ | 333 'includes': [ |
| 334 # Load the runtime implementation sources. | 334 # Load the shared convert library sources. |
| 335 '../lib/collection_dev_sources.gypi', | 335 '../../sdk/lib/convert/convert_sources.gypi', |
| 336 ], | 336 ], |
| 337 'sources/': [ | 337 'sources/': [ |
| 338 # Exclude all .[cc|h] files. | 338 # Exclude all .[cc|h] files. |
| 339 # This is only here for reference. Excludes happen after | 339 # This is only here for reference. Excludes happen after |
| 340 # variable expansion, so the script has to do its own | 340 # variable expansion, so the script has to do its own |
| 341 # exclude processing of the sources being passed. | 341 # exclude processing of the sources being passed. |
| 342 ['exclude', '\\.cc|h$'], | 342 ['exclude', '\\.cc|h$'], |
| 343 ], | 343 ], |
| 344 'actions': [ | 344 'actions': [ |
| 345 { | 345 { |
| 346 'action_name': 'generate_collection_dev_patch_cc', | 346 'action_name': 'generate_convert_cc', |
| 347 'inputs': [ | 347 'inputs': [ |
| 348 '../tools/gen_library_src_paths.py', | 348 '../tools/gen_library_src_paths.py', |
| 349 '<(libgen_in_cc_file)', | 349 '<(libgen_in_cc_file)', |
| 350 '<@(_sources)', | 350 '<@(_sources)', |
| 351 ], | 351 ], |
| 352 'outputs': [ | 352 'outputs': [ |
| 353 '<(collection_dev_patch_cc_file)', | 353 '<(convert_cc_file)', |
| 354 ], | 354 ], |
| 355 'action': [ | 355 'action': [ |
| 356 'python', | 356 'python', |
| 357 'tools/gen_library_src_paths.py', | 357 'tools/gen_library_src_paths.py', |
| 358 '--output', '<(collection_dev_patch_cc_file)', | 358 '--output', '<(convert_cc_file)', |
| 359 '--input_cc', '<(libgen_in_cc_file)', | 359 '--input_cc', '<(libgen_in_cc_file)', |
| 360 '--include', 'vm/bootstrap.h', | 360 '--include', 'vm/bootstrap.h', |
| 361 '--var_name', 'dart::Bootstrap::collection_dev_patch_paths_', | 361 '--var_name', 'dart::Bootstrap::convert_source_paths_', |
| 362 '--library_name', 'dart:_collection-dev', | 362 '--library_name', 'dart:convert', |
| 363 '<@(_sources)', | 363 '<@(_sources)', |
| 364 ], | 364 ], |
| 365 'message': 'Generating ''<(collection_dev_patch_cc_file)'' file.' | 365 'message': 'Generating ''<(convert_cc_file)'' file.' |
| 366 }, | 366 }, |
| 367 ] | 367 ] |
| 368 }, | 368 }, |
| 369 { | 369 { |
| 370 'target_name': 'generate_collection_dev_cc_file', | 370 'target_name': 'generate_convert_patch_cc_file', |
| 371 'type': 'none', | 371 'type': 'none', |
| 372 'toolsets':['host'], | 372 'toolsets':['host'], |
| 373 'includes': [ | 373 'includes': [ |
| 374 # Load the shared collection_dev library sources. | 374 # Load the shared convert library sources. |
| 375 '../../sdk/lib/_collection_dev/collection_dev_sources.gypi', | 375 '../lib/convert_sources.gypi', |
| 376 ], | 376 ], |
| 377 'sources/': [ | 377 'sources/': [ |
| 378 # Exclude all .[cc|h] files. | 378 # Exclude all .[cc|h] files. |
| 379 # This is only here for reference. Excludes happen after | 379 # This is only here for reference. Excludes happen after |
| 380 # variable expansion, so the script has to do its own | 380 # variable expansion, so the script has to do its own |
| 381 # exclude processing of the sources being passed. | 381 # exclude processing of the sources being passed. |
| 382 ['exclude', '\\.cc|h$'], | 382 ['exclude', '\\.cc|h$'], |
| 383 ], | 383 ], |
| 384 'actions': [ | 384 'actions': [ |
| 385 { | 385 { |
| 386 'action_name': 'generate_collection_dev_cc', | 386 'action_name': 'generate_convert_patch_cc', |
| 387 'inputs': [ | 387 'inputs': [ |
| 388 '../tools/gen_library_src_paths.py', | 388 '../tools/gen_library_src_paths.py', |
| 389 '<(libgen_in_cc_file)', | 389 '<(libgen_in_cc_file)', |
| 390 '<@(_sources)', | 390 '<@(_sources)', |
| 391 ], | 391 ], |
| 392 'outputs': [ | 392 'outputs': [ |
| 393 '<(collection_dev_cc_file)', | 393 '<(convert_patch_cc_file)', |
| 394 ], | 394 ], |
| 395 'action': [ | 395 'action': [ |
| 396 'python', | 396 'python', |
| 397 'tools/gen_library_src_paths.py', | 397 'tools/gen_library_src_paths.py', |
| 398 '--output', '<(collection_dev_cc_file)', | 398 '--output', '<(convert_patch_cc_file)', |
| 399 '--input_cc', '<(libgen_in_cc_file)', | 399 '--input_cc', '<(libgen_in_cc_file)', |
| 400 '--include', 'vm/bootstrap.h', | 400 '--include', 'vm/bootstrap.h', |
| 401 '--var_name', 'dart::Bootstrap::collection_dev_source_paths_', | 401 '--var_name', 'dart::Bootstrap::convert_patch_paths_', |
| 402 '--library_name', 'dart:_collection-dev', | 402 '--library_name', 'dart:convert', |
| 403 '<@(_sources)', | 403 '<@(_sources)', |
| 404 ], | 404 ], |
| 405 'message': 'Generating ''<(collection_dev_cc_file)'' file.' | 405 'message': 'Generating ''<(convert_patch_cc_file)'' file.' |
| 406 }, | 406 }, |
| 407 ] | 407 ] |
| 408 }, | 408 }, |
| 409 { | 409 { |
| 410 'target_name': 'generate_convert_cc_file', | 410 'target_name': 'generate_corelib_cc_file', |
| 411 'type': 'none', | 411 'type': 'none', |
| 412 'toolsets':['host'], | 412 'toolsets':['host'], |
| 413 'includes': [ | 413 'includes': [ |
| 414 # Load the shared convert library sources. | 414 # Load the shared core library sources. |
| 415 '../../sdk/lib/convert/convert_sources.gypi', | 415 '../../sdk/lib/core/corelib_sources.gypi', |
| 416 ], | 416 ], |
| 417 'sources/': [ | 417 'sources/': [ |
| 418 # Exclude all .[cc|h] files. | 418 # Exclude all .[cc|h] files. |
| 419 # This is only here for reference. Excludes happen after | 419 # This is only here for reference. Excludes happen after |
| 420 # variable expansion, so the script has to do its own | 420 # variable expansion, so the script has to do its own |
| 421 # exclude processing of the sources being passed. | 421 # exclude processing of the sources being passed. |
| 422 ['exclude', '\\.cc|h$'], | 422 ['exclude', '\\.cc|h$'], |
| 423 ], | 423 ], |
| 424 'actions': [ | 424 'actions': [ |
| 425 { | 425 { |
| 426 'action_name': 'generate_convert_cc', | 426 'action_name': 'generate_corelib_cc', |
| 427 'inputs': [ | 427 'inputs': [ |
| 428 '../tools/gen_library_src_paths.py', | 428 '../tools/gen_library_src_paths.py', |
| 429 '<(libgen_in_cc_file)', | 429 '<(libgen_in_cc_file)', |
| 430 '<@(_sources)', | 430 '<@(_sources)', |
| 431 ], | 431 ], |
| 432 'outputs': [ | 432 'outputs': [ |
| 433 '<(convert_cc_file)', | 433 '<(corelib_cc_file)', |
| 434 ], | 434 ], |
| 435 'action': [ | 435 'action': [ |
| 436 'python', | 436 'python', |
| 437 'tools/gen_library_src_paths.py', | 437 'tools/gen_library_src_paths.py', |
| 438 '--output', '<(convert_cc_file)', | 438 '--output', '<(corelib_cc_file)', |
| 439 '--input_cc', '<(libgen_in_cc_file)', | 439 '--input_cc', '<(libgen_in_cc_file)', |
| 440 '--include', 'vm/bootstrap.h', | 440 '--include', 'vm/bootstrap.h', |
| 441 '--var_name', 'dart::Bootstrap::convert_source_paths_', | 441 '--var_name', 'dart::Bootstrap::corelib_source_paths_', |
| 442 '--library_name', 'dart:convert', | 442 '--library_name', 'dart:core', |
| 443 '<@(_sources)', | 443 '<@(_sources)', |
| 444 ], | 444 ], |
| 445 'message': 'Generating ''<(convert_cc_file)'' file.' | 445 'message': 'Generating ''<(corelib_cc_file)'' file.' |
| 446 }, | 446 }, |
| 447 ] | 447 ] |
| 448 }, | 448 }, |
| 449 { | 449 { |
| 450 'target_name': 'generate_convert_patch_cc_file', | 450 'target_name': 'generate_corelib_patch_cc_file', |
| 451 'type': 'none', | 451 'type': 'none', |
| 452 'toolsets':['host'], | 452 'toolsets':['host'], |
| 453 'includes': [ | 453 'includes': [ |
| 454 # Load the shared convert library sources. | 454 # Load the runtime implementation sources. |
| 455 '../lib/convert_sources.gypi', | 455 '../lib/corelib_sources.gypi', |
| 456 ], | 456 ], |
| 457 'sources/': [ | 457 'sources/': [ |
| 458 # Exclude all .[cc|h] files. | 458 # Exclude all .[cc|h] files. |
| 459 # This is only here for reference. Excludes happen after | 459 # This is only here for reference. Excludes happen after |
| 460 # variable expansion, so the script has to do its own | 460 # variable expansion, so the script has to do its own |
| 461 # exclude processing of the sources being passed. | 461 # exclude processing of the sources being passed. |
| 462 ['exclude', '\\.cc|h$'], | 462 ['exclude', '\\.cc|h$'], |
| 463 ], | 463 ], |
| 464 'actions': [ | 464 'actions': [ |
| 465 { | 465 { |
| 466 'action_name': 'generate_convert_patch_cc', | 466 'action_name': 'generate_corelib_patch_cc', |
| 467 'inputs': [ | 467 'inputs': [ |
| 468 '../tools/gen_library_src_paths.py', | 468 '../tools/gen_library_src_paths.py', |
| 469 '<(libgen_in_cc_file)', | 469 '<(libgen_in_cc_file)', |
| 470 '<@(_sources)', | 470 '<@(_sources)', |
| 471 ], | 471 ], |
| 472 'outputs': [ | 472 'outputs': [ |
| 473 '<(convert_patch_cc_file)', | 473 '<(corelib_patch_cc_file)', |
| 474 ], | 474 ], |
| 475 'action': [ | 475 'action': [ |
| 476 'python', | 476 'python', |
| 477 'tools/gen_library_src_paths.py', | 477 'tools/gen_library_src_paths.py', |
| 478 '--output', '<(convert_patch_cc_file)', | 478 '--output', '<(corelib_patch_cc_file)', |
| 479 '--input_cc', '<(libgen_in_cc_file)', | 479 '--input_cc', '<(libgen_in_cc_file)', |
| 480 '--include', 'vm/bootstrap.h', | 480 '--include', 'vm/bootstrap.h', |
| 481 '--var_name', 'dart::Bootstrap::convert_patch_paths_', | 481 '--var_name', 'dart::Bootstrap::corelib_patch_paths_', |
| 482 '--library_name', 'dart:convert', | 482 '--library_name', 'dart:corelib', |
| 483 '<@(_sources)', | 483 '<@(_sources)', |
| 484 ], | 484 ], |
| 485 'message': 'Generating ''<(convert_patch_cc_file)'' file.' | 485 'message': 'Generating ''<(corelib_patch_cc_file)'' file.' |
| 486 }, | 486 }, |
| 487 ] | 487 ] |
| 488 }, | 488 }, |
| 489 { | 489 { |
| 490 'target_name': 'generate_math_cc_file', | 490 'target_name': 'generate_internal_patch_cc_file', |
| 491 'type': 'none', | 491 'type': 'none', |
| 492 'toolsets':['host'], | 492 'toolsets':['host'], |
| 493 'includes': [ | 493 'includes': [ |
| 494 # Load the shared math library sources. | 494 # Load the runtime implementation sources. |
| 495 '../../sdk/lib/math/math_sources.gypi', | 495 '../lib/internal_sources.gypi', |
| 496 ], | 496 ], |
| 497 'sources/': [ | 497 'sources/': [ |
| 498 # Exclude all .[cc|h] files. | 498 # Exclude all .[cc|h] files. |
| 499 # This is only here for reference. Excludes happen after | 499 # This is only here for reference. Excludes happen after |
| 500 # variable expansion, so the script has to do its own | 500 # variable expansion, so the script has to do its own |
| 501 # exclude processing of the sources being passed. | 501 # exclude processing of the sources being passed. |
| 502 ['exclude', '\\.cc|h$'], | 502 ['exclude', '\\.cc|h$'], |
| 503 ], | 503 ], |
| 504 'actions': [ | 504 'actions': [ |
| 505 { | 505 { |
| 506 'action_name': 'generate_math_cc', | 506 'action_name': 'generate_internal_patch_cc', |
| 507 'inputs': [ | 507 'inputs': [ |
| 508 '../tools/gen_library_src_paths.py', | 508 '../tools/gen_library_src_paths.py', |
| 509 '<(libgen_in_cc_file)', | 509 '<(libgen_in_cc_file)', |
| 510 '<@(_sources)', | 510 '<@(_sources)', |
| 511 ], | 511 ], |
| 512 'outputs': [ | 512 'outputs': [ |
| 513 '<(math_cc_file)', | 513 '<(internal_patch_cc_file)', |
| 514 ], | 514 ], |
| 515 'action': [ | 515 'action': [ |
| 516 'python', | 516 'python', |
| 517 'tools/gen_library_src_paths.py', | 517 'tools/gen_library_src_paths.py', |
| 518 '--output', '<(math_cc_file)', | 518 '--output', '<(internal_patch_cc_file)', |
| 519 '--input_cc', '<(libgen_in_cc_file)', | 519 '--input_cc', '<(libgen_in_cc_file)', |
| 520 '--include', 'vm/bootstrap.h', | 520 '--include', 'vm/bootstrap.h', |
| 521 '--var_name', 'dart::Bootstrap::math_source_paths_', | 521 '--var_name', 'dart::Bootstrap::internal_patch_paths_', |
| 522 '--library_name', 'dart:math', | 522 '--library_name', 'dart:_internal', |
| 523 '<@(_sources)', | 523 '<@(_sources)', |
| 524 ], | 524 ], |
| 525 'message': 'Generating ''<(math_cc_file)'' file.' | 525 'message': 'Generating ''<(internal_patch_cc_file)'' file.' |
| 526 }, | 526 }, |
| 527 ] | 527 ] |
| 528 }, | 528 }, |
| 529 { | 529 { |
| 530 'target_name': 'generate_math_patch_cc_file', | 530 'target_name': 'generate_internal_cc_file', |
| 531 'type': 'none', | 531 'type': 'none', |
| 532 'toolsets':['host'], | 532 'toolsets':['host'], |
| 533 'includes': [ | 533 'includes': [ |
| 534 # Load the shared math library sources. | 534 # Load the shared internal library sources. |
| 535 '../lib/math_sources.gypi', | 535 '../../sdk/lib/internal/internal_sources.gypi', |
| 536 ], | 536 ], |
| 537 'sources/': [ | 537 'sources/': [ |
| 538 # Exclude all .[cc|h] files. | 538 # Exclude all .[cc|h] files. |
| 539 # This is only here for reference. Excludes happen after | 539 # This is only here for reference. Excludes happen after |
| 540 # variable expansion, so the script has to do its own | 540 # variable expansion, so the script has to do its own |
| 541 # exclude processing of the sources being passed. | 541 # exclude processing of the sources being passed. |
| 542 ['exclude', '\\.cc|h$'], | 542 ['exclude', '\\.cc|h$'], |
| 543 ], | 543 ], |
| 544 'actions': [ | 544 'actions': [ |
| 545 { | 545 { |
| 546 'action_name': 'generate_math_patch_cc', | 546 'action_name': 'generate_internal_cc', |
| 547 'inputs': [ | 547 'inputs': [ |
| 548 '../tools/gen_library_src_paths.py', | 548 '../tools/gen_library_src_paths.py', |
| 549 '<(libgen_in_cc_file)', | 549 '<(libgen_in_cc_file)', |
| 550 '<@(_sources)', | 550 '<@(_sources)', |
| 551 ], | 551 ], |
| 552 'outputs': [ | 552 'outputs': [ |
| 553 '<(math_patch_cc_file)', | 553 '<(internal_cc_file)', |
| 554 ], | 554 ], |
| 555 'action': [ | 555 'action': [ |
| 556 'python', | 556 'python', |
| 557 'tools/gen_library_src_paths.py', | 557 'tools/gen_library_src_paths.py', |
| 558 '--output', '<(math_patch_cc_file)', | 558 '--output', '<(internal_cc_file)', |
| 559 '--input_cc', '<(libgen_in_cc_file)', | 559 '--input_cc', '<(libgen_in_cc_file)', |
| 560 '--include', 'vm/bootstrap.h', | 560 '--include', 'vm/bootstrap.h', |
| 561 '--var_name', 'dart::Bootstrap::math_patch_paths_', | 561 '--var_name', 'dart::Bootstrap::internal_source_paths_', |
| 562 '--library_name', 'dart:math', | 562 '--library_name', 'dart:_internal', |
| 563 '<@(_sources)', | 563 '<@(_sources)', |
| 564 ], | 564 ], |
| 565 'message': 'Generating ''<(math_patch_cc_file)'' file.' | 565 'message': 'Generating ''<(internal_cc_file)'' file.' |
| 566 }, | 566 }, |
| 567 ] | 567 ] |
| 568 }, | 568 }, |
| 569 { | 569 { |
| 570 'target_name': 'generate_mirrors_cc_file', | 570 'target_name': 'generate_isolate_cc_file', |
| 571 'type': 'none', | 571 'type': 'none', |
| 572 'toolsets':['host'], | 572 'toolsets':['host'], |
| 573 'includes': [ | 573 'includes': [ |
| 574 # Load the shared core library sources. | 574 # Load the runtime implementation sources. |
| 575 '../../sdk/lib/mirrors/mirrors_sources.gypi', | 575 '../../sdk/lib/isolate/isolate_sources.gypi', |
| 576 ], | 576 ], |
| 577 'sources/': [ | 577 'sources/': [ |
| 578 # Exclude all .[cc|h] files. | 578 # Exclude all .[cc|h] files. |
| 579 # This is only here for reference. Excludes happen after | 579 # This is only here for reference. Excludes happen after |
| 580 # variable expansion, so the script has to do its own | 580 # variable expansion, so the script has to do its own |
| 581 # exclude processing of the sources being passed. | 581 # exclude processing of the sources being passed. |
| 582 ['exclude', '\\.cc|h$'], | 582 ['exclude', '\\.cc|h$'], |
| 583 ], | 583 ], |
| 584 'actions': [ | 584 'actions': [ |
| 585 { | 585 { |
| 586 'action_name': 'generate_mirrors_cc', | 586 'action_name': 'generate_isolate_cc', |
| 587 'inputs': [ | 587 'inputs': [ |
| 588 '../tools/gen_library_src_paths.py', | 588 '../tools/gen_library_src_paths.py', |
| 589 '<(libgen_in_cc_file)', | 589 '<(libgen_in_cc_file)', |
| 590 '<@(_sources)', | 590 '<@(_sources)', |
| 591 ], | 591 ], |
| 592 'outputs': [ | 592 'outputs': [ |
| 593 '<(mirrors_cc_file)', | 593 '<(isolate_cc_file)', |
| 594 ], | 594 ], |
| 595 'action': [ | 595 'action': [ |
| 596 'python', | 596 'python', |
| 597 'tools/gen_library_src_paths.py', | 597 'tools/gen_library_src_paths.py', |
| 598 '--output', '<(mirrors_cc_file)', | 598 '--output', '<(isolate_cc_file)', |
| 599 '--input_cc', '<(libgen_in_cc_file)', | 599 '--input_cc', '<(libgen_in_cc_file)', |
| 600 '--include', 'vm/bootstrap.h', | 600 '--include', 'vm/bootstrap.h', |
| 601 '--var_name', 'dart::Bootstrap::mirrors_source_paths_', | 601 '--var_name', 'dart::Bootstrap::isolate_source_paths_', |
| 602 '--library_name', 'dart:mirrors', | 602 '--library_name', 'dart:isolate', |
| 603 '<@(_sources)', | 603 '<@(_sources)', |
| 604 ], | 604 ], |
| 605 'message': 'Generating ''<(mirrors_cc_file)'' file.' | 605 'message': 'Generating ''<(isolate_cc_file)'' file.' |
| 606 }, | 606 }, |
| 607 ] | 607 ] |
| 608 }, | 608 }, |
| 609 { | 609 { |
| 610 'target_name': 'generate_mirrors_patch_cc_file', | 610 'target_name': 'generate_isolate_patch_cc_file', |
| 611 'type': 'none', | 611 'type': 'none', |
| 612 'toolsets':['host'], | 612 'toolsets':['host'], |
| 613 'includes': [ | 613 'includes': [ |
| 614 # Load the patch sources. | 614 # Load the runtime implementation sources. |
| 615 '../lib/mirrors_sources.gypi', | 615 '../lib/isolate_sources.gypi', |
| 616 ], | 616 ], |
| 617 'sources/': [ | 617 'sources/': [ |
| 618 # Exclude all .[cc|h] files. | 618 # Exclude all .[cc|h] files. |
| 619 # This is only here for reference. Excludes happen after | 619 # This is only here for reference. Excludes happen after |
| 620 # variable expansion, so the script has to do its own | 620 # variable expansion, so the script has to do its own |
| 621 # exclude processing of the sources being passed. | 621 # exclude processing of the sources being passed. |
| 622 ['exclude', '\\.cc|h$'], | 622 ['exclude', '\\.cc|h$'], |
| 623 ], | 623 ], |
| 624 'actions': [ | 624 'actions': [ |
| 625 { | 625 { |
| 626 'action_name': 'generate_mirrors_patch_cc', | 626 'action_name': 'generate_isolate_patch_cc', |
| 627 'inputs': [ | 627 'inputs': [ |
| 628 '../tools/gen_library_src_paths.py', | 628 '../tools/gen_library_src_paths.py', |
| 629 '<(libgen_in_cc_file)', | 629 '<(libgen_in_cc_file)', |
| 630 '<@(_sources)', | 630 '<@(_sources)', |
| 631 ], | 631 ], |
| 632 'outputs': [ | 632 'outputs': [ |
| 633 '<(mirrors_patch_cc_file)', | 633 '<(isolate_patch_cc_file)', |
| 634 ], | 634 ], |
| 635 'action': [ | 635 'action': [ |
| 636 'python', | 636 'python', |
| 637 'tools/gen_library_src_paths.py', | 637 'tools/gen_library_src_paths.py', |
| 638 '--output', '<(mirrors_patch_cc_file)', | 638 '--output', '<(isolate_patch_cc_file)', |
| 639 '--input_cc', '<(libgen_in_cc_file)', | 639 '--input_cc', '<(libgen_in_cc_file)', |
| 640 '--include', 'vm/bootstrap.h', | 640 '--include', 'vm/bootstrap.h', |
| 641 '--var_name', 'dart::Bootstrap::mirrors_patch_paths_', | 641 '--var_name', 'dart::Bootstrap::isolate_patch_paths_', |
| 642 '--library_name', 'dart:mirrors', | 642 '--library_name', 'dart:isolate', |
| 643 '<@(_sources)', | 643 '<@(_sources)', |
| 644 ], | 644 ], |
| 645 'message': 'Generating ''<(mirrors_patch_cc_file)'' file.' | 645 'message': 'Generating ''<(isolate_patch_cc_file)'' file.' |
| 646 }, | 646 }, |
| 647 ] | 647 ] |
| 648 }, | 648 }, |
| 649 { | 649 { |
| 650 'target_name': 'generate_isolate_cc_file', | 650 'target_name': 'generate_math_cc_file', |
| 651 'type': 'none', | 651 'type': 'none', |
| 652 'toolsets':['host'], | 652 'toolsets':['host'], |
| 653 'includes': [ | 653 'includes': [ |
| 654 # Load the runtime implementation sources. | 654 # Load the shared math library sources. |
| 655 '../../sdk/lib/isolate/isolate_sources.gypi', | 655 '../../sdk/lib/math/math_sources.gypi', |
| 656 ], | 656 ], |
| 657 'sources/': [ | 657 'sources/': [ |
| 658 # Exclude all .[cc|h] files. | 658 # Exclude all .[cc|h] files. |
| 659 # This is only here for reference. Excludes happen after | 659 # This is only here for reference. Excludes happen after |
| 660 # variable expansion, so the script has to do its own | 660 # variable expansion, so the script has to do its own |
| 661 # exclude processing of the sources being passed. | 661 # exclude processing of the sources being passed. |
| 662 ['exclude', '\\.cc|h$'], | 662 ['exclude', '\\.cc|h$'], |
| 663 ], | 663 ], |
| 664 'actions': [ | 664 'actions': [ |
| 665 { | 665 { |
| 666 'action_name': 'generate_isolate_cc', | 666 'action_name': 'generate_math_cc', |
| 667 'inputs': [ | 667 'inputs': [ |
| 668 '../tools/gen_library_src_paths.py', | 668 '../tools/gen_library_src_paths.py', |
| 669 '<(libgen_in_cc_file)', | 669 '<(libgen_in_cc_file)', |
| 670 '<@(_sources)', | 670 '<@(_sources)', |
| 671 ], | 671 ], |
| 672 'outputs': [ | 672 'outputs': [ |
| 673 '<(isolate_cc_file)', | 673 '<(math_cc_file)', |
| 674 ], | 674 ], |
| 675 'action': [ | 675 'action': [ |
| 676 'python', | 676 'python', |
| 677 'tools/gen_library_src_paths.py', | 677 'tools/gen_library_src_paths.py', |
| 678 '--output', '<(isolate_cc_file)', | 678 '--output', '<(math_cc_file)', |
| 679 '--input_cc', '<(libgen_in_cc_file)', | 679 '--input_cc', '<(libgen_in_cc_file)', |
| 680 '--include', 'vm/bootstrap.h', | 680 '--include', 'vm/bootstrap.h', |
| 681 '--var_name', 'dart::Bootstrap::isolate_source_paths_', | 681 '--var_name', 'dart::Bootstrap::math_source_paths_', |
| 682 '--library_name', 'dart:isolate', | 682 '--library_name', 'dart:math', |
| 683 '<@(_sources)', | 683 '<@(_sources)', |
| 684 ], | 684 ], |
| 685 'message': 'Generating ''<(isolate_cc_file)'' file.' | 685 'message': 'Generating ''<(math_cc_file)'' file.' |
| 686 }, | 686 }, |
| 687 ] | 687 ] |
| 688 }, | 688 }, |
| 689 { | 689 { |
| 690 'target_name': 'generate_async_patch_cc_file', | 690 'target_name': 'generate_math_patch_cc_file', |
| 691 'type': 'none', | 691 'type': 'none', |
| 692 'toolsets':['host'], | 692 'toolsets':['host'], |
| 693 'includes': [ | 693 'includes': [ |
| 694 # Load the runtime implementation sources. | 694 # Load the shared math library sources. |
| 695 '../lib/async_sources.gypi', | 695 '../lib/math_sources.gypi', |
| 696 ], | 696 ], |
| 697 'sources/': [ | 697 'sources/': [ |
| 698 # Exclude all .[cc|h] files. | 698 # Exclude all .[cc|h] files. |
| 699 # This is only here for reference. Excludes happen after | 699 # This is only here for reference. Excludes happen after |
| 700 # variable expansion, so the script has to do its own | 700 # variable expansion, so the script has to do its own |
| 701 # exclude processing of the sources being passed. | 701 # exclude processing of the sources being passed. |
| 702 ['exclude', '\\.cc|h$'], | 702 ['exclude', '\\.cc|h$'], |
| 703 ], | 703 ], |
| 704 'actions': [ | 704 'actions': [ |
| 705 { | 705 { |
| 706 'action_name': 'generate_async_patch_cc', | 706 'action_name': 'generate_math_patch_cc', |
| 707 'inputs': [ | 707 'inputs': [ |
| 708 '../tools/gen_library_src_paths.py', | 708 '../tools/gen_library_src_paths.py', |
| 709 '<(libgen_in_cc_file)', | 709 '<(libgen_in_cc_file)', |
| 710 '<@(_sources)', | 710 '<@(_sources)', |
| 711 ], | 711 ], |
| 712 'outputs': [ | 712 'outputs': [ |
| 713 '<(async_patch_cc_file)', | 713 '<(math_patch_cc_file)', |
| 714 ], | 714 ], |
| 715 'action': [ | 715 'action': [ |
| 716 'python', | 716 'python', |
| 717 'tools/gen_library_src_paths.py', | 717 'tools/gen_library_src_paths.py', |
| 718 '--output', '<(async_patch_cc_file)', | 718 '--output', '<(math_patch_cc_file)', |
| 719 '--input_cc', '<(libgen_in_cc_file)', | 719 '--input_cc', '<(libgen_in_cc_file)', |
| 720 '--include', 'vm/bootstrap.h', | 720 '--include', 'vm/bootstrap.h', |
| 721 '--var_name', 'dart::Bootstrap::async_patch_paths_', | 721 '--var_name', 'dart::Bootstrap::math_patch_paths_', |
| 722 '--library_name', 'dart:async', | 722 '--library_name', 'dart:math', |
| 723 '<@(_sources)', | 723 '<@(_sources)', |
| 724 ], | 724 ], |
| 725 'message': 'Generating ''<(async_patch_cc_file)'' file.' | 725 'message': 'Generating ''<(math_patch_cc_file)'' file.' |
| 726 }, | 726 }, |
| 727 ] | 727 ] |
| 728 }, | 728 }, |
| 729 { | 729 { |
| 730 'target_name': 'generate_collection_patch_cc_file', | 730 'target_name': 'generate_mirrors_cc_file', |
| 731 'type': 'none', | 731 'type': 'none', |
| 732 'toolsets':['host'], | 732 'toolsets':['host'], |
| 733 'includes': [ | 733 'includes': [ |
| 734 # Load the runtime implementation sources. | 734 # Load the shared core library sources. |
| 735 '../lib/collection_sources.gypi', | 735 '../../sdk/lib/mirrors/mirrors_sources.gypi', |
| 736 ], | 736 ], |
| 737 'sources/': [ | 737 'sources/': [ |
| 738 # Exclude all .[cc|h] files. | 738 # Exclude all .[cc|h] files. |
| 739 # This is only here for reference. Excludes happen after | 739 # This is only here for reference. Excludes happen after |
| 740 # variable expansion, so the script has to do its own | 740 # variable expansion, so the script has to do its own |
| 741 # exclude processing of the sources being passed. | 741 # exclude processing of the sources being passed. |
| 742 ['exclude', '\\.cc|h$'], | 742 ['exclude', '\\.cc|h$'], |
| 743 ], | 743 ], |
| 744 'actions': [ | 744 'actions': [ |
| 745 { | 745 { |
| 746 'action_name': 'generate_collection_patch_cc', | 746 'action_name': 'generate_mirrors_cc', |
| 747 'inputs': [ | 747 'inputs': [ |
| 748 '../tools/gen_library_src_paths.py', | 748 '../tools/gen_library_src_paths.py', |
| 749 '<(libgen_in_cc_file)', | 749 '<(libgen_in_cc_file)', |
| 750 '<@(_sources)', | 750 '<@(_sources)', |
| 751 ], | 751 ], |
| 752 'outputs': [ | 752 'outputs': [ |
| 753 '<(collection_patch_cc_file)', | 753 '<(mirrors_cc_file)', |
| 754 ], | 754 ], |
| 755 'action': [ | 755 'action': [ |
| 756 'python', | 756 'python', |
| 757 'tools/gen_library_src_paths.py', | 757 'tools/gen_library_src_paths.py', |
| 758 '--output', '<(collection_patch_cc_file)', | 758 '--output', '<(mirrors_cc_file)', |
| 759 '--input_cc', '<(libgen_in_cc_file)', | 759 '--input_cc', '<(libgen_in_cc_file)', |
| 760 '--include', 'vm/bootstrap.h', | 760 '--include', 'vm/bootstrap.h', |
| 761 '--var_name', 'dart::Bootstrap::collection_patch_paths_', | 761 '--var_name', 'dart::Bootstrap::mirrors_source_paths_', |
| 762 '--library_name', 'dart:collection', | 762 '--library_name', 'dart:mirrors', |
| 763 '<@(_sources)', | 763 '<@(_sources)', |
| 764 ], | 764 ], |
| 765 'message': 'Generating ''<(collection_patch_cc_file)'' file.' | 765 'message': 'Generating ''<(mirrors_cc_file)'' file.' |
| 766 }, | 766 }, |
| 767 ] | 767 ] |
| 768 }, | 768 }, |
| 769 { | 769 { |
| 770 'target_name': 'generate_isolate_patch_cc_file', | 770 'target_name': 'generate_mirrors_patch_cc_file', |
| 771 'type': 'none', | 771 'type': 'none', |
| 772 'toolsets':['host'], | 772 'toolsets':['host'], |
| 773 'includes': [ | 773 'includes': [ |
| 774 # Load the runtime implementation sources. | 774 # Load the patch sources. |
| 775 '../lib/isolate_sources.gypi', | 775 '../lib/mirrors_sources.gypi', |
| 776 ], | 776 ], |
| 777 'sources/': [ | 777 'sources/': [ |
| 778 # Exclude all .[cc|h] files. | 778 # Exclude all .[cc|h] files. |
| 779 # This is only here for reference. Excludes happen after | 779 # This is only here for reference. Excludes happen after |
| 780 # variable expansion, so the script has to do its own | 780 # variable expansion, so the script has to do its own |
| 781 # exclude processing of the sources being passed. | 781 # exclude processing of the sources being passed. |
| 782 ['exclude', '\\.cc|h$'], | 782 ['exclude', '\\.cc|h$'], |
| 783 ], | 783 ], |
| 784 'actions': [ | 784 'actions': [ |
| 785 { | 785 { |
| 786 'action_name': 'generate_isolate_patch_cc', | 786 'action_name': 'generate_mirrors_patch_cc', |
| 787 'inputs': [ | 787 'inputs': [ |
| 788 '../tools/gen_library_src_paths.py', | 788 '../tools/gen_library_src_paths.py', |
| 789 '<(libgen_in_cc_file)', | 789 '<(libgen_in_cc_file)', |
| 790 '<@(_sources)', | 790 '<@(_sources)', |
| 791 ], | 791 ], |
| 792 'outputs': [ | 792 'outputs': [ |
| 793 '<(isolate_patch_cc_file)', | 793 '<(mirrors_patch_cc_file)', |
| 794 ], | 794 ], |
| 795 'action': [ | 795 'action': [ |
| 796 'python', | 796 'python', |
| 797 'tools/gen_library_src_paths.py', | 797 'tools/gen_library_src_paths.py', |
| 798 '--output', '<(isolate_patch_cc_file)', | 798 '--output', '<(mirrors_patch_cc_file)', |
| 799 '--input_cc', '<(libgen_in_cc_file)', | 799 '--input_cc', '<(libgen_in_cc_file)', |
| 800 '--include', 'vm/bootstrap.h', | 800 '--include', 'vm/bootstrap.h', |
| 801 '--var_name', 'dart::Bootstrap::isolate_patch_paths_', | 801 '--var_name', 'dart::Bootstrap::mirrors_patch_paths_', |
| 802 '--library_name', 'dart:isolate', | 802 '--library_name', 'dart:mirrors', |
| 803 '<@(_sources)', | 803 '<@(_sources)', |
| 804 ], | 804 ], |
| 805 'message': 'Generating ''<(isolate_patch_cc_file)'' file.' | 805 'message': 'Generating ''<(mirrors_patch_cc_file)'' file.' |
| 806 }, | 806 }, |
| 807 ] | 807 ] |
| 808 }, | 808 }, |
| 809 { | 809 { |
| 810 'target_name': 'generate_typed_data_cc_file', | 810 'target_name': 'generate_typed_data_cc_file', |
| 811 'type': 'none', | 811 'type': 'none', |
| 812 'toolsets':['host'], | 812 'toolsets':['host'], |
| 813 'includes': [ | 813 'includes': [ |
| 814 # Load the shared library sources. | 814 # Load the shared library sources. |
| 815 '../../sdk/lib/typed_data/typed_data_sources.gypi', | 815 '../../sdk/lib/typed_data/typed_data_sources.gypi', |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 939 '--table_name', 'service', | 939 '--table_name', 'service', |
| 940 '--root_prefix', 'vm/service/', | 940 '--root_prefix', 'vm/service/', |
| 941 '<@(_sources)' | 941 '<@(_sources)' |
| 942 ], | 942 ], |
| 943 'message': 'Generating ''<(service_cc_file)'' file.' | 943 'message': 'Generating ''<(service_cc_file)'' file.' |
| 944 }, | 944 }, |
| 945 ] | 945 ] |
| 946 }, | 946 }, |
| 947 ] | 947 ] |
| 948 } | 948 } |
| OLD | NEW |