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

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

Issue 19000006: First version of Codecs and Converters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comment. Created 7 years, 5 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/symbols.h ('k') | sdk/lib/_internal/libraries.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 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)', 7 'gen_source_dir': '<(SHARED_INTERMEDIATE_DIR)',
8 'libgen_in_cc_file': '../lib/libgen_in.cc', 8 'libgen_in_cc_file': '../lib/libgen_in.cc',
9 'builtin_in_cc_file': '../bin/builtin_in.cc', 9 'builtin_in_cc_file': '../bin/builtin_in.cc',
10 'async_cc_file': '<(gen_source_dir)/async_gen.cc', 10 'async_cc_file': '<(gen_source_dir)/async_gen.cc',
11 'async_patch_cc_file': '<(gen_source_dir)/async_patch_gen.cc', 11 'async_patch_cc_file': '<(gen_source_dir)/async_patch_gen.cc',
12 'corelib_cc_file': '<(gen_source_dir)/corelib_gen.cc', 12 'corelib_cc_file': '<(gen_source_dir)/corelib_gen.cc',
13 'corelib_patch_cc_file': '<(gen_source_dir)/corelib_patch_gen.cc', 13 'corelib_patch_cc_file': '<(gen_source_dir)/corelib_patch_gen.cc',
14 'codec_cc_file': '<(gen_source_dir)/codec_gen.cc',
14 'collection_cc_file': '<(gen_source_dir)/collection_gen.cc', 15 'collection_cc_file': '<(gen_source_dir)/collection_gen.cc',
15 'collection_patch_cc_file': '<(gen_source_dir)/collection_patch_gen.cc', 16 'collection_patch_cc_file': '<(gen_source_dir)/collection_patch_gen.cc',
16 'collection_dev_cc_file': '<(gen_source_dir)/collection_dev_gen.cc', 17 'collection_dev_cc_file': '<(gen_source_dir)/collection_dev_gen.cc',
17 'collection_dev_patch_cc_file': '<(gen_source_dir)/collection_dev_patch_gen. cc', 18 'collection_dev_patch_cc_file': '<(gen_source_dir)/collection_dev_patch_gen. cc',
19 'convert_cc_file': '<(gen_source_dir)/convert_gen.cc',
18 'math_cc_file': '<(gen_source_dir)/math_gen.cc', 20 'math_cc_file': '<(gen_source_dir)/math_gen.cc',
19 'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc', 21 'math_patch_cc_file': '<(gen_source_dir)/math_patch_gen.cc',
20 'mirrors_cc_file': '<(gen_source_dir)/mirrors_gen.cc', 22 'mirrors_cc_file': '<(gen_source_dir)/mirrors_gen.cc',
21 'mirrors_patch_cc_file': '<(gen_source_dir)/mirrors_patch_gen.cc', 23 'mirrors_patch_cc_file': '<(gen_source_dir)/mirrors_patch_gen.cc',
22 'isolate_cc_file': '<(gen_source_dir)/isolate_gen.cc', 24 'isolate_cc_file': '<(gen_source_dir)/isolate_gen.cc',
23 'isolate_patch_cc_file': '<(gen_source_dir)/isolate_patch_gen.cc', 25 'isolate_patch_cc_file': '<(gen_source_dir)/isolate_patch_gen.cc',
24 'json_cc_file': '<(gen_source_dir)/json_gen.cc', 26 'json_cc_file': '<(gen_source_dir)/json_gen.cc',
25 'json_patch_cc_file': '<(gen_source_dir)/json_patch_gen.cc', 27 'json_patch_cc_file': '<(gen_source_dir)/json_patch_gen.cc',
26 'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc', 28 'typed_data_cc_file': '<(gen_source_dir)/typed_data_gen.cc',
27 'typed_data_patch_cc_file': '<(gen_source_dir)/typed_data_patch_gen.cc', 29 'typed_data_patch_cc_file': '<(gen_source_dir)/typed_data_patch_gen.cc',
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 }, 90 },
89 }]], 91 }]],
90 }, 92 },
91 { 93 {
92 'target_name': 'libdart_lib_withcore', 94 'target_name': 'libdart_lib_withcore',
93 'type': 'static_library', 95 'type': 'static_library',
94 'toolsets':['host', 'target'], 96 'toolsets':['host', 'target'],
95 'dependencies': [ 97 'dependencies': [
96 'generate_async_cc_file#host', 98 'generate_async_cc_file#host',
97 'generate_async_patch_cc_file#host', 99 'generate_async_patch_cc_file#host',
100 'generate_codec_cc_file#host',
98 'generate_corelib_cc_file#host', 101 'generate_corelib_cc_file#host',
99 'generate_corelib_patch_cc_file#host', 102 'generate_corelib_patch_cc_file#host',
100 'generate_collection_cc_file#host', 103 'generate_collection_cc_file#host',
101 'generate_collection_patch_cc_file#host', 104 'generate_collection_patch_cc_file#host',
102 'generate_collection_dev_cc_file#host', 105 'generate_collection_dev_cc_file#host',
103 'generate_collection_dev_patch_cc_file#host', 106 'generate_collection_dev_patch_cc_file#host',
107 'generate_convert_cc_file#host',
104 'generate_math_cc_file#host', 108 'generate_math_cc_file#host',
105 'generate_math_patch_cc_file#host', 109 'generate_math_patch_cc_file#host',
106 'generate_isolate_cc_file#host', 110 'generate_isolate_cc_file#host',
107 'generate_isolate_patch_cc_file#host', 111 'generate_isolate_patch_cc_file#host',
108 'generate_json_cc_file#host', 112 'generate_json_cc_file#host',
109 'generate_json_patch_cc_file#host', 113 'generate_json_patch_cc_file#host',
110 'generate_mirrors_cc_file#host', 114 'generate_mirrors_cc_file#host',
111 'generate_mirrors_patch_cc_file#host', 115 'generate_mirrors_patch_cc_file#host',
112 'generate_typed_data_cc_file#host', 116 'generate_typed_data_cc_file#host',
113 'generate_typed_data_patch_cc_file#host', 117 'generate_typed_data_patch_cc_file#host',
114 'generate_utf_cc_file#host', 118 'generate_utf_cc_file#host',
115 ], 119 ],
116 'includes': [ 120 'includes': [
117 '../lib/async_sources.gypi', 121 '../lib/async_sources.gypi',
118 '../lib/collection_sources.gypi', 122 '../lib/collection_sources.gypi',
119 '../lib/corelib_sources.gypi', 123 '../lib/corelib_sources.gypi',
120 '../lib/isolate_sources.gypi', 124 '../lib/isolate_sources.gypi',
121 '../lib/math_sources.gypi', 125 '../lib/math_sources.gypi',
122 '../lib/mirrors_sources.gypi', 126 '../lib/mirrors_sources.gypi',
123 '../lib/typed_data_sources.gypi', 127 '../lib/typed_data_sources.gypi',
124 ], 128 ],
125 'sources': [ 129 'sources': [
126 'bootstrap.cc', 130 'bootstrap.cc',
127 # Include generated source files. 131 # Include generated source files.
128 '<(async_cc_file)', 132 '<(async_cc_file)',
129 '<(async_patch_cc_file)', 133 '<(async_patch_cc_file)',
134 '<(codec_cc_file)',
130 '<(corelib_cc_file)', 135 '<(corelib_cc_file)',
131 '<(corelib_patch_cc_file)', 136 '<(corelib_patch_cc_file)',
132 '<(collection_cc_file)', 137 '<(collection_cc_file)',
133 '<(collection_patch_cc_file)', 138 '<(collection_patch_cc_file)',
134 '<(collection_dev_cc_file)', 139 '<(collection_dev_cc_file)',
135 '<(collection_dev_patch_cc_file)', 140 '<(collection_dev_patch_cc_file)',
141 '<(convert_cc_file)',
136 '<(math_cc_file)', 142 '<(math_cc_file)',
137 '<(math_patch_cc_file)', 143 '<(math_patch_cc_file)',
138 '<(isolate_cc_file)', 144 '<(isolate_cc_file)',
139 '<(isolate_patch_cc_file)', 145 '<(isolate_patch_cc_file)',
140 '<(json_cc_file)', 146 '<(json_cc_file)',
141 '<(json_patch_cc_file)', 147 '<(json_patch_cc_file)',
142 '<(mirrors_cc_file)', 148 '<(mirrors_cc_file)',
143 '<(mirrors_patch_cc_file)', 149 '<(mirrors_patch_cc_file)',
144 '<(typed_data_cc_file)', 150 '<(typed_data_cc_file)',
145 '<(typed_data_patch_cc_file)', 151 '<(typed_data_patch_cc_file)',
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
322 '--include', 'vm/bootstrap.h', 328 '--include', 'vm/bootstrap.h',
323 '--var_name', 'dart::Bootstrap::collection_source_paths_', 329 '--var_name', 'dart::Bootstrap::collection_source_paths_',
324 '--library_name', 'dart:collection', 330 '--library_name', 'dart:collection',
325 '<@(_sources)', 331 '<@(_sources)',
326 ], 332 ],
327 'message': 'Generating ''<(collection_cc_file)'' file.' 333 'message': 'Generating ''<(collection_cc_file)'' file.'
328 }, 334 },
329 ] 335 ]
330 }, 336 },
331 { 337 {
338 'target_name': 'generate_codec_cc_file',
339 'type': 'none',
340 'toolsets':['host'],
341 'includes': [
342 # Load the shared codec library sources.
343 '../../sdk/lib/codec/codec_sources.gypi',
344 ],
345 'sources/': [
346 # Exclude all .[cc|h] files.
347 # This is only here for reference. Excludes happen after
348 # variable expansion, so the script has to do its own
349 # exclude processing of the sources being passed.
350 ['exclude', '\\.cc|h$'],
351 ],
352 'actions': [
353 {
354 'action_name': 'generate_codec_cc',
355 'inputs': [
356 '../tools/gen_library_src_paths.py',
357 '<(libgen_in_cc_file)',
358 '<@(_sources)',
359 ],
360 'outputs': [
361 '<(codec_cc_file)',
362 ],
363 'action': [
364 'python',
365 'tools/gen_library_src_paths.py',
366 '--output', '<(codec_cc_file)',
367 '--input_cc', '<(libgen_in_cc_file)',
368 '--include', 'vm/bootstrap.h',
369 '--var_name', 'dart::Bootstrap::codec_source_paths_',
370 '--library_name', 'dart:codec',
371 '<@(_sources)',
372 ],
373 'message': 'Generating ''<(codec_cc_file)'' file.'
374 },
375 ]
376 },
377 {
332 'target_name': 'generate_collection_dev_patch_cc_file', 378 'target_name': 'generate_collection_dev_patch_cc_file',
333 'type': 'none', 379 'type': 'none',
334 'toolsets':['host'], 380 'toolsets':['host'],
335 'includes': [ 381 'includes': [
336 # Load the runtime implementation sources. 382 # Load the runtime implementation sources.
337 '../lib/collection_dev_sources.gypi', 383 '../lib/collection_dev_sources.gypi',
338 ], 384 ],
339 'sources/': [ 385 'sources/': [
340 # Exclude all .[cc|h] files. 386 # Exclude all .[cc|h] files.
341 # This is only here for reference. Excludes happen after 387 # This is only here for reference. Excludes happen after
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 '--include', 'vm/bootstrap.h', 448 '--include', 'vm/bootstrap.h',
403 '--var_name', 'dart::Bootstrap::collection_dev_source_paths_', 449 '--var_name', 'dart::Bootstrap::collection_dev_source_paths_',
404 '--library_name', 'dart:_collection-dev', 450 '--library_name', 'dart:_collection-dev',
405 '<@(_sources)', 451 '<@(_sources)',
406 ], 452 ],
407 'message': 'Generating ''<(collection_dev_cc_file)'' file.' 453 'message': 'Generating ''<(collection_dev_cc_file)'' file.'
408 }, 454 },
409 ] 455 ]
410 }, 456 },
411 { 457 {
458 'target_name': 'generate_convert_cc_file',
459 'type': 'none',
460 'toolsets':['host'],
461 'includes': [
462 # Load the shared convert library sources.
463 '../../sdk/lib/convert/convert_sources.gypi',
464 ],
465 'sources/': [
466 # Exclude all .[cc|h] files.
467 # This is only here for reference. Excludes happen after
468 # variable expansion, so the script has to do its own
469 # exclude processing of the sources being passed.
470 ['exclude', '\\.cc|h$'],
471 ],
472 'actions': [
473 {
474 'action_name': 'generate_convert_cc',
475 'inputs': [
476 '../tools/gen_library_src_paths.py',
477 '<(libgen_in_cc_file)',
478 '<@(_sources)',
479 ],
480 'outputs': [
481 '<(convert_cc_file)',
482 ],
483 'action': [
484 'python',
485 'tools/gen_library_src_paths.py',
486 '--output', '<(convert_cc_file)',
487 '--input_cc', '<(libgen_in_cc_file)',
488 '--include', 'vm/bootstrap.h',
489 '--var_name', 'dart::Bootstrap::convert_source_paths_',
490 '--library_name', 'dart:convert',
491 '<@(_sources)',
492 ],
493 'message': 'Generating ''<(convert_cc_file)'' file.'
494 },
495 ]
496 },
497 {
412 'target_name': 'generate_math_cc_file', 498 'target_name': 'generate_math_cc_file',
413 'type': 'none', 499 'type': 'none',
414 'toolsets':['host'], 500 'toolsets':['host'],
415 'includes': [ 501 'includes': [
416 # Load the shared math library sources. 502 # Load the shared math library sources.
417 '../../sdk/lib/math/math_sources.gypi', 503 '../../sdk/lib/math/math_sources.gypi',
418 ], 504 ],
419 'sources/': [ 505 'sources/': [
420 # Exclude all .[cc|h] files. 506 # Exclude all .[cc|h] files.
421 # This is only here for reference. Excludes happen after 507 # This is only here for reference. Excludes happen after
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after
937 '--include', 'INTENTIONALLY_LEFT_BLANK', 1023 '--include', 'INTENTIONALLY_LEFT_BLANK',
938 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO', 1024 '--var_name', 'INTENTIONALLY_LEFT_BLANK_TOO',
939 '<(snapshot_test_dart_file)', 1025 '<(snapshot_test_dart_file)',
940 ], 1026 ],
941 'message': 'Generating ''<(snapshot_test_dat_file)'' file.' 1027 'message': 'Generating ''<(snapshot_test_dat_file)'' file.'
942 }, 1028 },
943 ] 1029 ]
944 }, 1030 },
945 ] 1031 ]
946 } 1032 }
OLDNEW
« no previous file with comments | « runtime/vm/symbols.h ('k') | sdk/lib/_internal/libraries.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698