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

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

Issue 1023753006: First step towards splitting a full snapshot into a vm isolate snapshot and a (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 5 years, 9 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 | « no previous file | runtime/bin/gen_snapshot.cc » ('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 8
9 'io_cc_file': '<(gen_source_dir)/io_gen.cc', 9 'io_cc_file': '<(gen_source_dir)/io_gen.cc',
10 'io_patch_cc_file': '<(gen_source_dir)/io_patch_gen.cc', 10 'io_patch_cc_file': '<(gen_source_dir)/io_patch_gen.cc',
11 'builtin_in_cc_file': 'builtin_in.cc', 11 'builtin_in_cc_file': 'builtin_in.cc',
12 'builtin_cc_file': '<(gen_source_dir)/builtin_gen.cc', 12 'builtin_cc_file': '<(gen_source_dir)/builtin_gen.cc',
13 'snapshot_in_cc_file': 'snapshot_in.cc', 13 'snapshot_in_cc_file': 'snapshot_in.cc',
14 'snapshot_bin_file': '<(gen_source_dir)/snapshot_gen.bin', 14 'vm_isolate_snapshot_bin_file': '<(gen_source_dir)/vm_isolate_snapshot_gen.b in',
15 'isolate_snapshot_bin_file': '<(gen_source_dir)/isolate_snapshot_gen.bin',
15 'resources_cc_file': '<(gen_source_dir)/resources_gen.cc', 16 'resources_cc_file': '<(gen_source_dir)/resources_gen.cc',
16 'bootstrap_resources_cc_file': 17 'bootstrap_resources_cc_file':
17 '<(gen_source_dir)/bootstrap_resources_gen.cc', 18 '<(gen_source_dir)/bootstrap_resources_gen.cc',
18 'snapshot_cc_file': '<(gen_source_dir)/snapshot_gen.cc', 19 'snapshot_cc_file': '<(gen_source_dir)/snapshot_gen.cc',
19 }, 20 },
20 'targets': [ 21 'targets': [
21 { 22 {
22 'target_name': 'generate_builtin_cc_file', 23 'target_name': 'generate_builtin_cc_file',
23 'type': 'none', 24 'type': 'none',
24 'toolsets':['host'], 25 'toolsets':['host'],
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 'gen_snapshot#host', 425 'gen_snapshot#host',
425 ], 426 ],
426 'actions': [ 427 'actions': [
427 { 428 {
428 'action_name': 'generate_snapshot_bin', 429 'action_name': 'generate_snapshot_bin',
429 'inputs': [ 430 'inputs': [
430 '../tools/create_snapshot_bin.py', 431 '../tools/create_snapshot_bin.py',
431 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX) ', 432 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX) ',
432 ], 433 ],
433 'outputs': [ 434 'outputs': [
434 '<(snapshot_bin_file)', 435 '<(vm_isolate_snapshot_bin_file)',
436 '<(isolate_snapshot_bin_file)',
435 ], 437 ],
436 'action': [ 438 'action': [
437 'python', 439 'python',
438 'tools/create_snapshot_bin.py', 440 'tools/create_snapshot_bin.py',
439 '--executable', 441 '--executable',
440 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX) ', 442 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)gen_snapshot<(EXECUTABLE_SUFFIX) ',
441 '--output_bin', '<(snapshot_bin_file)', 443 '--vm_output_bin', '<(vm_isolate_snapshot_bin_file)',
444 '--output_bin', '<(isolate_snapshot_bin_file)',
442 '--target_os', '<(OS)' 445 '--target_os', '<(OS)'
443 ], 446 ],
444 'message': 'Generating ''<(snapshot_bin_file)'' file.' 447 'message': 'Generating ''<(vm_isolate_snapshot_bin_file)'' ''<(isolate _snapshot_bin_file)'' files.'
445 }, 448 },
446 ], 449 ],
447 }, 450 },
448 { 451 {
449 # Generate snapshot file. 452 # Generate snapshot file.
450 'target_name': 'generate_snapshot_file', 453 'target_name': 'generate_snapshot_file',
451 'type': 'none', 454 'type': 'none',
452 'toolsets':['host'], 455 'toolsets':['host'],
453 'dependencies': [ 456 'dependencies': [
454 'generate_snapshot_bin#host', 457 'generate_snapshot_bin#host',
455 ], 458 ],
456 'actions': [ 459 'actions': [
457 { 460 {
458 'action_name': 'generate_snapshot_file', 461 'action_name': 'generate_snapshot_file',
459 'inputs': [ 462 'inputs': [
460 '../tools/create_snapshot_file.py', 463 '../tools/create_snapshot_file.py',
461 '<(snapshot_in_cc_file)', 464 '<(snapshot_in_cc_file)',
462 '<(snapshot_bin_file)' 465 '<(vm_isolate_snapshot_bin_file)',
466 '<(isolate_snapshot_bin_file)',
463 ], 467 ],
464 'outputs': [ 468 'outputs': [
465 '<(snapshot_cc_file)', 469 '<(snapshot_cc_file)',
466 ], 470 ],
467 'action': [ 471 'action': [
468 'python', 472 'python',
469 'tools/create_snapshot_file.py', 473 'tools/create_snapshot_file.py',
470 '--input_bin', '<(snapshot_bin_file)', 474 '--vm_input_bin', '<(vm_isolate_snapshot_bin_file)',
475 '--input_bin', '<(isolate_snapshot_bin_file)',
471 '--input_cc', '<(snapshot_in_cc_file)', 476 '--input_cc', '<(snapshot_in_cc_file)',
472 '--output', '<(snapshot_cc_file)', 477 '--output', '<(snapshot_cc_file)',
473 ], 478 ],
474 'message': 'Generating ''<(snapshot_cc_file)'' file.' 479 'message': 'Generating ''<(snapshot_cc_file)'' file.'
475 }, 480 },
476 ] 481 ]
477 }, 482 },
478 { 483 {
479 'target_name': 'generate_resources_cc_file', 484 'target_name': 'generate_resources_cc_file',
480 'type': 'none', 485 'type': 'none',
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
803 }], 808 }],
804 ['OS=="linux"', { 809 ['OS=="linux"', {
805 'cflags': [ 810 'cflags': [
806 '-fPIC', 811 '-fPIC',
807 ], 812 ],
808 }], 813 }],
809 ], 814 ],
810 }, 815 },
811 ], 816 ],
812 } 817 }
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/gen_snapshot.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698