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

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

Issue 12221022: Initial prototype of vmstats support, based on Dart VM Stats draft design doc. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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/main.cc » ('j') | runtime/bin/vmstats.h » ('J')
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 'crypto_cc_file': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.cc', 7 'crypto_cc_file': '<(SHARED_INTERMEDIATE_DIR)/crypto_gen.cc',
8 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc', 8 'io_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_gen.cc',
9 'io_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_patch_gen.cc', 9 'io_patch_cc_file': '<(SHARED_INTERMEDIATE_DIR)/io_patch_gen.cc',
10 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc', 10 'json_cc_file': '<(SHARED_INTERMEDIATE_DIR)/json_gen.cc',
(...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
531 'tools/create_snapshot_file.py', 531 'tools/create_snapshot_file.py',
532 '--input_bin', '<(snapshot_bin_file)', 532 '--input_bin', '<(snapshot_bin_file)',
533 '--input_cc', '<(snapshot_in_cc_file)', 533 '--input_cc', '<(snapshot_in_cc_file)',
534 '--output', '<(snapshot_cc_file)', 534 '--output', '<(snapshot_cc_file)',
535 ], 535 ],
536 'message': 'Generating ''<(snapshot_cc_file)'' file.' 536 'message': 'Generating ''<(snapshot_cc_file)'' file.'
537 }, 537 },
538 ] 538 ]
539 }, 539 },
540 { 540 {
541 # vmstats service.
542 'target_name': 'vmstats',
543 'type': 'static_library',
544 'dependencies': [
545 'libdart_io'
546 ],
547 'include_dirs': [
548 '..',
549 ],
550 'sources': [
551 'vmstats.cc',
552 'vmstats.h',
553 ],
554 },
siva 2013/02/09 01:00:57 Does this have to be a separate static library, ca
Tom Ball 2013/02/14 23:45:16 I added to them to the targets that include main.c
555 {
541 # dart binary with a snapshot of corelibs built in. 556 # dart binary with a snapshot of corelibs built in.
542 'target_name': 'dart', 557 'target_name': 'dart',
543 'type': 'executable', 558 'type': 'executable',
544 'dependencies': [ 559 'dependencies': [
545 'libdart', 560 'libdart',
546 'libdart_builtin', 561 'libdart_builtin',
547 'libdart_io', 562 'libdart_io',
548 'generate_snapshot_file', 563 'generate_snapshot_file',
564 'vmstats',
549 ], 565 ],
550 'include_dirs': [ 566 'include_dirs': [
551 '..', 567 '..',
552 ], 568 ],
553 'sources': [ 569 'sources': [
554 'main.cc', 570 'main.cc',
555 'builtin_nolib.cc', 571 'builtin_nolib.cc',
556 '<(snapshot_cc_file)', 572 '<(snapshot_cc_file)',
557 ], 573 ],
558 'conditions': [ 574 'conditions': [
(...skipping 19 matching lines...) Expand all
578 ], 594 ],
579 }, 595 },
580 { 596 {
581 # dart binary without any snapshot built in. 597 # dart binary without any snapshot built in.
582 'target_name': 'dart_no_snapshot', 598 'target_name': 'dart_no_snapshot',
583 'type': 'executable', 599 'type': 'executable',
584 'dependencies': [ 600 'dependencies': [
585 'libdart_withcore', 601 'libdart_withcore',
586 'libdart_builtin', 602 'libdart_builtin',
587 'libdart_io', 603 'libdart_io',
604 'vmstats',
588 ], 605 ],
589 'include_dirs': [ 606 'include_dirs': [
590 '..', 607 '..',
591 ], 608 ],
592 'sources': [ 609 'sources': [
593 'main.cc', 610 'main.cc',
594 'builtin.cc', 611 'builtin.cc',
595 # Include generated source files. 612 # Include generated source files.
596 '<(builtin_cc_file)', 613 '<(builtin_cc_file)',
597 '<(crypto_cc_file)', 614 '<(crypto_cc_file)',
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
709 ['OS=="mac"', { 726 ['OS=="mac"', {
710 'xcode_settings': { 727 'xcode_settings': {
711 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ], 728 'OTHER_LDFLAGS': [ '-undefined', 'dynamic_lookup' ],
712 }, 729 },
713 }], 730 }],
714 ], 731 ],
715 }, 732 },
716 ], 733 ],
717 } 734 }
718 735
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/main.cc » ('j') | runtime/bin/vmstats.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698