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

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

Issue 10919267: Introduce a VM-only dart:scalarlist library for byte arrays. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Move init call for scalarlist lib Created 8 years, 3 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
« no previous file with comments | « runtime/vm/snapshot_test.cc ('k') | tests/standalone/byte_array_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 'builtin_in_cc_file': '../bin/builtin_in.cc', 7 'builtin_in_cc_file': '../bin/builtin_in.cc',
8 'corelib_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_gen.cc', 8 'corelib_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_gen.cc',
9 'corelib_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_patch_gen.cc', 9 'corelib_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_patch_gen.cc',
10 'corelib_impl_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_impl_gen.cc', 10 'corelib_impl_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_impl_gen.cc',
11 'corelib_impl_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_impl_patch _gen.cc', 11 'corelib_impl_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/corelib_impl_patch _gen.cc',
12 'math_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_gen.cc', 12 'math_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_gen.cc',
13 'math_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_patch_gen.cc', 13 'math_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/math_patch_gen.cc',
14 'mirrors_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.cc', 14 'mirrors_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_gen.cc',
15 'mirrors_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_patch_gen.cc', 15 'mirrors_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/mirrors_patch_gen.cc',
16 'isolate_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.cc', 16 'isolate_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_gen.cc',
17 'isolate_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_patch_gen.cc', 17 'isolate_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/isolate_patch_gen.cc',
18 'scalarlist_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_gen.cc',
19 'scalarlist_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/scalarlist_patch_gen .cc',
18 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat', 20 'snapshot_test_dat_file': '<(SHARED_INTERMEDIATE_DIR)/snapshot_test.dat',
19 'snapshot_test_in_dat_file': 'snapshot_test_in.dat', 21 'snapshot_test_in_dat_file': 'snapshot_test_in.dat',
20 'snapshot_test_dart_file': 'snapshot_test.dart', 22 'snapshot_test_dart_file': 'snapshot_test.dart',
21 }, 23 },
22 'targets': [ 24 'targets': [
23 { 25 {
24 'target_name': 'libdart_vm', 26 'target_name': 'libdart_vm',
25 'type': 'static_library', 27 'type': 'static_library',
26 'includes': [ 28 'includes': [
27 'vm_sources.gypi', 29 'vm_sources.gypi',
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 'generate_corelib_cc_file', 67 'generate_corelib_cc_file',
66 'generate_corelib_patch_cc_file', 68 'generate_corelib_patch_cc_file',
67 'generate_corelib_impl_cc_file', 69 'generate_corelib_impl_cc_file',
68 'generate_corelib_impl_patch_cc_file', 70 'generate_corelib_impl_patch_cc_file',
69 'generate_math_cc_file', 71 'generate_math_cc_file',
70 'generate_math_patch_cc_file', 72 'generate_math_patch_cc_file',
71 'generate_isolate_cc_file', 73 'generate_isolate_cc_file',
72 'generate_isolate_patch_cc_file', 74 'generate_isolate_patch_cc_file',
73 'generate_mirrors_cc_file', 75 'generate_mirrors_cc_file',
74 'generate_mirrors_patch_cc_file', 76 'generate_mirrors_patch_cc_file',
77 'generate_scalarlist_cc_file',
78 'generate_scalarlist_patch_cc_file',
75 ], 79 ],
76 'includes': [ 80 'includes': [
77 '../lib/lib_sources.gypi', 81 '../lib/lib_sources.gypi',
78 '../lib/lib_impl_sources.gypi', 82 '../lib/lib_impl_sources.gypi',
79 '../lib/isolate_sources.gypi', 83 '../lib/isolate_sources.gypi',
80 '../lib/mirrors_sources.gypi', 84 '../lib/mirrors_sources.gypi',
85 '../lib/scalarlist_sources.gypi',
81 ], 86 ],
82 'sources': [ 87 'sources': [
83 'bootstrap.cc', 88 'bootstrap.cc',
84 # Include generated source files. 89 # Include generated source files.
85 '<(corelib_cc_file)', 90 '<(corelib_cc_file)',
86 '<(corelib_patch_cc_file)', 91 '<(corelib_patch_cc_file)',
87 '<(corelib_impl_cc_file)', 92 '<(corelib_impl_cc_file)',
88 '<(corelib_impl_patch_cc_file)', 93 '<(corelib_impl_patch_cc_file)',
89 '<(math_cc_file)', 94 '<(math_cc_file)',
90 '<(math_patch_cc_file)', 95 '<(math_patch_cc_file)',
91 '<(isolate_cc_file)', 96 '<(isolate_cc_file)',
92 '<(isolate_patch_cc_file)', 97 '<(isolate_patch_cc_file)',
93 '<(mirrors_cc_file)', 98 '<(mirrors_cc_file)',
94 '<(mirrors_patch_cc_file)', 99 '<(mirrors_patch_cc_file)',
100 '<(scalarlist_cc_file)',
101 '<(scalarlist_patch_cc_file)',
95 ], 102 ],
96 'include_dirs': [ 103 'include_dirs': [
97 '..', 104 '..',
98 ], 105 ],
99 }, 106 },
100 { 107 {
101 'target_name': 'libdart_lib', 108 'target_name': 'libdart_lib',
102 'type': 'static_library', 109 'type': 'static_library',
103 'includes': [ 110 'includes': [
104 '../lib/lib_sources.gypi', 111 '../lib/lib_sources.gypi',
105 '../lib/lib_impl_sources.gypi', 112 '../lib/lib_impl_sources.gypi',
106 '../lib/isolate_sources.gypi', 113 '../lib/isolate_sources.gypi',
107 '../lib/mirrors_sources.gypi', 114 '../lib/mirrors_sources.gypi',
115 '../lib/scalarlist_sources.gypi',
108 ], 116 ],
109 'sources': [ 117 'sources': [
110 'bootstrap_nocorelib.cc', 118 'bootstrap_nocorelib.cc',
111 ], 119 ],
112 'include_dirs': [ 120 'include_dirs': [
113 '..', 121 '..',
114 ], 122 ],
115 }, 123 },
116 { 124 {
117 'target_name': 'generate_corelib_cc_file', 125 'target_name': 'generate_corelib_cc_file',
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 '--input_cc', '<(builtin_in_cc_file)', 495 '--input_cc', '<(builtin_in_cc_file)',
488 '--include', 'vm/bootstrap.h', 496 '--include', 'vm/bootstrap.h',
489 '--var_name', 'dart::Bootstrap::isolate_patch_', 497 '--var_name', 'dart::Bootstrap::isolate_patch_',
490 '<@(_sources)', 498 '<@(_sources)',
491 ], 499 ],
492 'message': 'Generating ''<(isolate_patch_cc_file)'' file.' 500 'message': 'Generating ''<(isolate_patch_cc_file)'' file.'
493 }, 501 },
494 ] 502 ]
495 }, 503 },
496 { 504 {
505 'target_name': 'generate_scalarlist_cc_file',
506 'type': 'none',
507 'includes': [
508 # Load the shared library sources.
509 '../../lib/scalarlist/scalarlist_sources.gypi',
510 ],
511 'sources/': [
512 # Exclude all .[cc|h] files.
513 # This is only here for reference. Excludes happen after
514 # variable expansion, so the script has to do its own
515 # exclude processing of the sources being passed.
516 ['exclude', '\\.cc|h$'],
517 ],
518 'actions': [
519 {
520 'action_name': 'generate_scalarlist_cc',
521 'inputs': [
522 '../tools/create_string_literal.py',
523 '<(builtin_in_cc_file)',
524 '<@(_sources)',
525 ],
526 'outputs': [
527 '<(scalarlist_cc_file)',
528 ],
529 'action': [
530 'python',
531 'tools/create_string_literal.py',
532 '--output', '<(scalarlist_cc_file)',
533 '--input_cc', '<(builtin_in_cc_file)',
534 '--include', 'vm/bootstrap.h',
535 '--var_name', 'dart::Bootstrap::scalarlist_source_',
536 '<@(_sources)',
537 ],
538 'message': 'Generating ''<(scalarlist_cc_file)'' file.'
539 },
540 ]
541 },
542 {
543 'target_name': 'generate_scalarlist_patch_cc_file',
544 'type': 'none',
545 'includes': [
546 # Load the runtime implementation sources.
547 '../lib/scalarlist_sources.gypi',
548 ],
549 'sources/': [
550 # Exclude all .[cc|h] files.
551 # This is only here for reference. Excludes happen after
552 # variable expansion, so the script has to do its own
553 # exclude processing of the sources being passed.
554 ['exclude', '\\.cc|h$'],
555 ],
556 'actions': [
557 {
558 'action_name': 'generate_scalarlist_patch_cc',
559 'inputs': [
560 '../tools/create_string_literal.py',
561 '<(builtin_in_cc_file)',
562 '<@(_sources)',
563 ],
564 'outputs': [
565 '<(scalarlist_patch_cc_file)',
566 ],
567 'action': [
568 'python',
569 'tools/create_string_literal.py',
570 '--output', '<(scalarlist_patch_cc_file)',
571 '--input_cc', '<(builtin_in_cc_file)',
572 '--include', 'vm/bootstrap.h',
573 '--var_name', 'dart::Bootstrap::scalarlist_patch_',
574 '<@(_sources)',
575 ],
576 'message': 'Generating ''<(scalarlist_patch_cc_file)'' file.'
577 },
578 ]
579 },
580 {
497 'target_name': 'generate_snapshot_test_dat_file', 581 'target_name': 'generate_snapshot_test_dat_file',
498 'type': 'none', 582 'type': 'none',
499 'actions': [ 583 'actions': [
500 { 584 {
501 'action_name': 'generate_snapshot_test_dat', 585 'action_name': 'generate_snapshot_test_dat',
502 'inputs': [ 586 'inputs': [
503 '../tools/create_string_literal.py', 587 '../tools/create_string_literal.py',
504 '<(snapshot_test_in_dat_file)', 588 '<(snapshot_test_in_dat_file)',
505 '<(snapshot_test_dart_file)', 589 '<(snapshot_test_dart_file)',
506 ], 590 ],
507 'outputs': [ 591 'outputs': [
508 '<(snapshot_test_dat_file)', 592 '<(snapshot_test_dat_file)',
509 ], 593 ],
510 'action': [ 594 'action': [
511 'python', 595 'python',
512 'tools/create_string_literal.py', 596 'tools/create_string_literal.py',
513 '--output', '<(snapshot_test_dat_file)', 597 '--output', '<(snapshot_test_dat_file)',
514 '--input_cc', '<(snapshot_test_in_dat_file)', 598 '--input_cc', '<(snapshot_test_in_dat_file)',
515 '--include', 'INTENTIONALLY_LEFT_BLANK', 599 '--include', 'INTENTIONALLY_LEFT_BLANK',
516 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', 600 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO',
517 '<(snapshot_test_dart_file)', 601 '<(snapshot_test_dart_file)',
518 ], 602 ],
519 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' 603 'message': 'Generating ''<(snapshot_test_dat_file)'' file.'
520 }, 604 },
521 ] 605 ]
522 }, 606 },
523 ] 607 ]
524 } 608 }
OLDNEW
« no previous file with comments | « runtime/vm/snapshot_test.cc ('k') | tests/standalone/byte_array_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698