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

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

Issue 2452063003: tracing: split out the CategoryRegistry from the TraceLog (Closed)
Patch Set: add tests, rebase Created 4 years, 1 month 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
« no previous file with comments | « base/trace_event/trace_log.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 462 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 'base/threading/thread_checker_impl.cc', 473 'base/threading/thread_checker_impl.cc',
474 'base/threading/thread_collision_warner.cc', 474 'base/threading/thread_collision_warner.cc',
475 'base/threading/thread_id_name_manager.cc', 475 'base/threading/thread_id_name_manager.cc',
476 'base/threading/thread_local_storage.cc', 476 'base/threading/thread_local_storage.cc',
477 'base/threading/thread_restrictions.cc', 477 'base/threading/thread_restrictions.cc',
478 'base/threading/thread_task_runner_handle.cc', 478 'base/threading/thread_task_runner_handle.cc',
479 'base/threading/worker_pool.cc', 479 'base/threading/worker_pool.cc',
480 'base/time/time.cc', 480 'base/time/time.cc',
481 'base/timer/elapsed_timer.cc', 481 'base/timer/elapsed_timer.cc',
482 'base/timer/timer.cc', 482 'base/timer/timer.cc',
483 'base/trace_event/category_registry.cc',
483 'base/trace_event/heap_profiler_allocation_context.cc', 484 'base/trace_event/heap_profiler_allocation_context.cc',
484 'base/trace_event/heap_profiler_allocation_context_tracker.cc', 485 'base/trace_event/heap_profiler_allocation_context_tracker.cc',
485 'base/trace_event/heap_profiler_allocation_register.cc', 486 'base/trace_event/heap_profiler_allocation_register.cc',
486 'base/trace_event/heap_profiler_heap_dump_writer.cc', 487 'base/trace_event/heap_profiler_heap_dump_writer.cc',
487 'base/trace_event/heap_profiler_stack_frame_deduplicator.cc', 488 'base/trace_event/heap_profiler_stack_frame_deduplicator.cc',
488 'base/trace_event/heap_profiler_type_name_deduplicator.cc', 489 'base/trace_event/heap_profiler_type_name_deduplicator.cc',
489 'base/trace_event/memory_allocator_dump.cc', 490 'base/trace_event/memory_allocator_dump.cc',
490 'base/trace_event/memory_allocator_dump_guid.cc', 491 'base/trace_event/memory_allocator_dump_guid.cc',
491 'base/trace_event/memory_dump_manager.cc', 492 'base/trace_event/memory_dump_manager.cc',
492 'base/trace_event/memory_dump_request_args.cc', 493 'base/trace_event/memory_dump_request_args.cc',
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 cmd.append('-v') 739 cmd.append('-v')
739 cmd.append('gn') 740 cmd.append('gn')
740 check_call(cmd) 741 check_call(cmd)
741 742
742 if not options.debug and not is_win: 743 if not options.debug and not is_win:
743 check_call(['strip', os.path.join(build_dir, 'gn')]) 744 check_call(['strip', os.path.join(build_dir, 'gn')])
744 745
745 746
746 if __name__ == '__main__': 747 if __name__ == '__main__':
747 sys.exit(main(sys.argv[1:])) 748 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « base/trace_event/trace_log.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698