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

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

Issue 2557743002: tracing: simplify lifetime of TraceEventFilter(s) (Closed)
Patch Set: rebase Created 4 years 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/trace_event/trace_log.cc ('K') | « 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 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 'base/threading/thread_id_name_manager.cc', 478 'base/threading/thread_id_name_manager.cc',
479 'base/threading/thread_local_storage.cc', 479 'base/threading/thread_local_storage.cc',
480 'base/threading/thread_restrictions.cc', 480 'base/threading/thread_restrictions.cc',
481 'base/threading/thread_task_runner_handle.cc', 481 'base/threading/thread_task_runner_handle.cc',
482 'base/threading/worker_pool.cc', 482 'base/threading/worker_pool.cc',
483 'base/time/time.cc', 483 'base/time/time.cc',
484 'base/timer/elapsed_timer.cc', 484 'base/timer/elapsed_timer.cc',
485 'base/timer/timer.cc', 485 'base/timer/timer.cc',
486 'base/trace_event/category_registry.cc', 486 'base/trace_event/category_registry.cc',
487 'base/trace_event/event_name_filter.cc', 487 'base/trace_event/event_name_filter.cc',
488 'base/trace_event/event_filter_registry.cc',
488 'base/trace_event/heap_profiler_allocation_context.cc', 489 'base/trace_event/heap_profiler_allocation_context.cc',
489 'base/trace_event/heap_profiler_allocation_context_tracker.cc', 490 'base/trace_event/heap_profiler_allocation_context_tracker.cc',
490 'base/trace_event/heap_profiler_allocation_register.cc', 491 'base/trace_event/heap_profiler_allocation_register.cc',
491 'base/trace_event/heap_profiler_event_filter.cc', 492 'base/trace_event/heap_profiler_event_filter.cc',
492 'base/trace_event/heap_profiler_heap_dump_writer.cc', 493 'base/trace_event/heap_profiler_heap_dump_writer.cc',
493 'base/trace_event/heap_profiler_stack_frame_deduplicator.cc', 494 'base/trace_event/heap_profiler_stack_frame_deduplicator.cc',
494 'base/trace_event/heap_profiler_type_name_deduplicator.cc', 495 'base/trace_event/heap_profiler_type_name_deduplicator.cc',
495 'base/trace_event/memory_allocator_dump.cc', 496 'base/trace_event/memory_allocator_dump.cc',
496 'base/trace_event/memory_allocator_dump_guid.cc', 497 'base/trace_event/memory_allocator_dump_guid.cc',
497 'base/trace_event/memory_dump_manager.cc', 498 'base/trace_event/memory_dump_manager.cc',
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 cmd.append('-v') 747 cmd.append('-v')
747 cmd.append('gn') 748 cmd.append('gn')
748 check_call(cmd) 749 check_call(cmd)
749 750
750 if not options.debug and not is_win: 751 if not options.debug and not is_win:
751 check_call(['strip', os.path.join(build_dir, 'gn')]) 752 check_call(['strip', os.path.join(build_dir, 'gn')])
752 753
753 754
754 if __name__ == '__main__': 755 if __name__ == '__main__':
755 sys.exit(main(sys.argv[1:])) 756 sys.exit(main(sys.argv[1:]))
OLDNEW
« base/trace_event/trace_log.cc ('K') | « base/trace_event/trace_log.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698