OLD | NEW |
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 """Bootstraps gn. | 6 """Bootstraps gn. |
7 | 7 |
8 It is done by first building it manually in a temporary directory, then building | 8 It is done by first building it manually in a temporary directory, then building |
9 it with its own BUILD.gn to the final destination. | 9 it with its own BUILD.gn to the final destination. |
10 """ | 10 """ |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 'base/threading/thread.cc', | 238 'base/threading/thread.cc', |
239 'base/threading/thread_checker_impl.cc', | 239 'base/threading/thread_checker_impl.cc', |
240 'base/threading/thread_collision_warner.cc', | 240 'base/threading/thread_collision_warner.cc', |
241 'base/threading/thread_id_name_manager.cc', | 241 'base/threading/thread_id_name_manager.cc', |
242 'base/threading/thread_local_storage.cc', | 242 'base/threading/thread_local_storage.cc', |
243 'base/threading/thread_restrictions.cc', | 243 'base/threading/thread_restrictions.cc', |
244 'base/threading/worker_pool.cc', | 244 'base/threading/worker_pool.cc', |
245 'base/time/time.cc', | 245 'base/time/time.cc', |
246 'base/timer/elapsed_timer.cc', | 246 'base/timer/elapsed_timer.cc', |
247 'base/timer/timer.cc', | 247 'base/timer/timer.cc', |
| 248 'base/trace_event/heap_profiler_allocation_context.cc', |
| 249 'base/trace_event/heap_profiler_allocation_context_tracker.cc', |
| 250 'base/trace_event/heap_profiler_stack_frame_deduplicator.cc', |
248 'base/trace_event/memory_allocator_dump.cc', | 251 'base/trace_event/memory_allocator_dump.cc', |
249 'base/trace_event/memory_allocator_dump_guid.cc', | 252 'base/trace_event/memory_allocator_dump_guid.cc', |
250 'base/trace_event/memory_dump_manager.cc', | 253 'base/trace_event/memory_dump_manager.cc', |
251 'base/trace_event/memory_dump_request_args.cc', | 254 'base/trace_event/memory_dump_request_args.cc', |
252 'base/trace_event/memory_dump_session_state.cc', | 255 'base/trace_event/memory_dump_session_state.cc', |
253 'base/trace_event/memory_profiler_allocation_context.cc', | |
254 'base/trace_event/process_memory_dump.cc', | 256 'base/trace_event/process_memory_dump.cc', |
255 'base/trace_event/process_memory_maps.cc', | 257 'base/trace_event/process_memory_maps.cc', |
256 'base/trace_event/process_memory_totals.cc', | 258 'base/trace_event/process_memory_totals.cc', |
257 'base/trace_event/process_memory_totals_dump_provider.cc', | 259 'base/trace_event/process_memory_totals_dump_provider.cc', |
258 'base/trace_event/trace_buffer.cc', | 260 'base/trace_event/trace_buffer.cc', |
259 'base/trace_event/trace_config.cc', | 261 'base/trace_event/trace_config.cc', |
260 'base/trace_event/trace_event_argument.cc', | 262 'base/trace_event/trace_event_argument.cc', |
261 'base/trace_event/trace_event_impl.cc', | 263 'base/trace_event/trace_event_impl.cc', |
262 'base/trace_event/trace_event_memory.cc', | 264 'base/trace_event/trace_event_memory.cc', |
263 'base/trace_event/trace_event_memory_overhead.cc', | 265 'base/trace_event/trace_event_memory_overhead.cc', |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
448 cmd.append('-v') | 450 cmd.append('-v') |
449 cmd.append('gn') | 451 cmd.append('gn') |
450 check_call(cmd) | 452 check_call(cmd) |
451 | 453 |
452 if not options.debug: | 454 if not options.debug: |
453 check_call(['strip', os.path.join(build_dir, 'gn')]) | 455 check_call(['strip', os.path.join(build_dir, 'gn')]) |
454 | 456 |
455 | 457 |
456 if __name__ == '__main__': | 458 if __name__ == '__main__': |
457 sys.exit(main(sys.argv[1:])) | 459 sys.exit(main(sys.argv[1:])) |
OLD | NEW |