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

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

Issue 2790523004: memory-infra: refactoring to extract MemoryDumpProviderInfo class (Closed)
Patch Set: Created 3 years, 8 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
« base/BUILD.gn ('K') | « base/trace_event/memory_dump_provider_info.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 'base/trace_event/heap_profiler_allocation_context.cc', 510 'base/trace_event/heap_profiler_allocation_context.cc',
511 'base/trace_event/heap_profiler_allocation_context_tracker.cc', 511 'base/trace_event/heap_profiler_allocation_context_tracker.cc',
512 'base/trace_event/heap_profiler_allocation_register.cc', 512 'base/trace_event/heap_profiler_allocation_register.cc',
513 'base/trace_event/heap_profiler_event_filter.cc', 513 'base/trace_event/heap_profiler_event_filter.cc',
514 'base/trace_event/heap_profiler_heap_dump_writer.cc', 514 'base/trace_event/heap_profiler_heap_dump_writer.cc',
515 'base/trace_event/heap_profiler_stack_frame_deduplicator.cc', 515 'base/trace_event/heap_profiler_stack_frame_deduplicator.cc',
516 'base/trace_event/heap_profiler_type_name_deduplicator.cc', 516 'base/trace_event/heap_profiler_type_name_deduplicator.cc',
517 'base/trace_event/memory_allocator_dump.cc', 517 'base/trace_event/memory_allocator_dump.cc',
518 'base/trace_event/memory_allocator_dump_guid.cc', 518 'base/trace_event/memory_allocator_dump_guid.cc',
519 'base/trace_event/memory_dump_manager.cc', 519 'base/trace_event/memory_dump_manager.cc',
520 'base/trace_event/memory_dump_provider_info.cc',
520 'base/trace_event/memory_dump_request_args.cc', 521 'base/trace_event/memory_dump_request_args.cc',
521 'base/trace_event/memory_dump_scheduler.cc', 522 'base/trace_event/memory_dump_scheduler.cc',
522 'base/trace_event/memory_dump_session_state.cc', 523 'base/trace_event/memory_dump_session_state.cc',
523 'base/trace_event/memory_infra_background_whitelist.cc', 524 'base/trace_event/memory_infra_background_whitelist.cc',
524 'base/trace_event/process_memory_dump.cc', 525 'base/trace_event/process_memory_dump.cc',
525 'base/trace_event/process_memory_maps.cc', 526 'base/trace_event/process_memory_maps.cc',
526 'base/trace_event/process_memory_totals.cc', 527 'base/trace_event/process_memory_totals.cc',
527 'base/trace_event/trace_buffer.cc', 528 'base/trace_event/trace_buffer.cc',
528 'base/trace_event/trace_config.cc', 529 'base/trace_event/trace_config.cc',
529 'base/trace_event/trace_config_category_filter.cc', 530 'base/trace_event/trace_config_category_filter.cc',
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
776 cmd.append('-v') 777 cmd.append('-v')
777 cmd.append('gn') 778 cmd.append('gn')
778 check_call(cmd) 779 check_call(cmd)
779 780
780 if not options.debug and not is_win: 781 if not options.debug and not is_win:
781 check_call(['strip', os.path.join(build_dir, 'gn')]) 782 check_call(['strip', os.path.join(build_dir, 'gn')])
782 783
783 784
784 if __name__ == '__main__': 785 if __name__ == '__main__':
785 sys.exit(main(sys.argv[1:])) 786 sys.exit(main(sys.argv[1:]))
OLDNEW
« base/BUILD.gn ('K') | « base/trace_event/memory_dump_provider_info.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698