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

Side by Side Diff: tools/gn/bootstrap/bootstrap.py

Issue 2861133002: memory-infra: Move dump level check to observer and rename session state (Closed)
Patch Set: move comment Created 3 years, 7 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
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # This file isn't officially supported by the Chromium project. It's maintained 6 # This file isn't officially supported by the Chromium project. It's maintained
7 # on a best-effort basis by volunteers, so some things may be broken from time 7 # on a best-effort basis by volunteers, so some things may be broken from time
8 # to time. If you encounter errors, it's most often due to files in base that 8 # to time. If you encounter errors, it's most often due to files in base that
9 # have been added or moved since somebody last tried this script. Generally 9 # have been added or moved since somebody last tried this script. Generally
10 # such errors are easy to diagnose. 10 # such errors are easy to diagnose.
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after
527 'base/time/time.cc', 527 'base/time/time.cc',
528 'base/timer/elapsed_timer.cc', 528 'base/timer/elapsed_timer.cc',
529 'base/timer/timer.cc', 529 'base/timer/timer.cc',
530 'base/trace_event/category_registry.cc', 530 'base/trace_event/category_registry.cc',
531 'base/trace_event/event_name_filter.cc', 531 'base/trace_event/event_name_filter.cc',
532 'base/trace_event/heap_profiler_allocation_context.cc', 532 'base/trace_event/heap_profiler_allocation_context.cc',
533 'base/trace_event/heap_profiler_allocation_context_tracker.cc', 533 'base/trace_event/heap_profiler_allocation_context_tracker.cc',
534 'base/trace_event/heap_profiler_allocation_register.cc', 534 'base/trace_event/heap_profiler_allocation_register.cc',
535 'base/trace_event/heap_profiler_event_filter.cc', 535 'base/trace_event/heap_profiler_event_filter.cc',
536 'base/trace_event/heap_profiler_heap_dump_writer.cc', 536 'base/trace_event/heap_profiler_heap_dump_writer.cc',
537 'base/trace_event/heap_profiler_serialization_state.cc',
537 'base/trace_event/heap_profiler_stack_frame_deduplicator.cc', 538 'base/trace_event/heap_profiler_stack_frame_deduplicator.cc',
538 'base/trace_event/heap_profiler_type_name_deduplicator.cc', 539 'base/trace_event/heap_profiler_type_name_deduplicator.cc',
539 'base/trace_event/memory_allocator_dump.cc', 540 'base/trace_event/memory_allocator_dump.cc',
540 'base/trace_event/memory_allocator_dump_guid.cc', 541 'base/trace_event/memory_allocator_dump_guid.cc',
541 'base/trace_event/memory_dump_manager.cc', 542 'base/trace_event/memory_dump_manager.cc',
542 'base/trace_event/memory_dump_provider_info.cc', 543 'base/trace_event/memory_dump_provider_info.cc',
543 'base/trace_event/memory_dump_request_args.cc', 544 'base/trace_event/memory_dump_request_args.cc',
544 'base/trace_event/memory_dump_scheduler.cc', 545 'base/trace_event/memory_dump_scheduler.cc',
545 'base/trace_event/memory_dump_session_state.cc',
546 'base/trace_event/memory_infra_background_whitelist.cc', 546 'base/trace_event/memory_infra_background_whitelist.cc',
547 'base/trace_event/memory_peak_detector.cc', 547 'base/trace_event/memory_peak_detector.cc',
548 'base/trace_event/memory_tracing_observer.cc', 548 'base/trace_event/memory_tracing_observer.cc',
549 'base/trace_event/memory_usage_estimator.cc', 549 'base/trace_event/memory_usage_estimator.cc',
550 'base/trace_event/process_memory_dump.cc', 550 'base/trace_event/process_memory_dump.cc',
551 'base/trace_event/process_memory_maps.cc', 551 'base/trace_event/process_memory_maps.cc',
552 'base/trace_event/process_memory_totals.cc', 552 'base/trace_event/process_memory_totals.cc',
553 'base/trace_event/trace_buffer.cc', 553 'base/trace_event/trace_buffer.cc',
554 'base/trace_event/trace_config.cc', 554 'base/trace_event/trace_config.cc',
555 'base/trace_event/trace_config_category_filter.cc', 555 'base/trace_event/trace_config_category_filter.cc',
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
816 cmd.append('-v') 816 cmd.append('-v')
817 cmd.append('gn') 817 cmd.append('gn')
818 check_call(cmd) 818 check_call(cmd)
819 819
820 if not options.debug and not is_win: 820 if not options.debug and not is_win:
821 check_call(['strip', os.path.join(build_dir, 'gn')]) 821 check_call(['strip', os.path.join(build_dir, 'gn')])
822 822
823 823
824 if __name__ == '__main__': 824 if __name__ == '__main__':
825 sys.exit(main(sys.argv[1:])) 825 sys.exit(main(sys.argv[1:]))
OLDNEW
« base/trace_event/memory_dump_manager.cc ('K') | « base/trace_event/process_memory_dump_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698