Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 # BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'variables': { | |
| 7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', | |
| 8 'libgen_in_cc_file': '../lib/libgen_in.cc', | |
| 9 'builtin_in_cc_file': '../bin/builtin_in.cc', | |
| 10 'async_cc_file': '<(gen_source_dir)/async_gen.cc', | |
| 11 'async_patch_cc_file': '<(gen_source_dir)/async_patch_gen.cc', | |
| 12 'core_cc_file': '<(gen_source_dir)/core_gen.cc', | |
| 13 'core_patch_cc_file': '<(gen_source_dir)/core_patch_gen.cc', | |
| 14 'collection_cc_file': '<(gen_source_dir)/collection_gen.cc', | |
| 15 'collection_patch_cc_file': '<(gen_source_dir)/collection_patch_gen.cc', | |
| 16 'convert_cc_file': '<(gen_source_dir)/convert_gen.cc', | |
| 17 'convert_patch_cc_file': '<(gen_source_dir)/convert_patch_gen.cc', | |
| 18 'developer_cc_file': '<(gen_source_dir)/developer_gen.cc', | |
| 19 'developer_patch_cc_file': '<(gen_source_dir)/developer_patch_gen.cc', | |
| 20 'internal_cc_file': '<(gen_source_dir)/internal_gen.cc', | |
| 21 'internal_patch_cc_file': '<(gen_source_dir)/internal_patch_gen.cc', | |
| 22 'isolate_cc_file': '<(gen_source_dir)/isolate_gen.cc', | |
| 23 'isolate_patch_cc_file': '<(gen_source_dir)/isolate_patch_gen.cc', | |
| 24 'math_cc_file': '<(gen_source_dir)/math_gen.cc', | |
| 25 'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc', | |
| 26 'mirrors_cc_file': '<(gen_source_dir)/mirrors_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', | |
| 30 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', | |
| 31 'snapshot_test_dart_file': 'snapshot_test.dart', | |
| 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', | |
| 35 'vmservice_patch_cc_file': '<(gen_source_dir)/vmservice_patch_gen.cc', | |
| 36 }, | |
| 37 'targets': [ | |
| 38 { | |
| 39 'target_name': 'libdart_vm', | |
| 40 'type': 'static_library', | |
| 41 'toolsets':['host', 'target'], | |
| 42 'includes': [ | |
| 43 'vm_sources.gypi', | |
| 44 '../platform/platform_headers.gypi', | |
| 45 '../platform/platform_sources.gypi', | |
| 46 ], | |
| 47 'sources/': [ | |
| 48 # Exclude all _test.[cc|h] files. | |
| 49 ['exclude', '_test\\.(cc|h)$'], | |
| 50 ], | |
| 51 'include_dirs': [ | |
| 52 '..', | |
| 53 ], | |
| 54 'conditions': [ | |
| 55 ['OS=="linux"', { | |
| 56 'link_settings': { | |
| 57 'libraries': [ | |
| 58 '-lpthread', | |
| 59 '-lrt', | |
| 60 '-ldl', | |
| 61 ], | |
| 62 }, | |
| 63 }], | |
| 64 ['OS=="android" and _toolset=="host"', { | |
| 65 'link_settings': { | |
| 66 'libraries': [ | |
| 67 '-lpthread', | |
| 68 '-lrt', | |
| 69 '-ldl', | |
| 70 ], | |
| 71 }, | |
| 72 }], | |
| 73 ['OS=="win"', { | |
| 74 'sources/' : [ | |
| 75 ['exclude', 'gdbjit.cc'], | |
| 76 ], | |
| 77 }]], | |
| 78 }, | |
| 79 { | |
| 80 'target_name': 'libdart_vm_precompiled_runtime', | |
| 81 'type': 'static_library', | |
| 82 'toolsets':['host', 'target'], | |
| 83 'includes': [ | |
| 84 'vm_sources.gypi', | |
| 85 '../platform/platform_headers.gypi', | |
| 86 '../platform/platform_sources.gypi', | |
| 87 ], | |
| 88 'sources/': [ | |
| 89 # Exclude all _test.[cc|h] files. | |
| 90 ['exclude', '_test\\.(cc|h)$'], | |
| 91 ], | |
| 92 'include_dirs': [ | |
| 93 '..', | |
| 94 ], | |
| 95 'defines': [ | |
| 96 'DART_PRECOMPILED_RUNTIME', | |
| 97 ], | |
| 98 'conditions': [ | |
| 99 ['OS=="linux"', { | |
| 100 'link_settings': { | |
| 101 'libraries': [ | |
| 102 '-lpthread', | |
| 103 '-lrt', | |
| 104 '-ldl', | |
| 105 ], | |
| 106 }, | |
| 107 }], | |
| 108 ['OS=="android" and _toolset=="host"', { | |
| 109 'link_settings': { | |
| 110 'libraries': [ | |
| 111 '-lpthread', | |
| 112 '-lrt', | |
| 113 '-ldl', | |
| 114 ], | |
| 115 }, | |
| 116 }], | |
| 117 ['OS=="win"', { | |
| 118 'sources/' : [ | |
| 119 ['exclude', 'gdbjit.cc'], | |
| 120 ], | |
| 121 }]], | |
| 122 }, | |
| 123 { | |
| 124 'target_name': 'libdart_vm_noopt', | |
| 125 'type': 'static_library', | |
| 126 'toolsets':['host', 'target'], | |
| 127 'includes': [ | |
| 128 'vm_sources.gypi', | |
| 129 '../platform/platform_headers.gypi', | |
| 130 '../platform/platform_sources.gypi', | |
| 131 ], | |
| 132 'sources/': [ | |
| 133 # Exclude all _test.[cc|h] files. | |
| 134 ['exclude', '_test\\.(cc|h)$'], | |
| 135 ], | |
| 136 'include_dirs': [ | |
| 137 '..', | |
| 138 ], | |
| 139 'defines': [ | |
| 140 'DART_PRECOMPILER', | |
| 141 ], | |
| 142 'conditions': [ | |
| 143 ['OS=="linux"', { | |
| 144 'link_settings': { | |
| 145 'libraries': [ | |
| 146 '-lpthread', | |
| 147 '-lrt', | |
| 148 '-ldl', | |
| 149 ], | |
| 150 }, | |
| 151 }], | |
| 152 ['OS=="android" and _toolset=="host"', { | |
| 153 'link_settings': { | |
| 154 'libraries': [ | |
| 155 '-lpthread', | |
| 156 '-lrt', | |
| 157 '-ldl', | |
| 158 ], | |
| 159 }, | |
| 160 }], | |
| 161 ['OS=="win"', { | |
| 162 'sources/' : [ | |
| 163 ['exclude', 'gdbjit.cc'], | |
| 164 ], | |
| 165 }]], | |
| 166 }, | |
| 167 { | |
| 168 'target_name': 'libdart_vm_nosnapshot', | |
| 169 'type': 'static_library', | |
| 170 'toolsets':['host', 'target'], | |
| 171 'includes': [ | |
| 172 'vm_sources.gypi', | |
| 173 '../platform/platform_headers.gypi', | |
| 174 '../platform/platform_sources.gypi', | |
| 175 ], | |
| 176 'sources/': [ | |
| 177 # Exclude all _test.[cc|h] files. | |
| 178 ['exclude', '_test\\.(cc|h)$'], | |
| 179 ], | |
| 180 'include_dirs': [ | |
| 181 '..', | |
| 182 ], | |
| 183 'defines': [ | |
| 184 'DART_NO_SNAPSHOT', | |
| 185 'DART_PRECOMPILER', | |
| 186 ], | |
| 187 'conditions': [ | |
| 188 ['OS=="linux"', { | |
| 189 'link_settings': { | |
| 190 'libraries': [ | |
| 191 '-lpthread', | |
| 192 '-lrt', | |
| 193 '-ldl', | |
| 194 ], | |
| 195 }, | |
| 196 }], | |
| 197 ['OS=="android" and _toolset=="host"', { | |
| 198 'link_settings': { | |
| 199 'libraries': [ | |
| 200 '-lpthread', | |
| 201 '-lrt', | |
| 202 '-ldl', | |
| 203 ], | |
| 204 }, | |
| 205 }], | |
| 206 ['OS=="win"', { | |
| 207 'sources/' : [ | |
| 208 ['exclude', 'gdbjit.cc'], | |
| 209 ], | |
| 210 }]], | |
| 211 }, | |
| 212 { | |
| 213 'target_name': 'libdart_lib_nosnapshot', | |
| 214 'type': 'static_library', | |
| 215 'toolsets':['host', 'target'], | |
| 216 'dependencies': [ | |
| 217 'generate_async_cc_file#host', | |
| 218 'generate_async_patch_cc_file#host', | |
| 219 'generate_core_cc_file#host', | |
| 220 'generate_core_patch_cc_file#host', | |
| 221 'generate_collection_cc_file#host', | |
| 222 'generate_collection_patch_cc_file#host', | |
| 223 'generate_convert_cc_file#host', | |
| 224 'generate_convert_patch_cc_file#host', | |
| 225 'generate_developer_cc_file#host', | |
| 226 'generate_developer_patch_cc_file#host', | |
| 227 'generate_internal_cc_file#host', | |
| 228 'generate_internal_patch_cc_file#host', | |
| 229 'generate_isolate_cc_file#host', | |
| 230 'generate_isolate_patch_cc_file#host', | |
| 231 'generate_math_cc_file#host', | |
| 232 'generate_math_patch_cc_file#host', | |
| 233 'generate_mirrors_cc_file#host', | |
| 234 'generate_mirrors_patch_cc_file#host', | |
| 235 'generate_profiler_cc_file#host', | |
| 236 'generate_typed_data_cc_file#host', | |
| 237 'generate_typed_data_patch_cc_file#host', | |
| 238 'generate_vmservice_cc_file#host', | |
| 239 'generate_vmservice_patch_cc_file#host', | |
| 240 ], | |
| 241 'includes': [ | |
| 242 '../lib/async_sources.gypi', | |
| 243 '../lib/collection_sources.gypi', | |
| 244 '../lib/core_sources.gypi', | |
| 245 '../lib/developer_sources.gypi', | |
| 246 '../lib/internal_sources.gypi', | |
| 247 '../lib/isolate_sources.gypi', | |
| 248 '../lib/math_sources.gypi', | |
| 249 '../lib/mirrors_sources.gypi', | |
| 250 '../lib/typed_data_sources.gypi', | |
| 251 '../lib/vmservice_sources.gypi', | |
| 252 ], | |
| 253 'sources': [ | |
| 254 'bootstrap.cc', | |
| 255 # Include generated source files. | |
| 256 '<(async_cc_file)', | |
|
keertip
2017/08/04 16:58:02
And we have filegroups for these too, and genrules
zra
2017/08/04 17:01:53
These are covered by the template here:
https://g
| |
| 257 '<(async_patch_cc_file)', | |
| 258 '<(core_cc_file)', | |
| 259 '<(core_patch_cc_file)', | |
| 260 '<(collection_cc_file)', | |
| 261 '<(collection_patch_cc_file)', | |
| 262 '<(convert_cc_file)', | |
| 263 '<(convert_patch_cc_file)', | |
| 264 '<(developer_cc_file)', | |
| 265 '<(developer_patch_cc_file)', | |
| 266 '<(internal_cc_file)', | |
| 267 '<(internal_patch_cc_file)', | |
| 268 '<(isolate_cc_file)', | |
| 269 '<(isolate_patch_cc_file)', | |
| 270 '<(math_cc_file)', | |
| 271 '<(math_patch_cc_file)', | |
| 272 '<(mirrors_cc_file)', | |
| 273 '<(mirrors_patch_cc_file)', | |
| 274 '<(profiler_cc_file)', | |
| 275 '<(typed_data_cc_file)', | |
| 276 '<(typed_data_patch_cc_file)', | |
| 277 '<(vmservice_cc_file)', | |
| 278 '<(vmservice_patch_cc_file)', | |
| 279 ], | |
| 280 'include_dirs': [ | |
| 281 '..', | |
| 282 ], | |
| 283 }, | |
| 284 { | |
| 285 'target_name': 'libdart_lib', | |
| 286 'type': 'static_library', | |
| 287 'toolsets':['host', 'target'], | |
| 288 'includes': [ | |
| 289 '../lib/async_sources.gypi', | |
| 290 '../lib/collection_sources.gypi', | |
| 291 '../lib/core_sources.gypi', | |
| 292 '../lib/developer_sources.gypi', | |
| 293 '../lib/internal_sources.gypi', | |
| 294 '../lib/isolate_sources.gypi', | |
| 295 '../lib/math_sources.gypi', | |
| 296 '../lib/mirrors_sources.gypi', | |
| 297 '../lib/typed_data_sources.gypi', | |
| 298 '../lib/vmservice_sources.gypi', | |
| 299 ], | |
| 300 'sources': [ | |
| 301 'bootstrap_nocore.cc', | |
| 302 ], | |
| 303 'include_dirs': [ | |
| 304 '..', | |
| 305 ], | |
| 306 }, | |
| 307 { | |
| 308 'target_name': 'libdart_lib_precompiled_runtime', | |
| 309 'type': 'static_library', | |
| 310 'toolsets':['host', 'target'], | |
| 311 'includes': [ | |
| 312 '../lib/async_sources.gypi', | |
| 313 '../lib/collection_sources.gypi', | |
| 314 '../lib/core_sources.gypi', | |
| 315 '../lib/developer_sources.gypi', | |
| 316 '../lib/internal_sources.gypi', | |
| 317 '../lib/isolate_sources.gypi', | |
| 318 '../lib/math_sources.gypi', | |
| 319 '../lib/mirrors_sources.gypi', | |
| 320 '../lib/typed_data_sources.gypi', | |
| 321 '../lib/vmservice_sources.gypi', | |
| 322 ], | |
| 323 'sources': [ | |
| 324 'bootstrap_nocore.cc', | |
| 325 ], | |
| 326 'defines': [ | |
| 327 'DART_PRECOMPILED_RUNTIME', | |
| 328 ], | |
| 329 'include_dirs': [ | |
| 330 '..', | |
| 331 ], | |
| 332 }, | |
| 333 { | |
| 334 'target_name': 'generate_async_cc_file', | |
| 335 'type': 'none', | |
| 336 'toolsets':['host'], | |
| 337 'includes': [ | |
| 338 '../../sdk/lib/async/async_sources.gypi', | |
| 339 ], | |
| 340 'sources/': [ | |
| 341 # Exclude all .[cc|h] files. | |
| 342 # This is only here for reference. Excludes happen after | |
| 343 # variable expansion, so the script has to do its own | |
| 344 # exclude processing of the sources being passed. | |
| 345 ['exclude', '\\.cc|h$'], | |
| 346 ], | |
| 347 'actions': [ | |
| 348 { | |
| 349 'action_name': 'generate_async_cc', | |
| 350 'inputs': [ | |
| 351 '../tools/gen_library_src_paths.py', | |
| 352 '<(libgen_in_cc_file)', | |
| 353 '<@(_sources)', | |
| 354 ], | |
| 355 'outputs': [ | |
| 356 '<(async_cc_file)', | |
| 357 ], | |
| 358 'action': [ | |
| 359 'python', | |
| 360 'tools/gen_library_src_paths.py', | |
| 361 '--output', '<(async_cc_file)', | |
| 362 '--input_cc', '<(libgen_in_cc_file)', | |
| 363 '--include', 'vm/bootstrap.h', | |
| 364 '--var_name', 'dart::Bootstrap::async_source_paths_', | |
| 365 '--library_name', 'dart:async', | |
| 366 '<@(_sources)', | |
| 367 ], | |
| 368 'message': 'Generating ''<(async_cc_file)'' file.' | |
| 369 }, | |
| 370 ] | |
| 371 }, | |
| 372 { | |
| 373 'target_name': 'generate_async_patch_cc_file', | |
| 374 'type': 'none', | |
| 375 'toolsets':['host'], | |
| 376 'includes': [ | |
| 377 # Load the runtime implementation sources. | |
| 378 '../lib/async_sources.gypi', | |
| 379 ], | |
| 380 'sources/': [ | |
| 381 # Exclude all .[cc|h] files. | |
| 382 # This is only here for reference. Excludes happen after | |
| 383 # variable expansion, so the script has to do its own | |
| 384 # exclude processing of the sources being passed. | |
| 385 ['exclude', '\\.cc|h$'], | |
| 386 ], | |
| 387 'actions': [ | |
| 388 { | |
| 389 'action_name': 'generate_async_patch_cc', | |
| 390 'inputs': [ | |
| 391 '../tools/gen_library_src_paths.py', | |
| 392 '<(libgen_in_cc_file)', | |
| 393 '<@(_sources)', | |
| 394 ], | |
| 395 'outputs': [ | |
| 396 '<(async_patch_cc_file)', | |
| 397 ], | |
| 398 'action': [ | |
| 399 'python', | |
| 400 'tools/gen_library_src_paths.py', | |
| 401 '--output', '<(async_patch_cc_file)', | |
| 402 '--input_cc', '<(libgen_in_cc_file)', | |
| 403 '--include', 'vm/bootstrap.h', | |
| 404 '--var_name', 'dart::Bootstrap::async_patch_paths_', | |
| 405 '--library_name', 'dart:async', | |
| 406 '<@(_sources)', | |
| 407 ], | |
| 408 'message': 'Generating ''<(async_patch_cc_file)'' file.' | |
| 409 }, | |
| 410 ] | |
| 411 }, | |
| 412 { | |
| 413 'target_name': 'generate_collection_cc_file', | |
| 414 'type': 'none', | |
| 415 'toolsets':['host'], | |
| 416 'includes': [ | |
| 417 # Load the shared collection library sources. | |
| 418 '../../sdk/lib/collection/collection_sources.gypi', | |
| 419 ], | |
| 420 'sources/': [ | |
| 421 # Exclude all .[cc|h] files. | |
| 422 # This is only here for reference. Excludes happen after | |
| 423 # variable expansion, so the script has to do its own | |
| 424 # exclude processing of the sources being passed. | |
| 425 ['exclude', '\\.cc|h$'], | |
| 426 ], | |
| 427 'actions': [ | |
| 428 { | |
| 429 'action_name': 'generate_collection_cc', | |
| 430 'inputs': [ | |
| 431 '../tools/gen_library_src_paths.py', | |
| 432 '<(libgen_in_cc_file)', | |
| 433 '<@(_sources)', | |
| 434 ], | |
| 435 'outputs': [ | |
| 436 '<(collection_cc_file)', | |
| 437 ], | |
| 438 'action': [ | |
| 439 'python', | |
| 440 'tools/gen_library_src_paths.py', | |
| 441 '--output', '<(collection_cc_file)', | |
| 442 '--input_cc', '<(libgen_in_cc_file)', | |
| 443 '--include', 'vm/bootstrap.h', | |
| 444 '--var_name', 'dart::Bootstrap::collection_source_paths_', | |
| 445 '--library_name', 'dart:collection', | |
| 446 '<@(_sources)', | |
| 447 ], | |
| 448 'message': 'Generating ''<(collection_cc_file)'' file.' | |
| 449 }, | |
| 450 ] | |
| 451 }, | |
| 452 { | |
| 453 'target_name': 'generate_collection_patch_cc_file', | |
| 454 'type': 'none', | |
| 455 'toolsets':['host'], | |
| 456 'includes': [ | |
| 457 # Load the runtime implementation sources. | |
| 458 '../lib/collection_sources.gypi', | |
| 459 ], | |
| 460 'sources/': [ | |
| 461 # Exclude all .[cc|h] files. | |
| 462 # This is only here for reference. Excludes happen after | |
| 463 # variable expansion, so the script has to do its own | |
| 464 # exclude processing of the sources being passed. | |
| 465 ['exclude', '\\.cc|h$'], | |
| 466 ], | |
| 467 'actions': [ | |
| 468 { | |
| 469 'action_name': 'generate_collection_patch_cc', | |
| 470 'inputs': [ | |
| 471 '../tools/gen_library_src_paths.py', | |
| 472 '<(libgen_in_cc_file)', | |
| 473 '<@(_sources)', | |
| 474 ], | |
| 475 'outputs': [ | |
| 476 '<(collection_patch_cc_file)', | |
| 477 ], | |
| 478 'action': [ | |
| 479 'python', | |
| 480 'tools/gen_library_src_paths.py', | |
| 481 '--output', '<(collection_patch_cc_file)', | |
| 482 '--input_cc', '<(libgen_in_cc_file)', | |
| 483 '--include', 'vm/bootstrap.h', | |
| 484 '--var_name', 'dart::Bootstrap::collection_patch_paths_', | |
| 485 '--library_name', 'dart:collection', | |
| 486 '<@(_sources)', | |
| 487 ], | |
| 488 'message': 'Generating ''<(collection_patch_cc_file)'' file.' | |
| 489 }, | |
| 490 ] | |
| 491 }, | |
| 492 { | |
| 493 'target_name': 'generate_convert_cc_file', | |
| 494 'type': 'none', | |
| 495 'toolsets':['host'], | |
| 496 'includes': [ | |
| 497 # Load the shared convert library sources. | |
| 498 '../../sdk/lib/convert/convert_sources.gypi', | |
| 499 ], | |
| 500 'sources/': [ | |
| 501 # Exclude all .[cc|h] files. | |
| 502 # This is only here for reference. Excludes happen after | |
| 503 # variable expansion, so the script has to do its own | |
| 504 # exclude processing of the sources being passed. | |
| 505 ['exclude', '\\.cc|h$'], | |
| 506 ], | |
| 507 'actions': [ | |
| 508 { | |
| 509 'action_name': 'generate_convert_cc', | |
| 510 'inputs': [ | |
| 511 '../tools/gen_library_src_paths.py', | |
| 512 '<(libgen_in_cc_file)', | |
| 513 '<@(_sources)', | |
| 514 ], | |
| 515 'outputs': [ | |
| 516 '<(convert_cc_file)', | |
| 517 ], | |
| 518 'action': [ | |
| 519 'python', | |
| 520 'tools/gen_library_src_paths.py', | |
| 521 '--output', '<(convert_cc_file)', | |
| 522 '--input_cc', '<(libgen_in_cc_file)', | |
| 523 '--include', 'vm/bootstrap.h', | |
| 524 '--var_name', 'dart::Bootstrap::convert_source_paths_', | |
| 525 '--library_name', 'dart:convert', | |
| 526 '<@(_sources)', | |
| 527 ], | |
| 528 'message': 'Generating ''<(convert_cc_file)'' file.' | |
| 529 }, | |
| 530 ] | |
| 531 }, | |
| 532 { | |
| 533 'target_name': 'generate_convert_patch_cc_file', | |
| 534 'type': 'none', | |
| 535 'toolsets':['host'], | |
| 536 'includes': [ | |
| 537 # Load the shared convert library sources. | |
| 538 '../lib/convert_sources.gypi', | |
| 539 ], | |
| 540 'sources/': [ | |
| 541 # Exclude all .[cc|h] files. | |
| 542 # This is only here for reference. Excludes happen after | |
| 543 # variable expansion, so the script has to do its own | |
| 544 # exclude processing of the sources being passed. | |
| 545 ['exclude', '\\.cc|h$'], | |
| 546 ], | |
| 547 'actions': [ | |
| 548 { | |
| 549 'action_name': 'generate_convert_patch_cc', | |
| 550 'inputs': [ | |
| 551 '../tools/gen_library_src_paths.py', | |
| 552 '<(libgen_in_cc_file)', | |
| 553 '<@(_sources)', | |
| 554 ], | |
| 555 'outputs': [ | |
| 556 '<(convert_patch_cc_file)', | |
| 557 ], | |
| 558 'action': [ | |
| 559 'python', | |
| 560 'tools/gen_library_src_paths.py', | |
| 561 '--output', '<(convert_patch_cc_file)', | |
| 562 '--input_cc', '<(libgen_in_cc_file)', | |
| 563 '--include', 'vm/bootstrap.h', | |
| 564 '--var_name', 'dart::Bootstrap::convert_patch_paths_', | |
| 565 '--library_name', 'dart:convert', | |
| 566 '<@(_sources)', | |
| 567 ], | |
| 568 'message': 'Generating ''<(convert_patch_cc_file)'' file.' | |
| 569 }, | |
| 570 ] | |
| 571 }, | |
| 572 { | |
| 573 'target_name': 'generate_core_cc_file', | |
| 574 'type': 'none', | |
| 575 'toolsets':['host'], | |
| 576 'includes': [ | |
| 577 # Load the shared core library sources. | |
| 578 '../../sdk/lib/core/core_sources.gypi', | |
| 579 ], | |
| 580 'sources/': [ | |
| 581 # Exclude all .[cc|h] files. | |
| 582 # This is only here for reference. Excludes happen after | |
| 583 # variable expansion, so the script has to do its own | |
| 584 # exclude processing of the sources being passed. | |
| 585 ['exclude', '\\.cc|h$'], | |
| 586 ], | |
| 587 'actions': [ | |
| 588 { | |
| 589 'action_name': 'generate_core_cc', | |
| 590 'inputs': [ | |
| 591 '../tools/gen_library_src_paths.py', | |
| 592 '<(libgen_in_cc_file)', | |
| 593 '<@(_sources)', | |
| 594 ], | |
| 595 'outputs': [ | |
| 596 '<(core_cc_file)', | |
| 597 ], | |
| 598 'action': [ | |
| 599 'python', | |
| 600 'tools/gen_library_src_paths.py', | |
| 601 '--output', '<(core_cc_file)', | |
| 602 '--input_cc', '<(libgen_in_cc_file)', | |
| 603 '--include', 'vm/bootstrap.h', | |
| 604 '--var_name', 'dart::Bootstrap::core_source_paths_', | |
| 605 '--library_name', 'dart:core', | |
| 606 '<@(_sources)', | |
| 607 ], | |
| 608 'message': 'Generating ''<(core_cc_file)'' file.' | |
| 609 }, | |
| 610 ] | |
| 611 }, | |
| 612 { | |
| 613 'target_name': 'generate_core_patch_cc_file', | |
| 614 'type': 'none', | |
| 615 'toolsets':['host'], | |
| 616 'includes': [ | |
| 617 # Load the runtime implementation sources. | |
| 618 '../lib/core_sources.gypi', | |
| 619 ], | |
| 620 'sources/': [ | |
| 621 # Exclude all .[cc|h] files. | |
| 622 # This is only here for reference. Excludes happen after | |
| 623 # variable expansion, so the script has to do its own | |
| 624 # exclude processing of the sources being passed. | |
| 625 ['exclude', '\\.cc|h$'], | |
| 626 ], | |
| 627 'actions': [ | |
| 628 { | |
| 629 'action_name': 'generate_core_patch_cc', | |
| 630 'inputs': [ | |
| 631 '../tools/gen_library_src_paths.py', | |
| 632 '<(libgen_in_cc_file)', | |
| 633 '<@(_sources)', | |
| 634 ], | |
| 635 'outputs': [ | |
| 636 '<(core_patch_cc_file)', | |
| 637 ], | |
| 638 'action': [ | |
| 639 'python', | |
| 640 'tools/gen_library_src_paths.py', | |
| 641 '--output', '<(core_patch_cc_file)', | |
| 642 '--input_cc', '<(libgen_in_cc_file)', | |
| 643 '--include', 'vm/bootstrap.h', | |
| 644 '--var_name', 'dart::Bootstrap::core_patch_paths_', | |
| 645 '--library_name', 'dart:core', | |
| 646 '<@(_sources)', | |
| 647 ], | |
| 648 'message': 'Generating ''<(core_patch_cc_file)'' file.' | |
| 649 }, | |
| 650 ] | |
| 651 }, | |
| 652 { | |
| 653 'target_name': 'generate_internal_patch_cc_file', | |
| 654 'type': 'none', | |
| 655 'toolsets':['host'], | |
| 656 'includes': [ | |
| 657 # Load the runtime implementation sources. | |
| 658 '../lib/internal_sources.gypi', | |
| 659 ], | |
| 660 'sources/': [ | |
| 661 # Exclude all .[cc|h] files. | |
| 662 # This is only here for reference. Excludes happen after | |
| 663 # variable expansion, so the script has to do its own | |
| 664 # exclude processing of the sources being passed. | |
| 665 ['exclude', '\\.cc|h$'], | |
| 666 ], | |
| 667 'actions': [ | |
| 668 { | |
| 669 'action_name': 'generate_internal_patch_cc', | |
| 670 'inputs': [ | |
| 671 '../tools/gen_library_src_paths.py', | |
| 672 '<(libgen_in_cc_file)', | |
| 673 '<@(_sources)', | |
| 674 ], | |
| 675 'outputs': [ | |
| 676 '<(internal_patch_cc_file)', | |
| 677 ], | |
| 678 'action': [ | |
| 679 'python', | |
| 680 'tools/gen_library_src_paths.py', | |
| 681 '--output', '<(internal_patch_cc_file)', | |
| 682 '--input_cc', '<(libgen_in_cc_file)', | |
| 683 '--include', 'vm/bootstrap.h', | |
| 684 '--var_name', 'dart::Bootstrap::_internal_patch_paths_', | |
| 685 '--library_name', 'dart:_internal', | |
| 686 '<@(_sources)', | |
| 687 ], | |
| 688 'message': 'Generating ''<(internal_patch_cc_file)'' file.' | |
| 689 }, | |
| 690 ] | |
| 691 }, | |
| 692 { | |
| 693 'target_name': 'generate_internal_cc_file', | |
| 694 'type': 'none', | |
| 695 'toolsets':['host'], | |
| 696 'includes': [ | |
| 697 # Load the shared internal library sources. | |
| 698 '../../sdk/lib/internal/internal_sources.gypi', | |
| 699 ], | |
| 700 'sources/': [ | |
| 701 # Exclude all .[cc|h] files. | |
| 702 # This is only here for reference. Excludes happen after | |
| 703 # variable expansion, so the script has to do its own | |
| 704 # exclude processing of the sources being passed. | |
| 705 ['exclude', '\\.cc|h$'], | |
| 706 ], | |
| 707 'actions': [ | |
| 708 { | |
| 709 'action_name': 'generate_internal_cc', | |
| 710 'inputs': [ | |
| 711 '../tools/gen_library_src_paths.py', | |
| 712 '<(libgen_in_cc_file)', | |
| 713 '<@(_sources)', | |
| 714 ], | |
| 715 'outputs': [ | |
| 716 '<(internal_cc_file)', | |
| 717 ], | |
| 718 'action': [ | |
| 719 'python', | |
| 720 'tools/gen_library_src_paths.py', | |
| 721 '--output', '<(internal_cc_file)', | |
| 722 '--input_cc', '<(libgen_in_cc_file)', | |
| 723 '--include', 'vm/bootstrap.h', | |
| 724 '--var_name', 'dart::Bootstrap::_internal_source_paths_', | |
| 725 '--library_name', 'dart:_internal', | |
| 726 '<@(_sources)', | |
| 727 ], | |
| 728 'message': 'Generating ''<(internal_cc_file)'' file.' | |
| 729 }, | |
| 730 ] | |
| 731 }, | |
| 732 { | |
| 733 'target_name': 'generate_isolate_cc_file', | |
| 734 'type': 'none', | |
| 735 'toolsets':['host'], | |
| 736 'includes': [ | |
| 737 # Load the runtime implementation sources. | |
| 738 '../../sdk/lib/isolate/isolate_sources.gypi', | |
| 739 ], | |
| 740 'sources/': [ | |
| 741 # Exclude all .[cc|h] files. | |
| 742 # This is only here for reference. Excludes happen after | |
| 743 # variable expansion, so the script has to do its own | |
| 744 # exclude processing of the sources being passed. | |
| 745 ['exclude', '\\.cc|h$'], | |
| 746 ], | |
| 747 'actions': [ | |
| 748 { | |
| 749 'action_name': 'generate_isolate_cc', | |
| 750 'inputs': [ | |
| 751 '../tools/gen_library_src_paths.py', | |
| 752 '<(libgen_in_cc_file)', | |
| 753 '<@(_sources)', | |
| 754 ], | |
| 755 'outputs': [ | |
| 756 '<(isolate_cc_file)', | |
| 757 ], | |
| 758 'action': [ | |
| 759 'python', | |
| 760 'tools/gen_library_src_paths.py', | |
| 761 '--output', '<(isolate_cc_file)', | |
| 762 '--input_cc', '<(libgen_in_cc_file)', | |
| 763 '--include', 'vm/bootstrap.h', | |
| 764 '--var_name', 'dart::Bootstrap::isolate_source_paths_', | |
| 765 '--library_name', 'dart:isolate', | |
| 766 '<@(_sources)', | |
| 767 ], | |
| 768 'message': 'Generating ''<(isolate_cc_file)'' file.' | |
| 769 }, | |
| 770 ] | |
| 771 }, | |
| 772 { | |
| 773 'target_name': 'generate_isolate_patch_cc_file', | |
| 774 'type': 'none', | |
| 775 'toolsets':['host'], | |
| 776 'includes': [ | |
| 777 # Load the runtime implementation sources. | |
| 778 '../lib/isolate_sources.gypi', | |
| 779 ], | |
| 780 'sources/': [ | |
| 781 # Exclude all .[cc|h] files. | |
| 782 # This is only here for reference. Excludes happen after | |
| 783 # variable expansion, so the script has to do its own | |
| 784 # exclude processing of the sources being passed. | |
| 785 ['exclude', '\\.cc|h$'], | |
| 786 ], | |
| 787 'actions': [ | |
| 788 { | |
| 789 'action_name': 'generate_isolate_patch_cc', | |
| 790 'inputs': [ | |
| 791 '../tools/gen_library_src_paths.py', | |
| 792 '<(libgen_in_cc_file)', | |
| 793 '<@(_sources)', | |
| 794 ], | |
| 795 'outputs': [ | |
| 796 '<(isolate_patch_cc_file)', | |
| 797 ], | |
| 798 'action': [ | |
| 799 'python', | |
| 800 'tools/gen_library_src_paths.py', | |
| 801 '--output', '<(isolate_patch_cc_file)', | |
| 802 '--input_cc', '<(libgen_in_cc_file)', | |
| 803 '--include', 'vm/bootstrap.h', | |
| 804 '--var_name', 'dart::Bootstrap::isolate_patch_paths_', | |
| 805 '--library_name', 'dart:isolate', | |
| 806 '<@(_sources)', | |
| 807 ], | |
| 808 'message': 'Generating ''<(isolate_patch_cc_file)'' file.' | |
| 809 }, | |
| 810 ] | |
| 811 }, | |
| 812 { | |
| 813 'target_name': 'generate_math_cc_file', | |
| 814 'type': 'none', | |
| 815 'toolsets':['host'], | |
| 816 'includes': [ | |
| 817 # Load the shared math library sources. | |
| 818 '../../sdk/lib/math/math_sources.gypi', | |
| 819 ], | |
| 820 'sources/': [ | |
| 821 # Exclude all .[cc|h] files. | |
| 822 # This is only here for reference. Excludes happen after | |
| 823 # variable expansion, so the script has to do its own | |
| 824 # exclude processing of the sources being passed. | |
| 825 ['exclude', '\\.cc|h$'], | |
| 826 ], | |
| 827 'actions': [ | |
| 828 { | |
| 829 'action_name': 'generate_math_cc', | |
| 830 'inputs': [ | |
| 831 '../tools/gen_library_src_paths.py', | |
| 832 '<(libgen_in_cc_file)', | |
| 833 '<@(_sources)', | |
| 834 ], | |
| 835 'outputs': [ | |
| 836 '<(math_cc_file)', | |
| 837 ], | |
| 838 'action': [ | |
| 839 'python', | |
| 840 'tools/gen_library_src_paths.py', | |
| 841 '--output', '<(math_cc_file)', | |
| 842 '--input_cc', '<(libgen_in_cc_file)', | |
| 843 '--include', 'vm/bootstrap.h', | |
| 844 '--var_name', 'dart::Bootstrap::math_source_paths_', | |
| 845 '--library_name', 'dart:math', | |
| 846 '<@(_sources)', | |
| 847 ], | |
| 848 'message': 'Generating ''<(math_cc_file)'' file.' | |
| 849 }, | |
| 850 ] | |
| 851 }, | |
| 852 { | |
| 853 'target_name': 'generate_math_patch_cc_file', | |
| 854 'type': 'none', | |
| 855 'toolsets':['host'], | |
| 856 'includes': [ | |
| 857 # Load the shared math library sources. | |
| 858 '../lib/math_sources.gypi', | |
| 859 ], | |
| 860 'sources/': [ | |
| 861 # Exclude all .[cc|h] files. | |
| 862 # This is only here for reference. Excludes happen after | |
| 863 # variable expansion, so the script has to do its own | |
| 864 # exclude processing of the sources being passed. | |
| 865 ['exclude', '\\.cc|h$'], | |
| 866 ], | |
| 867 'actions': [ | |
| 868 { | |
| 869 'action_name': 'generate_math_patch_cc', | |
| 870 'inputs': [ | |
| 871 '../tools/gen_library_src_paths.py', | |
| 872 '<(libgen_in_cc_file)', | |
| 873 '<@(_sources)', | |
| 874 ], | |
| 875 'outputs': [ | |
| 876 '<(math_patch_cc_file)', | |
| 877 ], | |
| 878 'action': [ | |
| 879 'python', | |
| 880 'tools/gen_library_src_paths.py', | |
| 881 '--output', '<(math_patch_cc_file)', | |
| 882 '--input_cc', '<(libgen_in_cc_file)', | |
| 883 '--include', 'vm/bootstrap.h', | |
| 884 '--var_name', 'dart::Bootstrap::math_patch_paths_', | |
| 885 '--library_name', 'dart:math', | |
| 886 '<@(_sources)', | |
| 887 ], | |
| 888 'message': 'Generating ''<(math_patch_cc_file)'' file.' | |
| 889 }, | |
| 890 ] | |
| 891 }, | |
| 892 { | |
| 893 'target_name': 'generate_mirrors_cc_file', | |
| 894 'type': 'none', | |
| 895 'toolsets':['host'], | |
| 896 'includes': [ | |
| 897 # Load the shared core library sources. | |
| 898 '../../sdk/lib/mirrors/mirrors_sources.gypi', | |
| 899 ], | |
| 900 'sources/': [ | |
| 901 # Exclude all .[cc|h] files. | |
| 902 # This is only here for reference. Excludes happen after | |
| 903 # variable expansion, so the script has to do its own | |
| 904 # exclude processing of the sources being passed. | |
| 905 ['exclude', '\\.cc|h$'], | |
| 906 ], | |
| 907 'actions': [ | |
| 908 { | |
| 909 'action_name': 'generate_mirrors_cc', | |
| 910 'inputs': [ | |
| 911 '../tools/gen_library_src_paths.py', | |
| 912 '<(libgen_in_cc_file)', | |
| 913 '<@(_sources)', | |
| 914 ], | |
| 915 'outputs': [ | |
| 916 '<(mirrors_cc_file)', | |
| 917 ], | |
| 918 'action': [ | |
| 919 'python', | |
| 920 'tools/gen_library_src_paths.py', | |
| 921 '--output', '<(mirrors_cc_file)', | |
| 922 '--input_cc', '<(libgen_in_cc_file)', | |
| 923 '--include', 'vm/bootstrap.h', | |
| 924 '--var_name', 'dart::Bootstrap::mirrors_source_paths_', | |
| 925 '--library_name', 'dart:mirrors', | |
| 926 '<@(_sources)', | |
| 927 ], | |
| 928 'message': 'Generating ''<(mirrors_cc_file)'' file.' | |
| 929 }, | |
| 930 ] | |
| 931 }, | |
| 932 { | |
| 933 'target_name': 'generate_mirrors_patch_cc_file', | |
| 934 'type': 'none', | |
| 935 'toolsets':['host'], | |
| 936 'includes': [ | |
| 937 # Load the patch sources. | |
| 938 '../lib/mirrors_sources.gypi', | |
| 939 ], | |
| 940 'sources/': [ | |
| 941 # Exclude all .[cc|h] files. | |
| 942 # This is only here for reference. Excludes happen after | |
| 943 # variable expansion, so the script has to do its own | |
| 944 # exclude processing of the sources being passed. | |
| 945 ['exclude', '\\.cc|h$'], | |
| 946 ], | |
| 947 'actions': [ | |
| 948 { | |
| 949 'action_name': 'generate_mirrors_patch_cc', | |
| 950 'inputs': [ | |
| 951 '../tools/gen_library_src_paths.py', | |
| 952 '<(libgen_in_cc_file)', | |
| 953 '<@(_sources)', | |
| 954 ], | |
| 955 'outputs': [ | |
| 956 '<(mirrors_patch_cc_file)', | |
| 957 ], | |
| 958 'action': [ | |
| 959 'python', | |
| 960 'tools/gen_library_src_paths.py', | |
| 961 '--output', '<(mirrors_patch_cc_file)', | |
| 962 '--input_cc', '<(libgen_in_cc_file)', | |
| 963 '--include', 'vm/bootstrap.h', | |
| 964 '--var_name', 'dart::Bootstrap::mirrors_patch_paths_', | |
| 965 '--library_name', 'dart:mirrors', | |
| 966 '<@(_sources)', | |
| 967 ], | |
| 968 'message': 'Generating ''<(mirrors_patch_cc_file)'' file.' | |
| 969 }, | |
| 970 ] | |
| 971 }, | |
| 972 { | |
| 973 'target_name': 'generate_typed_data_cc_file', | |
| 974 'type': 'none', | |
| 975 'toolsets':['host'], | |
| 976 'includes': [ | |
| 977 # Load the runtime implementation sources. | |
| 978 '../../sdk/lib/typed_data/typed_data_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_typed_data_cc', | |
| 990 'inputs': [ | |
| 991 '../tools/gen_library_src_paths.py', | |
| 992 '<(libgen_in_cc_file)', | |
| 993 '<@(_sources)', | |
| 994 ], | |
| 995 'outputs': [ | |
| 996 '<(typed_data_cc_file)', | |
| 997 ], | |
| 998 'action': [ | |
| 999 'python', | |
| 1000 'tools/gen_library_src_paths.py', | |
| 1001 '--output', '<(typed_data_cc_file)', | |
| 1002 '--input_cc', '<(libgen_in_cc_file)', | |
| 1003 '--include', 'vm/bootstrap.h', | |
| 1004 '--var_name', 'dart::Bootstrap::typed_data_source_paths_', | |
| 1005 '--library_name', 'dart:typed_data', | |
| 1006 '<@(_sources)', | |
| 1007 ], | |
| 1008 'message': 'Generating ''<(typed_data_cc_file)'' file.' | |
| 1009 }, | |
| 1010 ] | |
| 1011 }, | |
| 1012 { | |
| 1013 'target_name': 'generate_typed_data_patch_cc_file', | |
| 1014 'type': 'none', | |
| 1015 'toolsets':['host'], | |
| 1016 'includes': [ | |
| 1017 # Load the patch 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', | |
| 1054 'type': 'none', | |
| 1055 'toolsets':['host'], | |
| 1056 'includes': [ | |
| 1057 # Load the shared library sources. | |
| 1058 '../../sdk/lib/profiler/profiler_sources.gypi', | |
| 1059 ], | |
| 1060 'sources/': [ | |
| 1061 # Exclude all .[cc|h] files. | |
| 1062 # This is only here for reference. Excludes happen after | |
| 1063 # variable expansion, so the script has to do its own | |
| 1064 # exclude processing of the sources being passed. | |
| 1065 ['exclude', '\\.cc|h$'], | |
| 1066 ], | |
| 1067 'actions': [ | |
| 1068 { | |
| 1069 'action_name': 'generate_profiler_cc', | |
| 1070 'inputs': [ | |
| 1071 '../tools/gen_library_src_paths.py', | |
| 1072 '<(libgen_in_cc_file)', | |
| 1073 '<@(_sources)', | |
| 1074 ], | |
| 1075 'outputs': [ | |
| 1076 '<(profiler_cc_file)', | |
| 1077 ], | |
| 1078 'action': [ | |
| 1079 'python', | |
| 1080 'tools/gen_library_src_paths.py', | |
| 1081 '--output', '<(profiler_cc_file)', | |
| 1082 '--input_cc', '<(libgen_in_cc_file)', | |
| 1083 '--include', 'vm/bootstrap.h', | |
| 1084 '--var_name', 'dart::Bootstrap::profiler_source_paths_', | |
| 1085 '--library_name', 'dart:profiler', | |
| 1086 '<@(_sources)', | |
| 1087 ], | |
| 1088 'message': 'Generating ''<(profiler_cc_file)'' file.' | |
| 1089 }, | |
| 1090 ] | |
| 1091 }, | |
| 1092 { | |
| 1093 'target_name': 'generate_developer_cc_file', | |
| 1094 'type': 'none', | |
| 1095 'toolsets':['host'], | |
| 1096 'includes': [ | |
| 1097 # Load the shared library sources. | |
| 1098 '../../sdk/lib/developer/developer_sources.gypi', | |
| 1099 ], | |
| 1100 'sources/': [ | |
| 1101 # Exclude all .[cc|h] files. | |
| 1102 # This is only here for reference. Excludes happen after | |
| 1103 # variable expansion, so the script has to do its own | |
| 1104 # exclude processing of the sources being passed. | |
| 1105 ['exclude', '\\.cc|h$'], | |
| 1106 ], | |
| 1107 'actions': [ | |
| 1108 { | |
| 1109 'action_name': 'generate_developer_cc', | |
| 1110 'inputs': [ | |
| 1111 '../tools/gen_library_src_paths.py', | |
| 1112 '<(libgen_in_cc_file)', | |
| 1113 '<@(_sources)', | |
| 1114 ], | |
| 1115 'outputs': [ | |
| 1116 '<(developer_cc_file)', | |
| 1117 ], | |
| 1118 'action': [ | |
| 1119 'python', | |
| 1120 'tools/gen_library_src_paths.py', | |
| 1121 '--output', '<(developer_cc_file)', | |
| 1122 '--input_cc', '<(libgen_in_cc_file)', | |
| 1123 '--include', 'vm/bootstrap.h', | |
| 1124 '--var_name', 'dart::Bootstrap::developer_source_paths_', | |
| 1125 '--library_name', 'dart:developer', | |
| 1126 '<@(_sources)', | |
| 1127 ], | |
| 1128 'message': 'Generating ''<(developer_cc_file)'' file.' | |
| 1129 }, | |
| 1130 ] | |
| 1131 }, | |
| 1132 { | |
| 1133 'target_name': 'generate_developer_patch_cc_file', | |
| 1134 'type': 'none', | |
| 1135 'toolsets':['host'], | |
| 1136 'includes': [ | |
| 1137 # Load the runtime implementation sources. | |
| 1138 '../lib/developer_sources.gypi', | |
| 1139 ], | |
| 1140 'sources/': [ | |
| 1141 # Exclude all .[cc|h] files. | |
| 1142 # This is only here for reference. Excludes happen after | |
| 1143 # variable expansion, so the script has to do its own | |
| 1144 # exclude processing of the sources being passed. | |
| 1145 ['exclude', '\\.cc|h$'], | |
| 1146 ], | |
| 1147 'actions': [ | |
| 1148 { | |
| 1149 'action_name': 'generate_developer_patch_cc', | |
| 1150 'inputs': [ | |
| 1151 '../tools/gen_library_src_paths.py', | |
| 1152 '<(libgen_in_cc_file)', | |
| 1153 '<@(_sources)', | |
| 1154 ], | |
| 1155 'outputs': [ | |
| 1156 '<(developer_patch_cc_file)', | |
| 1157 ], | |
| 1158 'action': [ | |
| 1159 'python', | |
| 1160 'tools/gen_library_src_paths.py', | |
| 1161 '--output', '<(developer_patch_cc_file)', | |
| 1162 '--input_cc', '<(libgen_in_cc_file)', | |
| 1163 '--include', 'vm/bootstrap.h', | |
| 1164 '--var_name', 'dart::Bootstrap::developer_patch_paths_', | |
| 1165 '--library_name', 'dart:developer', | |
| 1166 '<@(_sources)', | |
| 1167 ], | |
| 1168 'message': 'Generating ''<(developer_patch_cc_file)'' file.' | |
| 1169 }, | |
| 1170 ] | |
| 1171 }, | |
| 1172 { | |
| 1173 'target_name': 'generate_snapshot_test_dat_file', | |
| 1174 'type': 'none', | |
| 1175 'toolsets':['host'], | |
| 1176 'actions': [ | |
| 1177 { | |
| 1178 'action_name': 'generate_snapshot_test_dat', | |
| 1179 'inputs': [ | |
| 1180 '../tools/create_string_literal.py', | |
| 1181 '<(snapshot_test_in_dat_file)', | |
| 1182 '<(snapshot_test_dart_file)', | |
| 1183 ], | |
| 1184 'outputs': [ | |
| 1185 '<(snapshot_test_dat_file)', | |
| 1186 ], | |
| 1187 'action': [ | |
| 1188 'python', | |
| 1189 'tools/create_string_literal.py', | |
| 1190 '--output', '<(snapshot_test_dat_file)', | |
| 1191 '--input_cc', '<(snapshot_test_in_dat_file)', | |
| 1192 '--include', 'INTENTIONALLY_LEFT_BLANK', | |
| 1193 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', | |
| 1194 '<(snapshot_test_dart_file)', | |
| 1195 ], | |
| 1196 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' | |
| 1197 }, | |
| 1198 ] | |
| 1199 }, | |
| 1200 { | |
| 1201 'target_name': 'generate_vmservice_cc_file', | |
| 1202 'type': 'none', | |
| 1203 'toolsets':['host'], | |
| 1204 'includes': [ | |
| 1205 # Load the shared library sources. | |
| 1206 '../../sdk/lib/vmservice/vmservice_sources.gypi', | |
| 1207 ], | |
| 1208 'sources/': [ | |
| 1209 # Exclude all .[cc|h] files. | |
| 1210 # This is only here for reference. Excludes happen after | |
| 1211 # variable expansion, so the script has to do its own | |
| 1212 # exclude processing of the sources being passed. | |
| 1213 ['exclude', '\\.cc|h$'], | |
| 1214 ], | |
| 1215 'actions': [ | |
| 1216 { | |
| 1217 'action_name': 'generate_vmservice_cc', | |
| 1218 'inputs': [ | |
| 1219 '../tools/gen_library_src_paths.py', | |
| 1220 '<(libgen_in_cc_file)', | |
| 1221 '<@(_sources)', | |
| 1222 ], | |
| 1223 'outputs': [ | |
| 1224 '<(vmservice_cc_file)', | |
| 1225 ], | |
| 1226 'action': [ | |
| 1227 'python', | |
| 1228 'tools/gen_library_src_paths.py', | |
| 1229 '--output', '<(vmservice_cc_file)', | |
| 1230 '--input_cc', '<(libgen_in_cc_file)', | |
| 1231 '--include', 'vm/bootstrap.h', | |
| 1232 '--var_name', 'dart::Bootstrap::_vmservice_source_paths_', | |
| 1233 '--library_name', 'dart:_vmservice', | |
| 1234 '<@(_sources)', | |
| 1235 ], | |
| 1236 'message': 'Generating ''<(vmservice_cc_file)'' file.' | |
| 1237 }, | |
| 1238 ] | |
| 1239 }, | |
| 1240 { | |
| 1241 'target_name': 'generate_vmservice_patch_cc_file', | |
| 1242 'type': 'none', | |
| 1243 'toolsets':['host'], | |
| 1244 'includes': [ | |
| 1245 # Load the runtime implementation sources. | |
| 1246 '../lib/vmservice_sources.gypi', | |
| 1247 ], | |
| 1248 'sources/': [ | |
| 1249 # Exclude all .[cc|h] files. | |
| 1250 # This is only here for reference. Excludes happen after | |
| 1251 # variable expansion, so the script has to do its own | |
| 1252 # exclude processing of the sources being passed. | |
| 1253 ['exclude', '\\.cc|h$'], | |
| 1254 ], | |
| 1255 'actions': [ | |
| 1256 { | |
| 1257 'action_name': 'generate_vmservice_patch_cc', | |
| 1258 'inputs': [ | |
| 1259 '../tools/gen_library_src_paths.py', | |
| 1260 '<(libgen_in_cc_file)', | |
| 1261 '<@(_sources)', | |
| 1262 ], | |
| 1263 'outputs': [ | |
| 1264 '<(vmservice_patch_cc_file)', | |
| 1265 ], | |
| 1266 'action': [ | |
| 1267 'python', | |
| 1268 'tools/gen_library_src_paths.py', | |
| 1269 '--output', '<(vmservice_patch_cc_file)', | |
| 1270 '--input_cc', '<(libgen_in_cc_file)', | |
| 1271 '--include', 'vm/bootstrap.h', | |
| 1272 '--var_name', 'dart::Bootstrap::_vmservice_patch_paths_', | |
| 1273 '--library_name', 'dart:_vmservice', | |
| 1274 '<@(_sources)', | |
| 1275 ], | |
| 1276 'message': 'Generating ''<(vmservice_patch_cc_file)'' file.' | |
| 1277 }, | |
| 1278 ] | |
| 1279 }, | |
| 1280 { | |
| 1281 'target_name': 'generate_patched_sdk', | |
| 1282 'type': 'none', | |
| 1283 'toolsets': ['host'], | |
| 1284 'dependencies': [ | |
| 1285 'dart_bootstrap#host', | |
| 1286 'generate_async_library_patch', | |
| 1287 'generate_collection_library_patch', | |
| 1288 'generate_convert_library_patch', | |
| 1289 'generate_core_library_patch', | |
| 1290 'generate_developer_library_patch', | |
| 1291 'generate_internal_library_patch', | |
| 1292 'generate_io_library_patch', | |
| 1293 'generate_isolate_library_patch', | |
| 1294 'generate_math_library_patch', | |
| 1295 'generate_mirrors_library_patch', | |
| 1296 'generate_profiler_library_patch', | |
| 1297 'generate_typed_data_library_patch', | |
| 1298 'generate_vmservice_library_patch', | |
| 1299 ], | |
| 1300 'actions': [ | |
| 1301 { | |
| 1302 'action_name': 'patch_sdk', | |
| 1303 'inputs': [ | |
| 1304 '<!@(["python", "../tools/list_files.py", "relative",' | |
| 1305 '"dart$", "sdk/lib"])', | |
| 1306 '../../tools/patch_sdk.py', | |
| 1307 '../../tools/patch_sdk.dart', | |
| 1308 # Unlike the other libraries in the SDK, dart:_builtin and | |
| 1309 # dart:nativewrappers are only available for the Dart VM. | |
| 1310 '../bin/builtin.dart', | |
| 1311 '../bin/vmservice/vmservice_io.dart', | |
| 1312 '../bin/vmservice/loader.dart', | |
| 1313 '../bin/vmservice/server.dart', | |
| 1314 '<(gen_source_dir)/patches/async_patch.dart', | |
| 1315 '<(gen_source_dir)/patches/collection_patch.dart', | |
| 1316 '<(gen_source_dir)/patches/convert_patch.dart', | |
| 1317 '<(gen_source_dir)/patches/core_patch.dart', | |
| 1318 '<(gen_source_dir)/patches/developer_patch.dart', | |
| 1319 '<(gen_source_dir)/patches/internal_patch.dart', | |
| 1320 '<(gen_source_dir)/patches/io_patch.dart', | |
| 1321 '<(gen_source_dir)/patches/isolate_patch.dart', | |
| 1322 '<(gen_source_dir)/patches/math_patch.dart', | |
| 1323 '<(gen_source_dir)/patches/mirrors_patch.dart', | |
| 1324 '<(gen_source_dir)/patches/profiler_patch.dart', | |
| 1325 '<(gen_source_dir)/patches/typed_data_patch.dart', | |
| 1326 '<(gen_source_dir)/patches/vmservice_patch.dart', | |
| 1327 ], | |
| 1328 'outputs': [ | |
| 1329 # Instead of listing all outputs we list a single well-known one. | |
| 1330 '<(PRODUCT_DIR)/patched_sdk/lib/core/core.dart', | |
| 1331 ], | |
| 1332 'action': [ | |
| 1333 'python', | |
| 1334 '../tools/patch_sdk.py', | |
| 1335 '--dart-executable', | |
| 1336 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart_bootstrap<(EXECUTABLE_SUFFI X)', | |
| 1337 'vm', | |
| 1338 '../sdk', | |
| 1339 '<(gen_source_dir)/patches', | |
| 1340 '<(PRODUCT_DIR)/patched_sdk', | |
| 1341 '../.packages', | |
| 1342 ], | |
| 1343 }, | |
| 1344 ], | |
| 1345 }, | |
| 1346 { | |
| 1347 'variables': { | |
| 1348 'library_name': 'async', | |
| 1349 'library_uri': 'dart:async', | |
| 1350 }, | |
| 1351 'target_name': 'generate_<(library_name)_library_patch', | |
| 1352 'type': 'none', | |
| 1353 'toolsets': ['host'], | |
| 1354 'includes': [ | |
| 1355 '../lib/async_sources.gypi', | |
| 1356 ], | |
| 1357 'actions': [ | |
| 1358 { | |
| 1359 'action_name': 'concatenate_<(library_name)_patches', | |
| 1360 'inputs': [ | |
| 1361 '../tools/concatenate_patches.py', | |
| 1362 '<@(_sources)', | |
| 1363 ], | |
| 1364 'outputs': [ | |
| 1365 '<(gen_source_dir)/patches/<(library_name)_patch.dart' | |
| 1366 ], | |
| 1367 'action': [ | |
| 1368 'python', | |
| 1369 'tools/concatenate_patches.py', | |
| 1370 '--output', | |
| 1371 '<(gen_source_dir)/patches/<(library_name)_patch.dart', | |
| 1372 '<@(_sources)', | |
| 1373 ], | |
| 1374 'message': 'Generating <(library_uri) patch.', | |
| 1375 }, | |
| 1376 ], | |
| 1377 }, | |
| 1378 { | |
| 1379 'variables': { | |
| 1380 'library_name': 'collection', | |
| 1381 'library_uri': 'dart:collection', | |
| 1382 }, | |
| 1383 'target_name': 'generate_<(library_name)_library_patch', | |
| 1384 'type': 'none', | |
| 1385 'toolsets': ['host'], | |
| 1386 'includes': [ | |
| 1387 '../lib/collection_sources.gypi', | |
| 1388 ], | |
| 1389 'actions': [ | |
| 1390 { | |
| 1391 'action_name': 'concatenate_<(library_name)_patches', | |
| 1392 'inputs': [ | |
| 1393 '../tools/concatenate_patches.py', | |
| 1394 '<@(_sources)', | |
| 1395 ], | |
| 1396 'outputs': [ | |
| 1397 '<(gen_source_dir)/patches/<(library_name)_patch.dart' | |
| 1398 ], | |
| 1399 'action': [ | |
| 1400 'python', | |
| 1401 'tools/concatenate_patches.py', | |
| 1402 '--output', | |
| 1403 '<(gen_source_dir)/patches/<(library_name)_patch.dart', | |
| 1404 '<@(_sources)', | |
| 1405 ], | |
| 1406 'message': 'Generating <(library_uri) patch.', | |
| 1407 }, | |
| 1408 ], | |
| 1409 }, | |
| 1410 { | |
| 1411 'variables': { | |
| 1412 'library_name': 'convert', | |
| 1413 'library_uri': 'dart:convert', | |
| 1414 }, | |
| 1415 'target_name': 'generate_<(library_name)_library_patch', | |
| 1416 'type': 'none', | |
| 1417 'toolsets': ['host'], | |
| 1418 'includes': [ | |
| 1419 '../lib/convert_sources.gypi', | |
| 1420 ], | |
| 1421 'actions': [ | |
| 1422 { | |
| 1423 'action_name': 'concatenate_<(library_name)_patches', | |
| 1424 'inputs': [ | |
| 1425 '../tools/concatenate_patches.py', | |
| 1426 '<@(_sources)', | |
| 1427 ], | |
| 1428 'outputs': [ | |
| 1429 '<(gen_source_dir)/patches/<(library_name)_patch.dart' | |
| 1430 ], | |
| 1431 'action': [ | |
| 1432 'python', | |
| 1433 'tools/concatenate_patches.py', | |
| 1434 '--output', | |
| 1435 '<(gen_source_dir)/patches/<(library_name)_patch.dart', | |
| 1436 '<@(_sources)', | |
| 1437 ], | |
| 1438 'message': 'Generating <(library_uri) patch.', | |
| 1439 }, | |
| 1440 ], | |
| 1441 }, | |
| 1442 { | |
| 1443 'variables': { | |
| 1444 'library_name': 'core', | |
| 1445 'library_uri': 'dart:core', | |
| 1446 }, | |
| 1447 'target_name': 'generate_<(library_name)_library_patch', | |
| 1448 'type': 'none', | |
| 1449 'toolsets': ['host'], | |
| 1450 'includes': [ | |
| 1451 '../lib/core_sources.gypi', | |
| 1452 ], | |
| 1453 'actions': [ | |
| 1454 { | |
| 1455 'action_name': 'concatenate_<(library_name)_patches', | |
| 1456 'inputs': [ | |
| 1457 '../tools/concatenate_patches.py', | |
| 1458 '<@(_sources)', | |
| 1459 ], | |
| 1460 'outputs': [ | |
| 1461 '<(gen_source_dir)/patches/<(library_name)_patch.dart' | |
| 1462 ], | |
| 1463 'action': [ | |
| 1464 'python', | |
| 1465 'tools/concatenate_patches.py', | |
| 1466 '--output', | |
| 1467 '<(gen_source_dir)/patches/<(library_name)_patch.dart', | |
| 1468 '<@(_sources)', | |
| 1469 ], | |
| 1470 'message': 'Generating <(library_uri) patch.', | |
| 1471 }, | |
| 1472 ], | |
| 1473 }, | |
| 1474 { | |
| 1475 'variables': { | |
| 1476 'library_name': 'developer', | |
| 1477 'library_uri': 'dart:developer', | |
| 1478 }, | |
| 1479 'target_name': 'generate_<(library_name)_library_patch', | |
| 1480 'type': 'none', | |
| 1481 'toolsets': ['host'], | |
| 1482 'includes': [ | |
| 1483 '../lib/developer_sources.gypi', | |
| 1484 ], | |
| 1485 'actions': [ | |
| 1486 { | |
| 1487 'action_name': 'concatenate_<(library_name)_patches', | |
| 1488 'inputs': [ | |
| 1489 '../tools/concatenate_patches.py', | |
| 1490 '<@(_sources)', | |
| 1491 ], | |
| 1492 'outputs': [ | |
| 1493 '<(gen_source_dir)/patches/<(library_name)_patch.dart' | |
| 1494 ], | |
| 1495 'action': [ | |
| 1496 'python', | |
| 1497 'tools/concatenate_patches.py', | |
| 1498 '--output', | |
| 1499 '<(gen_source_dir)/patches/<(library_name)_patch.dart', | |
| 1500 '<@(_sources)', | |
| 1501 ], | |
| 1502 'message': 'Generating <(library_uri) patch.', | |
| 1503 }, | |
| 1504 ], | |
| 1505 }, | |
| 1506 { | |
| 1507 'variables': { | |
| 1508 'library_name': 'internal', | |
| 1509 'library_uri': 'dart:_internal', | |
| 1510 }, | |
| 1511 'target_name': 'generate_<(library_name)_library_patch', | |
| 1512 'type': 'none', | |
| 1513 'toolsets': ['host'], | |
| 1514 'includes': [ | |
| 1515 '../lib/internal_sources.gypi', | |
| 1516 ], | |
| 1517 'actions': [ | |
| 1518 { | |
| 1519 'action_name': 'concatenate_<(library_name)_patches', | |
| 1520 'inputs': [ | |
| 1521 '../tools/concatenate_patches.py', | |
| 1522 '<@(_sources)', | |
| 1523 ], | |
| 1524 'outputs': [ | |
| 1525 '<(gen_source_dir)/patches/<(library_name)_patch.dart' | |
| 1526 ], | |
| 1527 'action': [ | |
| 1528 'python', | |
| 1529 'tools/concatenate_patches.py', | |
| 1530 '--output', | |
| 1531 '<(gen_source_dir)/patches/<(library_name)_patch.dart', | |
| 1532 '<@(_sources)', | |
| 1533 ], | |
| 1534 'message': 'Generating <(library_uri) patch.', | |
| 1535 }, | |
| 1536 ], | |
| 1537 }, | |
| 1538 { | |
| 1539 'variables': { | |
| 1540 'library_name': 'io', | |
| 1541 'library_uri': 'dart:io', | |
| 1542 }, | |
| 1543 'target_name': 'generate_<(library_name)_library_patch', | |
| 1544 'type': 'none', | |
| 1545 'toolsets': ['host'], | |
| 1546 'includes': [ | |
| 1547 '../bin/io_sources.gypi', | |
| 1548 ], | |
| 1549 'actions': [ | |
| 1550 { | |
| 1551 'action_name': 'concatenate_<(library_name)_patches', | |
| 1552 'inputs': [ | |
| 1553 '../tools/concatenate_patches.py', | |
| 1554 '<@(_sources)', | |
| 1555 ], | |
| 1556 'outputs': [ | |
| 1557 '<(gen_source_dir)/patches/<(library_name)_patch.dart' | |
| 1558 ], | |
| 1559 'action': [ | |
| 1560 'python', | |
| 1561 'tools/concatenate_patches.py', | |
| 1562 '--output', | |
| 1563 '<(gen_source_dir)/patches/<(library_name)_patch.dart', | |
| 1564 '<@(_sources)', | |
| 1565 ], | |
| 1566 'message': 'Generating <(library_uri) patch.', | |
| 1567 }, | |
| 1568 ], | |
| 1569 }, | |
| 1570 { | |
| 1571 'variables': { | |
| 1572 'library_name': 'isolate', | |
| 1573 'library_uri': 'dart:isolate', | |
| 1574 }, | |
| 1575 'target_name': 'generate_<(library_name)_library_patch', | |
| 1576 'type': 'none', | |
| 1577 'toolsets': ['host'], | |
| 1578 'includes': [ | |
| 1579 '../lib/isolate_sources.gypi', | |
| 1580 ], | |
| 1581 'actions': [ | |
| 1582 { | |
| 1583 'action_name': 'concatenate_<(library_name)_patches', | |
| 1584 'inputs': [ | |
| 1585 '../tools/concatenate_patches.py', | |
| 1586 '<@(_sources)', | |
| 1587 ], | |
| 1588 'outputs': [ | |
| 1589 '<(gen_source_dir)/patches/<(library_name)_patch.dart' | |
| 1590 ], | |
| 1591 'action': [ | |
| 1592 'python', | |
| 1593 'tools/concatenate_patches.py', | |
| 1594 '--output', | |
| 1595 '<(gen_source_dir)/patches/<(library_name)_patch.dart', | |
| 1596 '<@(_sources)', | |
| 1597 ], | |
| 1598 'message': 'Generating <(library_uri) patch.', | |
| 1599 }, | |
| 1600 ], | |
| 1601 }, | |
| 1602 { | |
| 1603 'variables': { | |
| 1604 'library_name': 'math', | |
| 1605 'library_uri': 'dart:math', | |
| 1606 }, | |
| 1607 'target_name': 'generate_<(library_name)_library_patch', | |
| 1608 'type': 'none', | |
| 1609 'toolsets': ['host'], | |
| 1610 'includes': [ | |
| 1611 '../lib/math_sources.gypi', | |
| 1612 ], | |
| 1613 'actions': [ | |
| 1614 { | |
| 1615 'action_name': 'concatenate_<(library_name)_patches', | |
| 1616 'inputs': [ | |
| 1617 '../tools/concatenate_patches.py', | |
| 1618 '<@(_sources)', | |
| 1619 ], | |
| 1620 'outputs': [ | |
| 1621 '<(gen_source_dir)/patches/<(library_name)_patch.dart' | |
| 1622 ], | |
| 1623 'action': [ | |
| 1624 'python', | |
| 1625 'tools/concatenate_patches.py', | |
| 1626 '--output', | |
| 1627 '<(gen_source_dir)/patches/<(library_name)_patch.dart', | |
| 1628 '<@(_sources)', | |
| 1629 ], | |
| 1630 'message': 'Generating <(library_uri) patch.', | |
| 1631 }, | |
| 1632 ], | |
| 1633 }, | |
| 1634 { | |
| 1635 'variables': { | |
| 1636 'library_name': 'mirrors', | |
| 1637 'library_uri': 'dart:mirrors', | |
| 1638 }, | |
| 1639 'target_name': 'generate_<(library_name)_library_patch', | |
| 1640 'type': 'none', | |
| 1641 'toolsets': ['host'], | |
| 1642 'includes': [ | |
| 1643 '../lib/mirrors_sources.gypi', | |
| 1644 ], | |
| 1645 'actions': [ | |
| 1646 { | |
| 1647 'action_name': 'concatenate_<(library_name)_patches', | |
| 1648 'inputs': [ | |
| 1649 '../tools/concatenate_patches.py', | |
| 1650 '<@(_sources)', | |
| 1651 ], | |
| 1652 'outputs': [ | |
| 1653 '<(gen_source_dir)/patches/<(library_name)_patch.dart' | |
| 1654 ], | |
| 1655 'action': [ | |
| 1656 'python', | |
| 1657 'tools/concatenate_patches.py', | |
| 1658 '--output', | |
| 1659 '<(gen_source_dir)/patches/<(library_name)_patch.dart', | |
| 1660 '<@(_sources)', | |
| 1661 ], | |
| 1662 'message': 'Generating <(library_uri) patch.', | |
| 1663 }, | |
| 1664 ], | |
| 1665 }, | |
| 1666 { | |
| 1667 'variables': { | |
| 1668 'library_name': 'profiler', | |
| 1669 'library_uri': 'dart:profiler', | |
| 1670 }, | |
| 1671 'target_name': 'generate_<(library_name)_library_patch', | |
| 1672 'type': 'none', | |
| 1673 'toolsets': ['host'], | |
| 1674 'includes': [ | |
| 1675 '../lib/profiler_sources.gypi', | |
| 1676 ], | |
| 1677 'actions': [ | |
| 1678 { | |
| 1679 'action_name': 'concatenate_<(library_name)_patches', | |
| 1680 'inputs': [ | |
| 1681 '../tools/concatenate_patches.py', | |
| 1682 '<@(_sources)', | |
| 1683 ], | |
| 1684 'outputs': [ | |
| 1685 '<(gen_source_dir)/patches/<(library_name)_patch.dart' | |
| 1686 ], | |
| 1687 'action': [ | |
| 1688 'python', | |
| 1689 'tools/concatenate_patches.py', | |
| 1690 '--output', | |
| 1691 '<(gen_source_dir)/patches/<(library_name)_patch.dart', | |
| 1692 '<@(_sources)', | |
| 1693 ], | |
| 1694 'message': 'Generating <(library_uri) patch.', | |
| 1695 }, | |
| 1696 ], | |
| 1697 }, | |
| 1698 { | |
| 1699 'variables': { | |
| 1700 'library_name': 'typed_data', | |
| 1701 'library_uri': 'dart:typed_data', | |
| 1702 }, | |
| 1703 'target_name': 'generate_<(library_name)_library_patch', | |
| 1704 'type': 'none', | |
| 1705 'toolsets': ['host'], | |
| 1706 'includes': [ | |
| 1707 '../lib/typed_data_sources.gypi', | |
| 1708 ], | |
| 1709 'actions': [ | |
| 1710 { | |
| 1711 'action_name': 'concatenate_<(library_name)_patches', | |
| 1712 'inputs': [ | |
| 1713 '../tools/concatenate_patches.py', | |
| 1714 '<@(_sources)', | |
| 1715 ], | |
| 1716 'outputs': [ | |
| 1717 '<(gen_source_dir)/patches/<(library_name)_patch.dart' | |
| 1718 ], | |
| 1719 'action': [ | |
| 1720 'python', | |
| 1721 'tools/concatenate_patches.py', | |
| 1722 '--output', | |
| 1723 '<(gen_source_dir)/patches/<(library_name)_patch.dart', | |
| 1724 '<@(_sources)', | |
| 1725 ], | |
| 1726 'message': 'Generating <(library_uri) patch.', | |
| 1727 }, | |
| 1728 ], | |
| 1729 }, | |
| 1730 { | |
| 1731 'variables': { | |
| 1732 'library_name': 'vmservice', | |
| 1733 'library_uri': 'dart:_vmservice', | |
| 1734 }, | |
| 1735 'target_name': 'generate_<(library_name)_library_patch', | |
| 1736 'type': 'none', | |
| 1737 'toolsets': ['host'], | |
| 1738 'includes': [ | |
| 1739 '../lib/vmservice_sources.gypi', | |
| 1740 ], | |
| 1741 'actions': [ | |
| 1742 { | |
| 1743 'action_name': 'concatenate_<(library_name)_patches', | |
| 1744 'inputs': [ | |
| 1745 '../tools/concatenate_patches.py', | |
| 1746 '<@(_sources)', | |
| 1747 ], | |
| 1748 'outputs': [ | |
| 1749 '<(gen_source_dir)/patches/<(library_name)_patch.dart' | |
| 1750 ], | |
| 1751 'action': [ | |
| 1752 'python', | |
| 1753 'tools/concatenate_patches.py', | |
| 1754 '--output', | |
| 1755 '<(gen_source_dir)/patches/<(library_name)_patch.dart', | |
| 1756 '<@(_sources)', | |
| 1757 ], | |
| 1758 'message': 'Generating <(library_uri) patch.', | |
| 1759 }, | |
| 1760 ], | |
| 1761 }, | |
| 1762 ] | |
| 1763 } | |
| OLD | NEW |