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': '<(LIB_DIR)', |
7 'builtin_in_cc_file': '../bin/builtin_in.cc', | 8 'builtin_in_cc_file': '../bin/builtin_in.cc', |
8 'async_cc_file': '<(SHARED_INTERMEDIATE_DIR)/async_gen.cc', | 9 'async_cc_file': '<(gen_source_dir)/async_gen.cc', |
9 'async_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/async_patch_gen.cc', | 10 'async_patch_cc_file': '<(gen_source_dir)/async_patch_gen.cc', |
10 'corelib_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_gen.cc', | 11 'corelib_cc_file': '<(gen_source_dir)/corelib_gen.cc', |
11 'corelib_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_patch_gen.cc', | 12 'corelib_patch_cc_file': '<(gen_source_dir)/corelib_patch_gen.cc', |
12 'collection_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_gen.cc', | 13 'collection_cc_file': '<(gen_source_dir)/collection_gen.cc', |
13 'collection_dev_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_dev_gen.cc'
, | 14 'collection_dev_cc_file': '<(gen_source_dir)/collection_dev_gen.cc', |
14 'crypto_cc_file': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.cc', | 15 'crypto_cc_file': '<(gen_source_dir)/crypto_gen.cc', |
15 'math_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_gen.cc', | 16 'math_cc_file': '<(gen_source_dir)/math_gen.cc', |
16 'math_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_patch_gen.cc', | 17 'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc', |
17 'mirrors_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.cc', | 18 'mirrors_cc_file': '<(gen_source_dir)/mirrors_gen.cc', |
18 'mirrors_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_patch_gen.cc', | 19 'mirrors_patch_cc_file': '<(gen_source_dir)/mirrors_patch_gen.cc', |
19 'isolate_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.cc', | 20 'isolate_cc_file': '<(gen_source_dir)/isolate_gen.cc', |
20 'isolate_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_patch_gen.cc', | 21 'isolate_patch_cc_file': '<(gen_source_dir)/isolate_patch_gen.cc', |
21 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', | 22 'json_cc_file': '<(gen_source_dir)/json_gen.cc', |
22 'json_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_patch_gen.cc', | 23 'json_patch_cc_file': '<(gen_source_dir)/json_patch_gen.cc', |
23 'typeddata_cc_file': '<(SHARED_INTERMEDIATE_DIR)/typeddata_gen.cc', | 24 'typeddata_cc_file': '<(gen_source_dir)/typeddata_gen.cc', |
24 'typeddata_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/typeddata_patch_gen.c
c', | 25 'typeddata_patch_cc_file': '<(gen_source_dir)/typeddata_patch_gen.cc', |
25 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc', | 26 'uri_cc_file': '<(gen_source_dir)/uri_gen.cc', |
26 'utf_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.cc', | 27 'utf_cc_file': '<(gen_source_dir)/utf_gen.cc', |
27 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat', | 28 'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat', |
28 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', | 29 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', |
29 'snapshot_test_dart_file': 'snapshot_test.dart', | 30 'snapshot_test_dart_file': 'snapshot_test.dart', |
30 }, | 31 }, |
31 'targets': [ | 32 'targets': [ |
32 { | 33 { |
33 'target_name': 'libdart_vm', | 34 'target_name': 'libdart_vm', |
34 'type': 'static_library', | 35 'type': 'static_library', |
| 36 'toolsets':['host', 'target'], |
35 'includes': [ | 37 'includes': [ |
36 'vm_sources.gypi', | 38 'vm_sources.gypi', |
37 '../platform/platform_headers.gypi', | 39 '../platform/platform_headers.gypi', |
38 '../platform/platform_sources.gypi', | 40 '../platform/platform_sources.gypi', |
39 ], | 41 ], |
40 'sources/': [ | 42 'sources/': [ |
41 # Exclude all _test.[cc|h] files. | 43 # Exclude all _test.[cc|h] files. |
42 ['exclude', '_test\\.(cc|h)$'], | 44 ['exclude', '_test\\.(cc|h)$'], |
43 ], | 45 ], |
44 'include_dirs': [ | 46 'include_dirs': [ |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 ['OS=="win"', { | 84 ['OS=="win"', { |
83 'libraries': ['-ljitprofiling.lib'], | 85 'libraries': ['-ljitprofiling.lib'], |
84 }], | 86 }], |
85 ], | 87 ], |
86 }, | 88 }, |
87 }]], | 89 }]], |
88 }, | 90 }, |
89 { | 91 { |
90 'target_name': 'libdart_lib_withcore', | 92 'target_name': 'libdart_lib_withcore', |
91 'type': 'static_library', | 93 'type': 'static_library', |
| 94 'toolsets':['host', 'target'], |
92 'dependencies': [ | 95 'dependencies': [ |
93 'generate_async_cc_file', | 96 'generate_async_cc_file', |
94 'generate_async_patch_cc_file', | 97 'generate_async_patch_cc_file', |
95 'generate_corelib_cc_file', | 98 'generate_corelib_cc_file', |
96 'generate_corelib_patch_cc_file', | 99 'generate_corelib_patch_cc_file', |
97 'generate_collection_cc_file', | 100 'generate_collection_cc_file', |
98 'generate_collection_dev_cc_file', | 101 'generate_collection_dev_cc_file', |
99 'generate_crypto_cc_file', | 102 'generate_crypto_cc_file', |
100 'generate_math_cc_file', | 103 'generate_math_cc_file', |
101 'generate_math_patch_cc_file', | 104 'generate_math_patch_cc_file', |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 '<(uri_cc_file)', | 144 '<(uri_cc_file)', |
142 '<(utf_cc_file)', | 145 '<(utf_cc_file)', |
143 ], | 146 ], |
144 'include_dirs': [ | 147 'include_dirs': [ |
145 '..', | 148 '..', |
146 ], | 149 ], |
147 }, | 150 }, |
148 { | 151 { |
149 'target_name': 'libdart_lib', | 152 'target_name': 'libdart_lib', |
150 'type': 'static_library', | 153 'type': 'static_library', |
| 154 'toolsets':['host', 'target'], |
151 'includes': [ | 155 'includes': [ |
152 '../lib/async_sources.gypi', | 156 '../lib/async_sources.gypi', |
153 '../lib/lib_sources.gypi', | 157 '../lib/lib_sources.gypi', |
154 '../lib/isolate_sources.gypi', | 158 '../lib/isolate_sources.gypi', |
155 '../lib/math_sources.gypi', | 159 '../lib/math_sources.gypi', |
156 '../lib/mirrors_sources.gypi', | 160 '../lib/mirrors_sources.gypi', |
157 '../lib/typeddata_sources.gypi', | 161 '../lib/typeddata_sources.gypi', |
158 ], | 162 ], |
159 'sources': [ | 163 'sources': [ |
160 'bootstrap_nocorelib.cc', | 164 'bootstrap_nocorelib.cc', |
161 ], | 165 ], |
162 'include_dirs': [ | 166 'include_dirs': [ |
163 '..', | 167 '..', |
164 ], | 168 ], |
165 }, | 169 }, |
166 { | 170 { |
167 'target_name': 'generate_async_cc_file', | 171 'target_name': 'generate_async_cc_file', |
168 'type': 'none', | 172 'type': 'none', |
| 173 'toolsets':['host', 'target'], |
169 'variables': { | 174 'variables': { |
170 'async_dart': '<(SHARED_INTERMEDIATE_DIR)/async_gen.dart', | 175 'async_dart': '<(gen_source_dir)/async_gen.dart', |
171 }, | 176 }, |
172 'includes': [ | 177 'includes': [ |
173 '../../sdk/lib/async/async_sources.gypi', | 178 '../../sdk/lib/async/async_sources.gypi', |
174 ], | 179 ], |
175 'sources/': [ | 180 'sources/': [ |
176 # Exclude all .[cc|h] files. | 181 # Exclude all .[cc|h] files. |
177 # This is only here for reference. Excludes happen after | 182 # This is only here for reference. Excludes happen after |
178 # variable expansion, so the script has to do its own | 183 # variable expansion, so the script has to do its own |
179 # exclude processing of the sources being passed. | 184 # exclude processing of the sources being passed. |
180 ['exclude', '\\.cc|h$'], | 185 ['exclude', '\\.cc|h$'], |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 '--var_name', 'dart::Bootstrap::async_source_', | 220 '--var_name', 'dart::Bootstrap::async_source_', |
216 '<@(async_dart)', | 221 '<@(async_dart)', |
217 ], | 222 ], |
218 'message': 'Generating ''<(async_cc_file)'' file.' | 223 'message': 'Generating ''<(async_cc_file)'' file.' |
219 }, | 224 }, |
220 ] | 225 ] |
221 }, | 226 }, |
222 { | 227 { |
223 'target_name': 'generate_corelib_cc_file', | 228 'target_name': 'generate_corelib_cc_file', |
224 'type': 'none', | 229 'type': 'none', |
| 230 'toolsets':['host', 'target'], |
225 'variables': { | 231 'variables': { |
226 'core_dart': '<(SHARED_INTERMEDIATE_DIR)/core_gen.dart', | 232 'core_dart': '<(gen_source_dir)/core_gen.dart', |
227 },'includes': [ | 233 },'includes': [ |
228 # Load the shared core library sources. | 234 # Load the shared core library sources. |
229 '../../sdk/lib/core/corelib_sources.gypi', | 235 '../../sdk/lib/core/corelib_sources.gypi', |
230 ], | 236 ], |
231 'sources/': [ | 237 'sources/': [ |
232 # Exclude all .[cc|h] files. | 238 # Exclude all .[cc|h] files. |
233 # This is only here for reference. Excludes happen after | 239 # This is only here for reference. Excludes happen after |
234 # variable expansion, so the script has to do its own | 240 # variable expansion, so the script has to do its own |
235 # exclude processing of the sources being passed. | 241 # exclude processing of the sources being passed. |
236 ['exclude', '\\.cc|h$'], | 242 ['exclude', '\\.cc|h$'], |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 '--var_name', 'dart::Bootstrap::corelib_source_', | 277 '--var_name', 'dart::Bootstrap::corelib_source_', |
272 '<(core_dart)', | 278 '<(core_dart)', |
273 ], | 279 ], |
274 'message': 'Generating ''<(corelib_cc_file)'' file.' | 280 'message': 'Generating ''<(corelib_cc_file)'' file.' |
275 }, | 281 }, |
276 ] | 282 ] |
277 }, | 283 }, |
278 { | 284 { |
279 'target_name': 'generate_corelib_patch_cc_file', | 285 'target_name': 'generate_corelib_patch_cc_file', |
280 'type': 'none', | 286 'type': 'none', |
| 287 'toolsets':['host', 'target'], |
281 'includes': [ | 288 'includes': [ |
282 # Load the runtime implementation sources. | 289 # Load the runtime implementation sources. |
283 '../lib/lib_sources.gypi', | 290 '../lib/lib_sources.gypi', |
284 ], | 291 ], |
285 'sources/': [ | 292 'sources/': [ |
286 # Exclude all .[cc|h] files. | 293 # Exclude all .[cc|h] files. |
287 # This is only here for reference. Excludes happen after | 294 # This is only here for reference. Excludes happen after |
288 # variable expansion, so the script has to do its own | 295 # variable expansion, so the script has to do its own |
289 # exclude processing of the sources being passed. | 296 # exclude processing of the sources being passed. |
290 ['exclude', '\\.cc|h$'], | 297 ['exclude', '\\.cc|h$'], |
(...skipping 18 matching lines...) Expand all Loading... |
309 '--var_name', 'dart::Bootstrap::corelib_patch_', | 316 '--var_name', 'dart::Bootstrap::corelib_patch_', |
310 '<@(_sources)', | 317 '<@(_sources)', |
311 ], | 318 ], |
312 'message': 'Generating ''<(corelib_patch_cc_file)'' file.' | 319 'message': 'Generating ''<(corelib_patch_cc_file)'' file.' |
313 }, | 320 }, |
314 ] | 321 ] |
315 }, | 322 }, |
316 { | 323 { |
317 'target_name': 'generate_collection_cc_file', | 324 'target_name': 'generate_collection_cc_file', |
318 'type': 'none', | 325 'type': 'none', |
| 326 'toolsets':['host', 'target'], |
319 'variables': { | 327 'variables': { |
320 'collection_dart': '<(SHARED_INTERMEDIATE_DIR)/collection_gen.dart', | 328 'collection_dart': '<(gen_source_dir)/collection_gen.dart', |
321 }, | 329 }, |
322 'includes': [ | 330 'includes': [ |
323 # Load the shared collection library sources. | 331 # Load the shared collection library sources. |
324 '../../sdk/lib/collection/collection_sources.gypi', | 332 '../../sdk/lib/collection/collection_sources.gypi', |
325 ], | 333 ], |
326 'sources/': [ | 334 'sources/': [ |
327 # Exclude all .[cc|h] files. | 335 # Exclude all .[cc|h] files. |
328 # This is only here for reference. Excludes happen after | 336 # This is only here for reference. Excludes happen after |
329 # variable expansion, so the script has to do its own | 337 # variable expansion, so the script has to do its own |
330 # exclude processing of the sources being passed. | 338 # exclude processing of the sources being passed. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 '--var_name', 'dart::Bootstrap::collection_source_', | 374 '--var_name', 'dart::Bootstrap::collection_source_', |
367 '<(collection_dart)', | 375 '<(collection_dart)', |
368 ], | 376 ], |
369 'message': 'Generating ''<(collection_cc_file)'' file.' | 377 'message': 'Generating ''<(collection_cc_file)'' file.' |
370 }, | 378 }, |
371 ] | 379 ] |
372 }, | 380 }, |
373 { | 381 { |
374 'target_name': 'generate_collection_dev_cc_file', | 382 'target_name': 'generate_collection_dev_cc_file', |
375 'type': 'none', | 383 'type': 'none', |
| 384 'toolsets':['host', 'target'], |
376 'variables': { | 385 'variables': { |
377 'collection_dev_dart': '<(SHARED_INTERMEDIATE_DIR)/collection_dev_gen.da
rt', | 386 'collection_dev_dart': '<(gen_source_dir)/collection_dev_gen.dart', |
378 }, | 387 }, |
379 'includes': [ | 388 'includes': [ |
380 # Load the shared collection_dev library sources. | 389 # Load the shared collection_dev library sources. |
381 '../../sdk/lib/_collection_dev/collection_dev_sources.gypi', | 390 '../../sdk/lib/_collection_dev/collection_dev_sources.gypi', |
382 ], | 391 ], |
383 'sources/': [ | 392 'sources/': [ |
384 # Exclude all .[cc|h] files. | 393 # Exclude all .[cc|h] files. |
385 # This is only here for reference. Excludes happen after | 394 # This is only here for reference. Excludes happen after |
386 # variable expansion, so the script has to do its own | 395 # variable expansion, so the script has to do its own |
387 # exclude processing of the sources being passed. | 396 # exclude processing of the sources being passed. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
423 '--var_name', 'dart::Bootstrap::collection_dev_source_', | 432 '--var_name', 'dart::Bootstrap::collection_dev_source_', |
424 '<(collection_dev_dart)', | 433 '<(collection_dev_dart)', |
425 ], | 434 ], |
426 'message': 'Generating ''<(collection_dev_cc_file)'' file.' | 435 'message': 'Generating ''<(collection_dev_cc_file)'' file.' |
427 }, | 436 }, |
428 ] | 437 ] |
429 }, | 438 }, |
430 { | 439 { |
431 'target_name': 'generate_crypto_cc_file', | 440 'target_name': 'generate_crypto_cc_file', |
432 'type': 'none', | 441 'type': 'none', |
| 442 'toolsets':['host', 'target'], |
433 'variables': { | 443 'variables': { |
434 'crypto_dart': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.dart', | 444 'crypto_dart': '<(gen_source_dir)/crypto_gen.dart', |
435 }, | 445 }, |
436 'includes': [ | 446 'includes': [ |
437 # Load the shared crypto sources. | 447 # Load the shared crypto sources. |
438 '../../sdk/lib/crypto/crypto_sources.gypi', | 448 '../../sdk/lib/crypto/crypto_sources.gypi', |
439 ], | 449 ], |
440 'actions': [ | 450 'actions': [ |
441 { | 451 { |
442 'action_name': 'generate_crypto_dart', | 452 'action_name': 'generate_crypto_dart', |
443 'inputs': [ | 453 'inputs': [ |
444 '../tools/concat_library.py', | 454 '../tools/concat_library.py', |
(...skipping 28 matching lines...) Expand all Loading... |
473 '--var_name', 'dart::Bootstrap::crypto_source_', | 483 '--var_name', 'dart::Bootstrap::crypto_source_', |
474 '<(crypto_dart)', | 484 '<(crypto_dart)', |
475 ], | 485 ], |
476 'message': 'Generating ''<(crypto_cc_file)'' file.' | 486 'message': 'Generating ''<(crypto_cc_file)'' file.' |
477 }, | 487 }, |
478 ] | 488 ] |
479 }, | 489 }, |
480 { | 490 { |
481 'target_name': 'generate_math_cc_file', | 491 'target_name': 'generate_math_cc_file', |
482 'type': 'none', | 492 'type': 'none', |
| 493 'toolsets':['host', 'target'], |
483 'variables': { | 494 'variables': { |
484 'math_dart': '<(SHARED_INTERMEDIATE_DIR)/math_gen.dart', | 495 'math_dart': '<(gen_source_dir)/math_gen.dart', |
485 }, | 496 }, |
486 'includes': [ | 497 'includes': [ |
487 # Load the shared math library sources. | 498 # Load the shared math library sources. |
488 '../../sdk/lib/math/math_sources.gypi', | 499 '../../sdk/lib/math/math_sources.gypi', |
489 ], | 500 ], |
490 'sources/': [ | 501 'sources/': [ |
491 # Exclude all .[cc|h] files. | 502 # Exclude all .[cc|h] files. |
492 # This is only here for reference. Excludes happen after | 503 # This is only here for reference. Excludes happen after |
493 # variable expansion, so the script has to do its own | 504 # variable expansion, so the script has to do its own |
494 # exclude processing of the sources being passed. | 505 # exclude processing of the sources being passed. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
530 '--var_name', 'dart::Bootstrap::math_source_', | 541 '--var_name', 'dart::Bootstrap::math_source_', |
531 '<(math_dart)', | 542 '<(math_dart)', |
532 ], | 543 ], |
533 'message': 'Generating ''<(math_cc_file)'' file.' | 544 'message': 'Generating ''<(math_cc_file)'' file.' |
534 }, | 545 }, |
535 ] | 546 ] |
536 }, | 547 }, |
537 { | 548 { |
538 'target_name': 'generate_math_patch_cc_file', | 549 'target_name': 'generate_math_patch_cc_file', |
539 'type': 'none', | 550 'type': 'none', |
| 551 'toolsets':['host', 'target'], |
540 'includes': [ | 552 'includes': [ |
541 # Load the shared math library sources. | 553 # Load the shared math library sources. |
542 '../lib/math_sources.gypi', | 554 '../lib/math_sources.gypi', |
543 ], | 555 ], |
544 'sources/': [ | 556 'sources/': [ |
545 # Exclude all .[cc|h] files. | 557 # Exclude all .[cc|h] files. |
546 # This is only here for reference. Excludes happen after | 558 # This is only here for reference. Excludes happen after |
547 # variable expansion, so the script has to do its own | 559 # variable expansion, so the script has to do its own |
548 # exclude processing of the sources being passed. | 560 # exclude processing of the sources being passed. |
549 ['exclude', '\\.cc|h$'], | 561 ['exclude', '\\.cc|h$'], |
(...skipping 18 matching lines...) Expand all Loading... |
568 '--var_name', 'dart::Bootstrap::math_patch_', | 580 '--var_name', 'dart::Bootstrap::math_patch_', |
569 '<@(_sources)', | 581 '<@(_sources)', |
570 ], | 582 ], |
571 'message': 'Generating ''<(math_patch_cc_file)'' file.' | 583 'message': 'Generating ''<(math_patch_cc_file)'' file.' |
572 }, | 584 }, |
573 ] | 585 ] |
574 }, | 586 }, |
575 { | 587 { |
576 'target_name': 'generate_mirrors_cc_file', | 588 'target_name': 'generate_mirrors_cc_file', |
577 'type': 'none', | 589 'type': 'none', |
| 590 'toolsets':['host', 'target'], |
578 'variables': { | 591 'variables': { |
579 'mirrors_dart': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.dart', | 592 'mirrors_dart': '<(gen_source_dir)/mirrors_gen.dart', |
580 }, | 593 }, |
581 'includes': [ | 594 'includes': [ |
582 # Load the shared core library sources. | 595 # Load the shared core library sources. |
583 '../../sdk/lib/mirrors/mirrors_sources.gypi', | 596 '../../sdk/lib/mirrors/mirrors_sources.gypi', |
584 ], | 597 ], |
585 'sources/': [ | 598 'sources/': [ |
586 # Exclude all .[cc|h] files. | 599 # Exclude all .[cc|h] files. |
587 # This is only here for reference. Excludes happen after | 600 # This is only here for reference. Excludes happen after |
588 # variable expansion, so the script has to do its own | 601 # variable expansion, so the script has to do its own |
589 # exclude processing of the sources being passed. | 602 # exclude processing of the sources being passed. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
625 '--var_name', 'dart::Bootstrap::mirrors_source_', | 638 '--var_name', 'dart::Bootstrap::mirrors_source_', |
626 '<(mirrors_dart)', | 639 '<(mirrors_dart)', |
627 ], | 640 ], |
628 'message': 'Generating ''<(mirrors_cc_file)'' file.' | 641 'message': 'Generating ''<(mirrors_cc_file)'' file.' |
629 }, | 642 }, |
630 ] | 643 ] |
631 }, | 644 }, |
632 { | 645 { |
633 'target_name': 'generate_mirrors_patch_cc_file', | 646 'target_name': 'generate_mirrors_patch_cc_file', |
634 'type': 'none', | 647 'type': 'none', |
| 648 'toolsets':['host', 'target'], |
635 'includes': [ | 649 'includes': [ |
636 # Load the patch sources. | 650 # Load the patch sources. |
637 '../lib/mirrors_sources.gypi', | 651 '../lib/mirrors_sources.gypi', |
638 ], | 652 ], |
639 'sources/': [ | 653 'sources/': [ |
640 # Exclude all .[cc|h] files. | 654 # Exclude all .[cc|h] files. |
641 # This is only here for reference. Excludes happen after | 655 # This is only here for reference. Excludes happen after |
642 # variable expansion, so the script has to do its own | 656 # variable expansion, so the script has to do its own |
643 # exclude processing of the sources being passed. | 657 # exclude processing of the sources being passed. |
644 ['exclude', '\\.cc|h$'], | 658 ['exclude', '\\.cc|h$'], |
(...skipping 18 matching lines...) Expand all Loading... |
663 '--var_name', 'dart::Bootstrap::mirrors_patch_', | 677 '--var_name', 'dart::Bootstrap::mirrors_patch_', |
664 '<@(_sources)', | 678 '<@(_sources)', |
665 ], | 679 ], |
666 'message': 'Generating ''<(mirrors_patch_cc_file)'' file.' | 680 'message': 'Generating ''<(mirrors_patch_cc_file)'' file.' |
667 }, | 681 }, |
668 ] | 682 ] |
669 }, | 683 }, |
670 { | 684 { |
671 'target_name': 'generate_isolate_cc_file', | 685 'target_name': 'generate_isolate_cc_file', |
672 'type': 'none', | 686 'type': 'none', |
| 687 'toolsets':['host', 'target'], |
673 'variables': { | 688 'variables': { |
674 'isolate_dart': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.dart', | 689 'isolate_dart': '<(gen_source_dir)/isolate_gen.dart', |
675 }, | 690 }, |
676 'includes': [ | 691 'includes': [ |
677 # Load the runtime implementation sources. | 692 # Load the runtime implementation sources. |
678 '../../sdk/lib/isolate/isolate_sources.gypi', | 693 '../../sdk/lib/isolate/isolate_sources.gypi', |
679 ], | 694 ], |
680 'sources/': [ | 695 'sources/': [ |
681 # Exclude all .[cc|h] files. | 696 # Exclude all .[cc|h] files. |
682 # This is only here for reference. Excludes happen after | 697 # This is only here for reference. Excludes happen after |
683 # variable expansion, so the script has to do its own | 698 # variable expansion, so the script has to do its own |
684 # exclude processing of the sources being passed. | 699 # exclude processing of the sources being passed. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
720 '--var_name', 'dart::Bootstrap::isolate_source_', | 735 '--var_name', 'dart::Bootstrap::isolate_source_', |
721 '<(isolate_dart)', | 736 '<(isolate_dart)', |
722 ], | 737 ], |
723 'message': 'Generating ''<(isolate_cc_file)'' file.' | 738 'message': 'Generating ''<(isolate_cc_file)'' file.' |
724 }, | 739 }, |
725 ] | 740 ] |
726 }, | 741 }, |
727 { | 742 { |
728 'target_name': 'generate_async_patch_cc_file', | 743 'target_name': 'generate_async_patch_cc_file', |
729 'type': 'none', | 744 'type': 'none', |
| 745 'toolsets':['host', 'target'], |
730 'includes': [ | 746 'includes': [ |
731 # Load the runtime implementation sources. | 747 # Load the runtime implementation sources. |
732 '../lib/async_sources.gypi', | 748 '../lib/async_sources.gypi', |
733 ], | 749 ], |
734 'sources/': [ | 750 'sources/': [ |
735 # Exclude all .[cc|h] files. | 751 # Exclude all .[cc|h] files. |
736 # This is only here for reference. Excludes happen after | 752 # This is only here for reference. Excludes happen after |
737 # variable expansion, so the script has to do its own | 753 # variable expansion, so the script has to do its own |
738 # exclude processing of the sources being passed. | 754 # exclude processing of the sources being passed. |
739 ['exclude', '\\.cc|h$'], | 755 ['exclude', '\\.cc|h$'], |
(...skipping 18 matching lines...) Expand all Loading... |
758 '--var_name', 'dart::Bootstrap::async_patch_', | 774 '--var_name', 'dart::Bootstrap::async_patch_', |
759 '<@(_sources)', | 775 '<@(_sources)', |
760 ], | 776 ], |
761 'message': 'Generating ''<(async_patch_cc_file)'' file.' | 777 'message': 'Generating ''<(async_patch_cc_file)'' file.' |
762 }, | 778 }, |
763 ] | 779 ] |
764 }, | 780 }, |
765 { | 781 { |
766 'target_name': 'generate_isolate_patch_cc_file', | 782 'target_name': 'generate_isolate_patch_cc_file', |
767 'type': 'none', | 783 'type': 'none', |
| 784 'toolsets':['host', 'target'], |
768 'includes': [ | 785 'includes': [ |
769 # Load the runtime implementation sources. | 786 # Load the runtime implementation sources. |
770 '../lib/isolate_sources.gypi', | 787 '../lib/isolate_sources.gypi', |
771 ], | 788 ], |
772 'sources/': [ | 789 'sources/': [ |
773 # Exclude all .[cc|h] files. | 790 # Exclude all .[cc|h] files. |
774 # This is only here for reference. Excludes happen after | 791 # This is only here for reference. Excludes happen after |
775 # variable expansion, so the script has to do its own | 792 # variable expansion, so the script has to do its own |
776 # exclude processing of the sources being passed. | 793 # exclude processing of the sources being passed. |
777 ['exclude', '\\.cc|h$'], | 794 ['exclude', '\\.cc|h$'], |
(...skipping 18 matching lines...) Expand all Loading... |
796 '--var_name', 'dart::Bootstrap::isolate_patch_', | 813 '--var_name', 'dart::Bootstrap::isolate_patch_', |
797 '<@(_sources)', | 814 '<@(_sources)', |
798 ], | 815 ], |
799 'message': 'Generating ''<(isolate_patch_cc_file)'' file.' | 816 'message': 'Generating ''<(isolate_patch_cc_file)'' file.' |
800 }, | 817 }, |
801 ] | 818 ] |
802 }, | 819 }, |
803 { | 820 { |
804 'target_name': 'generate_json_cc_file', | 821 'target_name': 'generate_json_cc_file', |
805 'type': 'none', | 822 'type': 'none', |
| 823 'toolsets':['host', 'target'], |
806 'variables': { | 824 'variables': { |
807 'json_dart': '<(SHARED_INTERMEDIATE_DIR)/json_gen.dart', | 825 'json_dart': '<(gen_source_dir)/json_gen.dart', |
808 }, | 826 }, |
809 'includes': [ | 827 'includes': [ |
810 # Load the shared json sources. | 828 # Load the shared json sources. |
811 '../../sdk/lib/json/json_sources.gypi', | 829 '../../sdk/lib/json/json_sources.gypi', |
812 ], | 830 ], |
813 'actions': [ | 831 'actions': [ |
814 { | 832 { |
815 'action_name': 'generate_json_dart', | 833 'action_name': 'generate_json_dart', |
816 'inputs': [ | 834 'inputs': [ |
817 '../tools/concat_library.py', | 835 '../tools/concat_library.py', |
(...skipping 28 matching lines...) Expand all Loading... |
846 '--var_name', 'dart::Bootstrap::json_source_', | 864 '--var_name', 'dart::Bootstrap::json_source_', |
847 '<(json_dart)', | 865 '<(json_dart)', |
848 ], | 866 ], |
849 'message': 'Generating ''<(json_cc_file)'' file.' | 867 'message': 'Generating ''<(json_cc_file)'' file.' |
850 }, | 868 }, |
851 ] | 869 ] |
852 }, | 870 }, |
853 { | 871 { |
854 'target_name': 'generate_json_patch_cc_file', | 872 'target_name': 'generate_json_patch_cc_file', |
855 'type': 'none', | 873 'type': 'none', |
| 874 'toolsets':['host', 'target'], |
856 'includes': [ | 875 'includes': [ |
857 # Load the shared json library sources. | 876 # Load the shared json library sources. |
858 '../lib/json_sources.gypi', | 877 '../lib/json_sources.gypi', |
859 ], | 878 ], |
860 'sources/': [ | 879 'sources/': [ |
861 # Exclude all .[cc|h] files. | 880 # Exclude all .[cc|h] files. |
862 # This is only here for reference. Excludes happen after | 881 # This is only here for reference. Excludes happen after |
863 # variable expansion, so the script has to do its own | 882 # variable expansion, so the script has to do its own |
864 # exclude processing of the sources being passed. | 883 # exclude processing of the sources being passed. |
865 ['exclude', '\\.cc|h$'], | 884 ['exclude', '\\.cc|h$'], |
(...skipping 18 matching lines...) Expand all Loading... |
884 '--var_name', 'dart::Bootstrap::json_patch_', | 903 '--var_name', 'dart::Bootstrap::json_patch_', |
885 '<@(_sources)', | 904 '<@(_sources)', |
886 ], | 905 ], |
887 'message': 'Generating ''<(json_patch_cc_file)'' file.' | 906 'message': 'Generating ''<(json_patch_cc_file)'' file.' |
888 }, | 907 }, |
889 ] | 908 ] |
890 }, | 909 }, |
891 { | 910 { |
892 'target_name': 'generate_typeddata_cc_file', | 911 'target_name': 'generate_typeddata_cc_file', |
893 'type': 'none', | 912 'type': 'none', |
| 913 'toolsets':['host', 'target'], |
894 'variables': { | 914 'variables': { |
895 'typeddata_dart': '<(SHARED_INTERMEDIATE_DIR)/typeddata_gen.dart', | 915 'typeddata_dart': '<(gen_source_dir)/typeddata_gen.dart', |
896 }, | 916 }, |
897 'includes': [ | 917 'includes': [ |
898 # Load the shared library sources. | 918 # Load the shared library sources. |
899 '../../sdk/lib/typeddata/typeddata_sources.gypi', | 919 '../../sdk/lib/typeddata/typeddata_sources.gypi', |
900 ], | 920 ], |
901 'sources/': [ | 921 'sources/': [ |
902 # Exclude all .[cc|h] files. | 922 # Exclude all .[cc|h] files. |
903 # This is only here for reference. Excludes happen after | 923 # This is only here for reference. Excludes happen after |
904 # variable expansion, so the script has to do its own | 924 # variable expansion, so the script has to do its own |
905 # exclude processing of the sources being passed. | 925 # exclude processing of the sources being passed. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
941 '--var_name', 'dart::Bootstrap::typeddata_source_', | 961 '--var_name', 'dart::Bootstrap::typeddata_source_', |
942 '<(typeddata_dart)', | 962 '<(typeddata_dart)', |
943 ], | 963 ], |
944 'message': 'Generating ''<(typeddata_cc_file)'' file.' | 964 'message': 'Generating ''<(typeddata_cc_file)'' file.' |
945 }, | 965 }, |
946 ] | 966 ] |
947 }, | 967 }, |
948 { | 968 { |
949 'target_name': 'generate_typeddata_patch_cc_file', | 969 'target_name': 'generate_typeddata_patch_cc_file', |
950 'type': 'none', | 970 'type': 'none', |
| 971 'toolsets':['host', 'target'], |
951 'includes': [ | 972 'includes': [ |
952 # Load the runtime implementation sources. | 973 # Load the runtime implementation sources. |
953 '../lib/typeddata_sources.gypi', | 974 '../lib/typeddata_sources.gypi', |
954 ], | 975 ], |
955 'sources/': [ | 976 'sources/': [ |
956 # Exclude all .[cc|h] files. | 977 # Exclude all .[cc|h] files. |
957 # This is only here for reference. Excludes happen after | 978 # This is only here for reference. Excludes happen after |
958 # variable expansion, so the script has to do its own | 979 # variable expansion, so the script has to do its own |
959 # exclude processing of the sources being passed. | 980 # exclude processing of the sources being passed. |
960 ['exclude', '\\.cc|h$'], | 981 ['exclude', '\\.cc|h$'], |
(...skipping 18 matching lines...) Expand all Loading... |
979 '--var_name', 'dart::Bootstrap::typeddata_patch_', | 1000 '--var_name', 'dart::Bootstrap::typeddata_patch_', |
980 '<@(_sources)', | 1001 '<@(_sources)', |
981 ], | 1002 ], |
982 'message': 'Generating ''<(typeddata_patch_cc_file)'' file.' | 1003 'message': 'Generating ''<(typeddata_patch_cc_file)'' file.' |
983 }, | 1004 }, |
984 ] | 1005 ] |
985 }, | 1006 }, |
986 { | 1007 { |
987 'target_name': 'generate_uri_cc_file', | 1008 'target_name': 'generate_uri_cc_file', |
988 'type': 'none', | 1009 'type': 'none', |
| 1010 'toolsets':['host', 'target'], |
989 'variables': { | 1011 'variables': { |
990 'uri_dart': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.dart', | 1012 'uri_dart': '<(gen_source_dir)/uri_gen.dart', |
991 }, | 1013 }, |
992 'includes': [ | 1014 'includes': [ |
993 # Load the shared uri sources. | 1015 # Load the shared uri sources. |
994 '../../sdk/lib/uri/uri_sources.gypi', | 1016 '../../sdk/lib/uri/uri_sources.gypi', |
995 ], | 1017 ], |
996 'actions': [ | 1018 'actions': [ |
997 { | 1019 { |
998 'action_name': 'generate_uri_dart', | 1020 'action_name': 'generate_uri_dart', |
999 'inputs': [ | 1021 'inputs': [ |
1000 '../tools/concat_library.py', | 1022 '../tools/concat_library.py', |
(...skipping 28 matching lines...) Expand all Loading... |
1029 '--var_name', 'dart::Bootstrap::uri_source_', | 1051 '--var_name', 'dart::Bootstrap::uri_source_', |
1030 '<(uri_dart)', | 1052 '<(uri_dart)', |
1031 ], | 1053 ], |
1032 'message': 'Generating ''<(uri_cc_file)'' file.' | 1054 'message': 'Generating ''<(uri_cc_file)'' file.' |
1033 }, | 1055 }, |
1034 ] | 1056 ] |
1035 }, | 1057 }, |
1036 { | 1058 { |
1037 'target_name': 'generate_utf_cc_file', | 1059 'target_name': 'generate_utf_cc_file', |
1038 'type': 'none', | 1060 'type': 'none', |
| 1061 'toolsets':['host', 'target'], |
1039 'variables': { | 1062 'variables': { |
1040 'utf_dart': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.dart', | 1063 'utf_dart': '<(gen_source_dir)/utf_gen.dart', |
1041 }, | 1064 }, |
1042 'includes': [ | 1065 'includes': [ |
1043 # Load the shared utf sources. | 1066 # Load the shared utf sources. |
1044 '../../sdk/lib/utf/utf_sources.gypi', | 1067 '../../sdk/lib/utf/utf_sources.gypi', |
1045 ], | 1068 ], |
1046 'actions': [ | 1069 'actions': [ |
1047 { | 1070 { |
1048 'action_name': 'generate_utf_dart', | 1071 'action_name': 'generate_utf_dart', |
1049 'inputs': [ | 1072 'inputs': [ |
1050 '../tools/concat_library.py', | 1073 '../tools/concat_library.py', |
(...skipping 28 matching lines...) Expand all Loading... |
1079 '--var_name', 'dart::Bootstrap::utf_source_', | 1102 '--var_name', 'dart::Bootstrap::utf_source_', |
1080 '<(utf_dart)', | 1103 '<(utf_dart)', |
1081 ], | 1104 ], |
1082 'message': 'Generating ''<(utf_cc_file)'' file.' | 1105 'message': 'Generating ''<(utf_cc_file)'' file.' |
1083 }, | 1106 }, |
1084 ] | 1107 ] |
1085 }, | 1108 }, |
1086 { | 1109 { |
1087 'target_name': 'generate_snapshot_test_dat_file', | 1110 'target_name': 'generate_snapshot_test_dat_file', |
1088 'type': 'none', | 1111 'type': 'none', |
| 1112 'toolsets':['host', 'target'], |
1089 'actions': [ | 1113 'actions': [ |
1090 { | 1114 { |
1091 'action_name': 'generate_snapshot_test_dat', | 1115 'action_name': 'generate_snapshot_test_dat', |
1092 'inputs': [ | 1116 'inputs': [ |
1093 '../tools/create_string_literal.py', | 1117 '../tools/create_string_literal.py', |
1094 '<(snapshot_test_in_dat_file)', | 1118 '<(snapshot_test_in_dat_file)', |
1095 '<(snapshot_test_dart_file)', | 1119 '<(snapshot_test_dart_file)', |
1096 ], | 1120 ], |
1097 'outputs': [ | 1121 'outputs': [ |
1098 '<(snapshot_test_dat_file)', | 1122 '<(snapshot_test_dat_file)', |
1099 ], | 1123 ], |
1100 'action': [ | 1124 'action': [ |
1101 'python', | 1125 'python', |
1102 'tools/create_string_literal.py', | 1126 'tools/create_string_literal.py', |
1103 '--output', '<(snapshot_test_dat_file)', | 1127 '--output', '<(snapshot_test_dat_file)', |
1104 '--input_cc', '<(snapshot_test_in_dat_file)', | 1128 '--input_cc', '<(snapshot_test_in_dat_file)', |
1105 '--include', 'INTENTIONALLY_LEFT_BLANK', | 1129 '--include', 'INTENTIONALLY_LEFT_BLANK', |
1106 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', | 1130 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', |
1107 '<(snapshot_test_dart_file)', | 1131 '<(snapshot_test_dart_file)', |
1108 ], | 1132 ], |
1109 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' | 1133 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' |
1110 }, | 1134 }, |
1111 ] | 1135 ] |
1112 }, | 1136 }, |
1113 ] | 1137 ] |
1114 } | 1138 } |
OLD | NEW |