Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(626)

Side by Side Diff: runtime/vm/vm.gypi

Issue 12726011: Enables cross-compilation of the VM for ARM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_patch_gen .cc', 14 'collection_patch_cc_file': '<(gen_source_dir)/collection_patch_gen.cc',
14 'collection_dev_cc_file': '<(SHARED_INTERMEDIATE_DIR)/collection_dev_gen.cc' , 15 'collection_dev_cc_file': '<(gen_source_dir)/collection_dev_gen.cc',
15 'crypto_cc_file': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.cc', 16 'crypto_cc_file': '<(gen_source_dir)/crypto_gen.cc',
16 'math_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_gen.cc', 17 'math_cc_file': '<(gen_source_dir)/math_gen.cc',
17 'math_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_patch_gen.cc', 18 'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc',
18 'mirrors_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.cc', 19 'mirrors_cc_file': '<(gen_source_dir)/mirrors_gen.cc',
19 'mirrors_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_patch_gen.cc', 20 'mirrors_patch_cc_file': '<(gen_source_dir)/mirrors_patch_gen.cc',
20 'isolate_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.cc', 21 'isolate_cc_file': '<(gen_source_dir)/isolate_gen.cc',
21 'isolate_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_patch_gen.cc', 22 'isolate_patch_cc_file': '<(gen_source_dir)/isolate_patch_gen.cc',
22 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', 23 'json_cc_file': '<(gen_source_dir)/json_gen.cc',
23 'json_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_patch_gen.cc', 24 'json_patch_cc_file': '<(gen_source_dir)/json_patch_gen.cc',
24 'typeddata_cc_file': '<(SHARED_INTERMEDIATE_DIR)/typeddata_gen.cc', 25 'typeddata_cc_file': '<(gen_source_dir)/typeddata_gen.cc',
25 'typeddata_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/typeddata_patch_gen.c c', 26 'typeddata_patch_cc_file': '<(gen_source_dir)/typeddata_patch_gen.cc',
26 'uri_cc_file': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.cc', 27 'uri_cc_file': '<(gen_source_dir)/uri_gen.cc',
27 'utf_cc_file': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.cc', 28 'utf_cc_file': '<(gen_source_dir)/utf_gen.cc',
28 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat', 29 'snapshot_test_dat_file': '<(gen_source_dir)/snapshot_test.dat',
29 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', 30 'snapshot_test_in_dat_file': 'snapshot_test_in.dat',
30 'snapshot_test_dart_file': 'snapshot_test.dart', 31 'snapshot_test_dart_file': 'snapshot_test.dart',
31 }, 32 },
32 'targets': [ 33 'targets': [
33 { 34 {
34 'target_name': 'libdart_vm', 35 'target_name': 'libdart_vm',
35 'type': 'static_library', 36 'type': 'static_library',
37 'toolsets':['host', 'target'],
36 'includes': [ 38 'includes': [
37 'vm_sources.gypi', 39 'vm_sources.gypi',
38 '../platform/platform_headers.gypi', 40 '../platform/platform_headers.gypi',
39 '../platform/platform_sources.gypi', 41 '../platform/platform_sources.gypi',
40 ], 42 ],
41 'sources/': [ 43 'sources/': [
42 # Exclude all _test.[cc|h] files. 44 # Exclude all _test.[cc|h] files.
43 ['exclude', '_test\\.(cc|h)$'], 45 ['exclude', '_test\\.(cc|h)$'],
44 ], 46 ],
45 'include_dirs': [ 47 'include_dirs': [
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 ['OS=="win"', { 85 ['OS=="win"', {
84 'libraries': ['-ljitprofiling.lib'], 86 'libraries': ['-ljitprofiling.lib'],
85 }], 87 }],
86 ], 88 ],
87 }, 89 },
88 }]], 90 }]],
89 }, 91 },
90 { 92 {
91 'target_name': 'libdart_lib_withcore', 93 'target_name': 'libdart_lib_withcore',
92 'type': 'static_library', 94 'type': 'static_library',
95 'toolsets':['host', 'target'],
93 'dependencies': [ 96 'dependencies': [
94 'generate_async_cc_file', 97 'generate_async_cc_file',
95 'generate_async_patch_cc_file', 98 'generate_async_patch_cc_file',
96 'generate_corelib_cc_file', 99 'generate_corelib_cc_file',
97 'generate_corelib_patch_cc_file', 100 'generate_corelib_patch_cc_file',
98 'generate_collection_cc_file', 101 'generate_collection_cc_file',
99 'generate_collection_patch_cc_file', 102 'generate_collection_patch_cc_file',
100 'generate_collection_dev_cc_file', 103 'generate_collection_dev_cc_file',
101 'generate_crypto_cc_file', 104 'generate_crypto_cc_file',
102 'generate_math_cc_file', 105 'generate_math_cc_file',
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 '<(uri_cc_file)', 148 '<(uri_cc_file)',
146 '<(utf_cc_file)', 149 '<(utf_cc_file)',
147 ], 150 ],
148 'include_dirs': [ 151 'include_dirs': [
149 '..', 152 '..',
150 ], 153 ],
151 }, 154 },
152 { 155 {
153 'target_name': 'libdart_lib', 156 'target_name': 'libdart_lib',
154 'type': 'static_library', 157 'type': 'static_library',
158 'toolsets':['host', 'target'],
155 'includes': [ 159 'includes': [
156 '../lib/async_sources.gypi', 160 '../lib/async_sources.gypi',
157 '../lib/collection_sources.gypi', 161 '../lib/collection_sources.gypi',
158 '../lib/lib_sources.gypi', 162 '../lib/lib_sources.gypi',
159 '../lib/isolate_sources.gypi', 163 '../lib/isolate_sources.gypi',
160 '../lib/math_sources.gypi', 164 '../lib/math_sources.gypi',
161 '../lib/mirrors_sources.gypi', 165 '../lib/mirrors_sources.gypi',
162 '../lib/typeddata_sources.gypi', 166 '../lib/typeddata_sources.gypi',
163 ], 167 ],
164 'sources': [ 168 'sources': [
165 'bootstrap_nocorelib.cc', 169 'bootstrap_nocorelib.cc',
166 ], 170 ],
167 'include_dirs': [ 171 'include_dirs': [
168 '..', 172 '..',
169 ], 173 ],
170 }, 174 },
171 { 175 {
172 'target_name': 'generate_async_cc_file', 176 'target_name': 'generate_async_cc_file',
173 'type': 'none', 177 'type': 'none',
178 'toolsets':['host', 'target'],
174 'variables': { 179 'variables': {
175 'async_dart': '<(SHARED_INTERMEDIATE_DIR)/async_gen.dart', 180 'async_dart': '<(gen_source_dir)/async_gen.dart',
176 }, 181 },
177 'includes': [ 182 'includes': [
178 '../../sdk/lib/async/async_sources.gypi', 183 '../../sdk/lib/async/async_sources.gypi',
179 ], 184 ],
180 'sources/': [ 185 'sources/': [
181 # Exclude all .[cc|h] files. 186 # Exclude all .[cc|h] files.
182 # This is only here for reference. Excludes happen after 187 # This is only here for reference. Excludes happen after
183 # variable expansion, so the script has to do its own 188 # variable expansion, so the script has to do its own
184 # exclude processing of the sources being passed. 189 # exclude processing of the sources being passed.
185 ['exclude', '\\.cc|h$'], 190 ['exclude', '\\.cc|h$'],
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 '--var_name', 'dart::Bootstrap::async_source_', 225 '--var_name', 'dart::Bootstrap::async_source_',
221 '<@(async_dart)', 226 '<@(async_dart)',
222 ], 227 ],
223 'message': 'Generating ''<(async_cc_file)'' file.' 228 'message': 'Generating ''<(async_cc_file)'' file.'
224 }, 229 },
225 ] 230 ]
226 }, 231 },
227 { 232 {
228 'target_name': 'generate_corelib_cc_file', 233 'target_name': 'generate_corelib_cc_file',
229 'type': 'none', 234 'type': 'none',
235 'toolsets':['host', 'target'],
230 'variables': { 236 'variables': {
231 'core_dart': '<(SHARED_INTERMEDIATE_DIR)/core_gen.dart', 237 'core_dart': '<(gen_source_dir)/core_gen.dart',
232 },'includes': [ 238 },'includes': [
233 # Load the shared core library sources. 239 # Load the shared core library sources.
234 '../../sdk/lib/core/corelib_sources.gypi', 240 '../../sdk/lib/core/corelib_sources.gypi',
235 ], 241 ],
236 'sources/': [ 242 'sources/': [
237 # Exclude all .[cc|h] files. 243 # Exclude all .[cc|h] files.
238 # This is only here for reference. Excludes happen after 244 # This is only here for reference. Excludes happen after
239 # variable expansion, so the script has to do its own 245 # variable expansion, so the script has to do its own
240 # exclude processing of the sources being passed. 246 # exclude processing of the sources being passed.
241 ['exclude', '\\.cc|h$'], 247 ['exclude', '\\.cc|h$'],
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 '--var_name', 'dart::Bootstrap::corelib_source_', 282 '--var_name', 'dart::Bootstrap::corelib_source_',
277 '<(core_dart)', 283 '<(core_dart)',
278 ], 284 ],
279 'message': 'Generating ''<(corelib_cc_file)'' file.' 285 'message': 'Generating ''<(corelib_cc_file)'' file.'
280 }, 286 },
281 ] 287 ]
282 }, 288 },
283 { 289 {
284 'target_name': 'generate_corelib_patch_cc_file', 290 'target_name': 'generate_corelib_patch_cc_file',
285 'type': 'none', 291 'type': 'none',
292 'toolsets':['host', 'target'],
286 'includes': [ 293 'includes': [
287 # Load the runtime implementation sources. 294 # Load the runtime implementation sources.
288 '../lib/lib_sources.gypi', 295 '../lib/lib_sources.gypi',
289 ], 296 ],
290 'sources/': [ 297 'sources/': [
291 # Exclude all .[cc|h] files. 298 # Exclude all .[cc|h] files.
292 # This is only here for reference. Excludes happen after 299 # This is only here for reference. Excludes happen after
293 # variable expansion, so the script has to do its own 300 # variable expansion, so the script has to do its own
294 # exclude processing of the sources being passed. 301 # exclude processing of the sources being passed.
295 ['exclude', '\\.cc|h$'], 302 ['exclude', '\\.cc|h$'],
(...skipping 18 matching lines...) Expand all
314 '--var_name', 'dart::Bootstrap::corelib_patch_', 321 '--var_name', 'dart::Bootstrap::corelib_patch_',
315 '<@(_sources)', 322 '<@(_sources)',
316 ], 323 ],
317 'message': 'Generating ''<(corelib_patch_cc_file)'' file.' 324 'message': 'Generating ''<(corelib_patch_cc_file)'' file.'
318 }, 325 },
319 ] 326 ]
320 }, 327 },
321 { 328 {
322 'target_name': 'generate_collection_cc_file', 329 'target_name': 'generate_collection_cc_file',
323 'type': 'none', 330 'type': 'none',
331 'toolsets':['host', 'target'],
324 'variables': { 332 'variables': {
325 'collection_dart': '<(SHARED_INTERMEDIATE_DIR)/collection_gen.dart', 333 'collection_dart': '<(gen_source_dir)/collection_gen.dart',
326 }, 334 },
327 'includes': [ 335 'includes': [
328 # Load the shared collection library sources. 336 # Load the shared collection library sources.
329 '../../sdk/lib/collection/collection_sources.gypi', 337 '../../sdk/lib/collection/collection_sources.gypi',
330 ], 338 ],
331 'sources/': [ 339 'sources/': [
332 # Exclude all .[cc|h] files. 340 # Exclude all .[cc|h] files.
333 # This is only here for reference. Excludes happen after 341 # This is only here for reference. Excludes happen after
334 # variable expansion, so the script has to do its own 342 # variable expansion, so the script has to do its own
335 # exclude processing of the sources being passed. 343 # exclude processing of the sources being passed.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 '--var_name', 'dart::Bootstrap::collection_source_', 379 '--var_name', 'dart::Bootstrap::collection_source_',
372 '<(collection_dart)', 380 '<(collection_dart)',
373 ], 381 ],
374 'message': 'Generating ''<(collection_cc_file)'' file.' 382 'message': 'Generating ''<(collection_cc_file)'' file.'
375 }, 383 },
376 ] 384 ]
377 }, 385 },
378 { 386 {
379 'target_name': 'generate_collection_dev_cc_file', 387 'target_name': 'generate_collection_dev_cc_file',
380 'type': 'none', 388 'type': 'none',
389 'toolsets':['host', 'target'],
381 'variables': { 390 'variables': {
382 'collection_dev_dart': '<(SHARED_INTERMEDIATE_DIR)/collection_dev_gen.da rt', 391 'collection_dev_dart': '<(gen_source_dir)/collection_dev_gen.dart',
383 }, 392 },
384 'includes': [ 393 'includes': [
385 # Load the shared collection_dev library sources. 394 # Load the shared collection_dev library sources.
386 '../../sdk/lib/_collection_dev/collection_dev_sources.gypi', 395 '../../sdk/lib/_collection_dev/collection_dev_sources.gypi',
387 ], 396 ],
388 'sources/': [ 397 'sources/': [
389 # Exclude all .[cc|h] files. 398 # Exclude all .[cc|h] files.
390 # This is only here for reference. Excludes happen after 399 # This is only here for reference. Excludes happen after
391 # variable expansion, so the script has to do its own 400 # variable expansion, so the script has to do its own
392 # exclude processing of the sources being passed. 401 # exclude processing of the sources being passed.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 '--var_name', 'dart::Bootstrap::collection_dev_source_', 437 '--var_name', 'dart::Bootstrap::collection_dev_source_',
429 '<(collection_dev_dart)', 438 '<(collection_dev_dart)',
430 ], 439 ],
431 'message': 'Generating ''<(collection_dev_cc_file)'' file.' 440 'message': 'Generating ''<(collection_dev_cc_file)'' file.'
432 }, 441 },
433 ] 442 ]
434 }, 443 },
435 { 444 {
436 'target_name': 'generate_crypto_cc_file', 445 'target_name': 'generate_crypto_cc_file',
437 'type': 'none', 446 'type': 'none',
447 'toolsets':['host', 'target'],
438 'variables': { 448 'variables': {
439 'crypto_dart': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.dart', 449 'crypto_dart': '<(gen_source_dir)/crypto_gen.dart',
440 }, 450 },
441 'includes': [ 451 'includes': [
442 # Load the shared crypto sources. 452 # Load the shared crypto sources.
443 '../../sdk/lib/crypto/crypto_sources.gypi', 453 '../../sdk/lib/crypto/crypto_sources.gypi',
444 ], 454 ],
445 'actions': [ 455 'actions': [
446 { 456 {
447 'action_name': 'generate_crypto_dart', 457 'action_name': 'generate_crypto_dart',
448 'inputs': [ 458 'inputs': [
449 '../tools/concat_library.py', 459 '../tools/concat_library.py',
(...skipping 28 matching lines...) Expand all
478 '--var_name', 'dart::Bootstrap::crypto_source_', 488 '--var_name', 'dart::Bootstrap::crypto_source_',
479 '<(crypto_dart)', 489 '<(crypto_dart)',
480 ], 490 ],
481 'message': 'Generating ''<(crypto_cc_file)'' file.' 491 'message': 'Generating ''<(crypto_cc_file)'' file.'
482 }, 492 },
483 ] 493 ]
484 }, 494 },
485 { 495 {
486 'target_name': 'generate_math_cc_file', 496 'target_name': 'generate_math_cc_file',
487 'type': 'none', 497 'type': 'none',
498 'toolsets':['host', 'target'],
488 'variables': { 499 'variables': {
489 'math_dart': '<(SHARED_INTERMEDIATE_DIR)/math_gen.dart', 500 'math_dart': '<(gen_source_dir)/math_gen.dart',
490 }, 501 },
491 'includes': [ 502 'includes': [
492 # Load the shared math library sources. 503 # Load the shared math library sources.
493 '../../sdk/lib/math/math_sources.gypi', 504 '../../sdk/lib/math/math_sources.gypi',
494 ], 505 ],
495 'sources/': [ 506 'sources/': [
496 # Exclude all .[cc|h] files. 507 # Exclude all .[cc|h] files.
497 # This is only here for reference. Excludes happen after 508 # This is only here for reference. Excludes happen after
498 # variable expansion, so the script has to do its own 509 # variable expansion, so the script has to do its own
499 # exclude processing of the sources being passed. 510 # exclude processing of the sources being passed.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
535 '--var_name', 'dart::Bootstrap::math_source_', 546 '--var_name', 'dart::Bootstrap::math_source_',
536 '<(math_dart)', 547 '<(math_dart)',
537 ], 548 ],
538 'message': 'Generating ''<(math_cc_file)'' file.' 549 'message': 'Generating ''<(math_cc_file)'' file.'
539 }, 550 },
540 ] 551 ]
541 }, 552 },
542 { 553 {
543 'target_name': 'generate_math_patch_cc_file', 554 'target_name': 'generate_math_patch_cc_file',
544 'type': 'none', 555 'type': 'none',
556 'toolsets':['host', 'target'],
545 'includes': [ 557 'includes': [
546 # Load the shared math library sources. 558 # Load the shared math library sources.
547 '../lib/math_sources.gypi', 559 '../lib/math_sources.gypi',
548 ], 560 ],
549 'sources/': [ 561 'sources/': [
550 # Exclude all .[cc|h] files. 562 # Exclude all .[cc|h] files.
551 # This is only here for reference. Excludes happen after 563 # This is only here for reference. Excludes happen after
552 # variable expansion, so the script has to do its own 564 # variable expansion, so the script has to do its own
553 # exclude processing of the sources being passed. 565 # exclude processing of the sources being passed.
554 ['exclude', '\\.cc|h$'], 566 ['exclude', '\\.cc|h$'],
(...skipping 18 matching lines...) Expand all
573 '--var_name', 'dart::Bootstrap::math_patch_', 585 '--var_name', 'dart::Bootstrap::math_patch_',
574 '<@(_sources)', 586 '<@(_sources)',
575 ], 587 ],
576 'message': 'Generating ''<(math_patch_cc_file)'' file.' 588 'message': 'Generating ''<(math_patch_cc_file)'' file.'
577 }, 589 },
578 ] 590 ]
579 }, 591 },
580 { 592 {
581 'target_name': 'generate_mirrors_cc_file', 593 'target_name': 'generate_mirrors_cc_file',
582 'type': 'none', 594 'type': 'none',
595 'toolsets':['host', 'target'],
583 'variables': { 596 'variables': {
584 'mirrors_dart': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.dart', 597 'mirrors_dart': '<(gen_source_dir)/mirrors_gen.dart',
585 }, 598 },
586 'includes': [ 599 'includes': [
587 # Load the shared core library sources. 600 # Load the shared core library sources.
588 '../../sdk/lib/mirrors/mirrors_sources.gypi', 601 '../../sdk/lib/mirrors/mirrors_sources.gypi',
589 ], 602 ],
590 'sources/': [ 603 'sources/': [
591 # Exclude all .[cc|h] files. 604 # Exclude all .[cc|h] files.
592 # This is only here for reference. Excludes happen after 605 # This is only here for reference. Excludes happen after
593 # variable expansion, so the script has to do its own 606 # variable expansion, so the script has to do its own
594 # exclude processing of the sources being passed. 607 # exclude processing of the sources being passed.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
630 '--var_name', 'dart::Bootstrap::mirrors_source_', 643 '--var_name', 'dart::Bootstrap::mirrors_source_',
631 '<(mirrors_dart)', 644 '<(mirrors_dart)',
632 ], 645 ],
633 'message': 'Generating ''<(mirrors_cc_file)'' file.' 646 'message': 'Generating ''<(mirrors_cc_file)'' file.'
634 }, 647 },
635 ] 648 ]
636 }, 649 },
637 { 650 {
638 'target_name': 'generate_mirrors_patch_cc_file', 651 'target_name': 'generate_mirrors_patch_cc_file',
639 'type': 'none', 652 'type': 'none',
653 'toolsets':['host', 'target'],
640 'includes': [ 654 'includes': [
641 # Load the patch sources. 655 # Load the patch sources.
642 '../lib/mirrors_sources.gypi', 656 '../lib/mirrors_sources.gypi',
643 ], 657 ],
644 'sources/': [ 658 'sources/': [
645 # Exclude all .[cc|h] files. 659 # Exclude all .[cc|h] files.
646 # This is only here for reference. Excludes happen after 660 # This is only here for reference. Excludes happen after
647 # variable expansion, so the script has to do its own 661 # variable expansion, so the script has to do its own
648 # exclude processing of the sources being passed. 662 # exclude processing of the sources being passed.
649 ['exclude', '\\.cc|h$'], 663 ['exclude', '\\.cc|h$'],
(...skipping 18 matching lines...) Expand all
668 '--var_name', 'dart::Bootstrap::mirrors_patch_', 682 '--var_name', 'dart::Bootstrap::mirrors_patch_',
669 '<@(_sources)', 683 '<@(_sources)',
670 ], 684 ],
671 'message': 'Generating ''<(mirrors_patch_cc_file)'' file.' 685 'message': 'Generating ''<(mirrors_patch_cc_file)'' file.'
672 }, 686 },
673 ] 687 ]
674 }, 688 },
675 { 689 {
676 'target_name': 'generate_isolate_cc_file', 690 'target_name': 'generate_isolate_cc_file',
677 'type': 'none', 691 'type': 'none',
692 'toolsets':['host', 'target'],
678 'variables': { 693 'variables': {
679 'isolate_dart': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.dart', 694 'isolate_dart': '<(gen_source_dir)/isolate_gen.dart',
680 }, 695 },
681 'includes': [ 696 'includes': [
682 # Load the runtime implementation sources. 697 # Load the runtime implementation sources.
683 '../../sdk/lib/isolate/isolate_sources.gypi', 698 '../../sdk/lib/isolate/isolate_sources.gypi',
684 ], 699 ],
685 'sources/': [ 700 'sources/': [
686 # Exclude all .[cc|h] files. 701 # Exclude all .[cc|h] files.
687 # This is only here for reference. Excludes happen after 702 # This is only here for reference. Excludes happen after
688 # variable expansion, so the script has to do its own 703 # variable expansion, so the script has to do its own
689 # exclude processing of the sources being passed. 704 # exclude processing of the sources being passed.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 '--var_name', 'dart::Bootstrap::isolate_source_', 740 '--var_name', 'dart::Bootstrap::isolate_source_',
726 '<(isolate_dart)', 741 '<(isolate_dart)',
727 ], 742 ],
728 'message': 'Generating ''<(isolate_cc_file)'' file.' 743 'message': 'Generating ''<(isolate_cc_file)'' file.'
729 }, 744 },
730 ] 745 ]
731 }, 746 },
732 { 747 {
733 'target_name': 'generate_async_patch_cc_file', 748 'target_name': 'generate_async_patch_cc_file',
734 'type': 'none', 749 'type': 'none',
750 'toolsets':['host', 'target'],
735 'includes': [ 751 'includes': [
736 # Load the runtime implementation sources. 752 # Load the runtime implementation sources.
737 '../lib/async_sources.gypi', 753 '../lib/async_sources.gypi',
738 ], 754 ],
739 'sources/': [ 755 'sources/': [
740 # Exclude all .[cc|h] files. 756 # Exclude all .[cc|h] files.
741 # This is only here for reference. Excludes happen after 757 # This is only here for reference. Excludes happen after
742 # variable expansion, so the script has to do its own 758 # variable expansion, so the script has to do its own
743 # exclude processing of the sources being passed. 759 # exclude processing of the sources being passed.
744 ['exclude', '\\.cc|h$'], 760 ['exclude', '\\.cc|h$'],
(...skipping 18 matching lines...) Expand all
763 '--var_name', 'dart::Bootstrap::async_patch_', 779 '--var_name', 'dart::Bootstrap::async_patch_',
764 '<@(_sources)', 780 '<@(_sources)',
765 ], 781 ],
766 'message': 'Generating ''<(async_patch_cc_file)'' file.' 782 'message': 'Generating ''<(async_patch_cc_file)'' file.'
767 }, 783 },
768 ] 784 ]
769 }, 785 },
770 { 786 {
771 'target_name': 'generate_collection_patch_cc_file', 787 'target_name': 'generate_collection_patch_cc_file',
772 'type': 'none', 788 'type': 'none',
789 'toolsets':['host', 'target'],
773 'includes': [ 790 'includes': [
774 # Load the runtime implementation sources. 791 # Load the runtime implementation sources.
775 '../lib/collection_sources.gypi', 792 '../lib/collection_sources.gypi',
776 ], 793 ],
777 'sources/': [ 794 'sources/': [
778 # Exclude all .[cc|h] files. 795 # Exclude all .[cc|h] files.
779 # This is only here for reference. Excludes happen after 796 # This is only here for reference. Excludes happen after
780 # variable expansion, so the script has to do its own 797 # variable expansion, so the script has to do its own
781 # exclude processing of the sources being passed. 798 # exclude processing of the sources being passed.
782 ['exclude', '\\.cc|h$'], 799 ['exclude', '\\.cc|h$'],
(...skipping 18 matching lines...) Expand all
801 '--var_name', 'dart::Bootstrap::collection_patch_', 818 '--var_name', 'dart::Bootstrap::collection_patch_',
802 '<@(_sources)', 819 '<@(_sources)',
803 ], 820 ],
804 'message': 'Generating ''<(collection_patch_cc_file)'' file.' 821 'message': 'Generating ''<(collection_patch_cc_file)'' file.'
805 }, 822 },
806 ] 823 ]
807 }, 824 },
808 { 825 {
809 'target_name': 'generate_isolate_patch_cc_file', 826 'target_name': 'generate_isolate_patch_cc_file',
810 'type': 'none', 827 'type': 'none',
828 'toolsets':['host', 'target'],
811 'includes': [ 829 'includes': [
812 # Load the runtime implementation sources. 830 # Load the runtime implementation sources.
813 '../lib/isolate_sources.gypi', 831 '../lib/isolate_sources.gypi',
814 ], 832 ],
815 'sources/': [ 833 'sources/': [
816 # Exclude all .[cc|h] files. 834 # Exclude all .[cc|h] files.
817 # This is only here for reference. Excludes happen after 835 # This is only here for reference. Excludes happen after
818 # variable expansion, so the script has to do its own 836 # variable expansion, so the script has to do its own
819 # exclude processing of the sources being passed. 837 # exclude processing of the sources being passed.
820 ['exclude', '\\.cc|h$'], 838 ['exclude', '\\.cc|h$'],
(...skipping 18 matching lines...) Expand all
839 '--var_name', 'dart::Bootstrap::isolate_patch_', 857 '--var_name', 'dart::Bootstrap::isolate_patch_',
840 '<@(_sources)', 858 '<@(_sources)',
841 ], 859 ],
842 'message': 'Generating ''<(isolate_patch_cc_file)'' file.' 860 'message': 'Generating ''<(isolate_patch_cc_file)'' file.'
843 }, 861 },
844 ] 862 ]
845 }, 863 },
846 { 864 {
847 'target_name': 'generate_json_cc_file', 865 'target_name': 'generate_json_cc_file',
848 'type': 'none', 866 'type': 'none',
867 'toolsets':['host', 'target'],
849 'variables': { 868 'variables': {
850 'json_dart': '<(SHARED_INTERMEDIATE_DIR)/json_gen.dart', 869 'json_dart': '<(gen_source_dir)/json_gen.dart',
851 }, 870 },
852 'includes': [ 871 'includes': [
853 # Load the shared json sources. 872 # Load the shared json sources.
854 '../../sdk/lib/json/json_sources.gypi', 873 '../../sdk/lib/json/json_sources.gypi',
855 ], 874 ],
856 'actions': [ 875 'actions': [
857 { 876 {
858 'action_name': 'generate_json_dart', 877 'action_name': 'generate_json_dart',
859 'inputs': [ 878 'inputs': [
860 '../tools/concat_library.py', 879 '../tools/concat_library.py',
(...skipping 28 matching lines...) Expand all
889 '--var_name', 'dart::Bootstrap::json_source_', 908 '--var_name', 'dart::Bootstrap::json_source_',
890 '<(json_dart)', 909 '<(json_dart)',
891 ], 910 ],
892 'message': 'Generating ''<(json_cc_file)'' file.' 911 'message': 'Generating ''<(json_cc_file)'' file.'
893 }, 912 },
894 ] 913 ]
895 }, 914 },
896 { 915 {
897 'target_name': 'generate_json_patch_cc_file', 916 'target_name': 'generate_json_patch_cc_file',
898 'type': 'none', 917 'type': 'none',
918 'toolsets':['host', 'target'],
899 'includes': [ 919 'includes': [
900 # Load the shared json library sources. 920 # Load the shared json library sources.
901 '../lib/json_sources.gypi', 921 '../lib/json_sources.gypi',
902 ], 922 ],
903 'sources/': [ 923 'sources/': [
904 # Exclude all .[cc|h] files. 924 # Exclude all .[cc|h] files.
905 # This is only here for reference. Excludes happen after 925 # This is only here for reference. Excludes happen after
906 # variable expansion, so the script has to do its own 926 # variable expansion, so the script has to do its own
907 # exclude processing of the sources being passed. 927 # exclude processing of the sources being passed.
908 ['exclude', '\\.cc|h$'], 928 ['exclude', '\\.cc|h$'],
(...skipping 18 matching lines...) Expand all
927 '--var_name', 'dart::Bootstrap::json_patch_', 947 '--var_name', 'dart::Bootstrap::json_patch_',
928 '<@(_sources)', 948 '<@(_sources)',
929 ], 949 ],
930 'message': 'Generating ''<(json_patch_cc_file)'' file.' 950 'message': 'Generating ''<(json_patch_cc_file)'' file.'
931 }, 951 },
932 ] 952 ]
933 }, 953 },
934 { 954 {
935 'target_name': 'generate_typeddata_cc_file', 955 'target_name': 'generate_typeddata_cc_file',
936 'type': 'none', 956 'type': 'none',
957 'toolsets':['host', 'target'],
937 'variables': { 958 'variables': {
938 'typeddata_dart': '<(SHARED_INTERMEDIATE_DIR)/typeddata_gen.dart', 959 'typeddata_dart': '<(gen_source_dir)/typeddata_gen.dart',
939 }, 960 },
940 'includes': [ 961 'includes': [
941 # Load the shared library sources. 962 # Load the shared library sources.
942 '../../sdk/lib/typeddata/typeddata_sources.gypi', 963 '../../sdk/lib/typeddata/typeddata_sources.gypi',
943 ], 964 ],
944 'sources/': [ 965 'sources/': [
945 # Exclude all .[cc|h] files. 966 # Exclude all .[cc|h] files.
946 # This is only here for reference. Excludes happen after 967 # This is only here for reference. Excludes happen after
947 # variable expansion, so the script has to do its own 968 # variable expansion, so the script has to do its own
948 # exclude processing of the sources being passed. 969 # exclude processing of the sources being passed.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
984 '--var_name', 'dart::Bootstrap::typeddata_source_', 1005 '--var_name', 'dart::Bootstrap::typeddata_source_',
985 '<(typeddata_dart)', 1006 '<(typeddata_dart)',
986 ], 1007 ],
987 'message': 'Generating ''<(typeddata_cc_file)'' file.' 1008 'message': 'Generating ''<(typeddata_cc_file)'' file.'
988 }, 1009 },
989 ] 1010 ]
990 }, 1011 },
991 { 1012 {
992 'target_name': 'generate_typeddata_patch_cc_file', 1013 'target_name': 'generate_typeddata_patch_cc_file',
993 'type': 'none', 1014 'type': 'none',
1015 'toolsets':['host', 'target'],
994 'includes': [ 1016 'includes': [
995 # Load the runtime implementation sources. 1017 # Load the runtime implementation sources.
996 '../lib/typeddata_sources.gypi', 1018 '../lib/typeddata_sources.gypi',
997 ], 1019 ],
998 'sources/': [ 1020 'sources/': [
999 # Exclude all .[cc|h] files. 1021 # Exclude all .[cc|h] files.
1000 # This is only here for reference. Excludes happen after 1022 # This is only here for reference. Excludes happen after
1001 # variable expansion, so the script has to do its own 1023 # variable expansion, so the script has to do its own
1002 # exclude processing of the sources being passed. 1024 # exclude processing of the sources being passed.
1003 ['exclude', '\\.cc|h$'], 1025 ['exclude', '\\.cc|h$'],
(...skipping 18 matching lines...) Expand all
1022 '--var_name', 'dart::Bootstrap::typeddata_patch_', 1044 '--var_name', 'dart::Bootstrap::typeddata_patch_',
1023 '<@(_sources)', 1045 '<@(_sources)',
1024 ], 1046 ],
1025 'message': 'Generating ''<(typeddata_patch_cc_file)'' file.' 1047 'message': 'Generating ''<(typeddata_patch_cc_file)'' file.'
1026 }, 1048 },
1027 ] 1049 ]
1028 }, 1050 },
1029 { 1051 {
1030 'target_name': 'generate_uri_cc_file', 1052 'target_name': 'generate_uri_cc_file',
1031 'type': 'none', 1053 'type': 'none',
1054 'toolsets':['host', 'target'],
1032 'variables': { 1055 'variables': {
1033 'uri_dart': '<(SHARED_INTERMEDIATE_DIR)/uri_gen.dart', 1056 'uri_dart': '<(gen_source_dir)/uri_gen.dart',
1034 }, 1057 },
1035 'includes': [ 1058 'includes': [
1036 # Load the shared uri sources. 1059 # Load the shared uri sources.
1037 '../../sdk/lib/uri/uri_sources.gypi', 1060 '../../sdk/lib/uri/uri_sources.gypi',
1038 ], 1061 ],
1039 'actions': [ 1062 'actions': [
1040 { 1063 {
1041 'action_name': 'generate_uri_dart', 1064 'action_name': 'generate_uri_dart',
1042 'inputs': [ 1065 'inputs': [
1043 '../tools/concat_library.py', 1066 '../tools/concat_library.py',
(...skipping 28 matching lines...) Expand all
1072 '--var_name', 'dart::Bootstrap::uri_source_', 1095 '--var_name', 'dart::Bootstrap::uri_source_',
1073 '<(uri_dart)', 1096 '<(uri_dart)',
1074 ], 1097 ],
1075 'message': 'Generating ''<(uri_cc_file)'' file.' 1098 'message': 'Generating ''<(uri_cc_file)'' file.'
1076 }, 1099 },
1077 ] 1100 ]
1078 }, 1101 },
1079 { 1102 {
1080 'target_name': 'generate_utf_cc_file', 1103 'target_name': 'generate_utf_cc_file',
1081 'type': 'none', 1104 'type': 'none',
1105 'toolsets':['host', 'target'],
1082 'variables': { 1106 'variables': {
1083 'utf_dart': '<(SHARED_INTERMEDIATE_DIR)/utf_gen.dart', 1107 'utf_dart': '<(gen_source_dir)/utf_gen.dart',
1084 }, 1108 },
1085 'includes': [ 1109 'includes': [
1086 # Load the shared utf sources. 1110 # Load the shared utf sources.
1087 '../../sdk/lib/utf/utf_sources.gypi', 1111 '../../sdk/lib/utf/utf_sources.gypi',
1088 ], 1112 ],
1089 'actions': [ 1113 'actions': [
1090 { 1114 {
1091 'action_name': 'generate_utf_dart', 1115 'action_name': 'generate_utf_dart',
1092 'inputs': [ 1116 'inputs': [
1093 '../tools/concat_library.py', 1117 '../tools/concat_library.py',
(...skipping 28 matching lines...) Expand all
1122 '--var_name', 'dart::Bootstrap::utf_source_', 1146 '--var_name', 'dart::Bootstrap::utf_source_',
1123 '<(utf_dart)', 1147 '<(utf_dart)',
1124 ], 1148 ],
1125 'message': 'Generating ''<(utf_cc_file)'' file.' 1149 'message': 'Generating ''<(utf_cc_file)'' file.'
1126 }, 1150 },
1127 ] 1151 ]
1128 }, 1152 },
1129 { 1153 {
1130 'target_name': 'generate_snapshot_test_dat_file', 1154 'target_name': 'generate_snapshot_test_dat_file',
1131 'type': 'none', 1155 'type': 'none',
1156 'toolsets':['host', 'target'],
1132 'actions': [ 1157 'actions': [
1133 { 1158 {
1134 'action_name': 'generate_snapshot_test_dat', 1159 'action_name': 'generate_snapshot_test_dat',
1135 'inputs': [ 1160 'inputs': [
1136 '../tools/create_string_literal.py', 1161 '../tools/create_string_literal.py',
1137 '<(snapshot_test_in_dat_file)', 1162 '<(snapshot_test_in_dat_file)',
1138 '<(snapshot_test_dart_file)', 1163 '<(snapshot_test_dart_file)',
1139 ], 1164 ],
1140 'outputs': [ 1165 'outputs': [
1141 '<(snapshot_test_dat_file)', 1166 '<(snapshot_test_dat_file)',
1142 ], 1167 ],
1143 'action': [ 1168 'action': [
1144 'python', 1169 'python',
1145 'tools/create_string_literal.py', 1170 'tools/create_string_literal.py',
1146 '--output', '<(snapshot_test_dat_file)', 1171 '--output', '<(snapshot_test_dat_file)',
1147 '--input_cc', '<(snapshot_test_in_dat_file)', 1172 '--input_cc', '<(snapshot_test_in_dat_file)',
1148 '--include', 'INTENTIONALLY_LEFT_BLANK', 1173 '--include', 'INTENTIONALLY_LEFT_BLANK',
1149 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', 1174 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO',
1150 '<(snapshot_test_dart_file)', 1175 '<(snapshot_test_dart_file)',
1151 ], 1176 ],
1152 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' 1177 'message': 'Generating ''<(snapshot_test_dat_file)'' file.'
1153 }, 1178 },
1154 ] 1179 ]
1155 }, 1180 },
1156 ] 1181 ]
1157 } 1182 }
OLDNEW
« runtime/bin/bin.gypi ('K') | « runtime/vm/object.cc ('k') | tools/build.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698