| 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 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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', | 248 'base/trace_event/heap_profiler_allocation_context.cc', |
| 249 'base/trace_event/heap_profiler_allocation_context_tracker.cc', | 249 'base/trace_event/heap_profiler_allocation_context_tracker.cc', |
| 250 'base/trace_event/heap_profiler_stack_frame_deduplicator.cc', | 250 'base/trace_event/heap_profiler_stack_frame_deduplicator.cc', |
| 251 'base/trace_event/heap_profiler_type_name_deduplicator.cc', |
| 251 'base/trace_event/memory_allocator_dump.cc', | 252 'base/trace_event/memory_allocator_dump.cc', |
| 252 'base/trace_event/memory_allocator_dump_guid.cc', | 253 'base/trace_event/memory_allocator_dump_guid.cc', |
| 253 'base/trace_event/memory_dump_manager.cc', | 254 'base/trace_event/memory_dump_manager.cc', |
| 254 'base/trace_event/memory_dump_request_args.cc', | 255 'base/trace_event/memory_dump_request_args.cc', |
| 255 'base/trace_event/memory_dump_session_state.cc', | 256 'base/trace_event/memory_dump_session_state.cc', |
| 256 'base/trace_event/process_memory_dump.cc', | 257 'base/trace_event/process_memory_dump.cc', |
| 257 'base/trace_event/process_memory_maps.cc', | 258 'base/trace_event/process_memory_maps.cc', |
| 258 'base/trace_event/process_memory_totals.cc', | 259 'base/trace_event/process_memory_totals.cc', |
| 259 'base/trace_event/process_memory_totals_dump_provider.cc', | 260 'base/trace_event/process_memory_totals_dump_provider.cc', |
| 260 'base/trace_event/trace_buffer.cc', | 261 'base/trace_event/trace_buffer.cc', |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 449 cmd.append('-v') | 450 cmd.append('-v') |
| 450 cmd.append('gn') | 451 cmd.append('gn') |
| 451 check_call(cmd) | 452 check_call(cmd) |
| 452 | 453 |
| 453 if not options.debug: | 454 if not options.debug: |
| 454 check_call(['strip', os.path.join(build_dir, 'gn')]) | 455 check_call(['strip', os.path.join(build_dir, 'gn')]) |
| 455 | 456 |
| 456 | 457 |
| 457 if __name__ == '__main__': | 458 if __name__ == '__main__': |
| 458 sys.exit(main(sys.argv[1:])) | 459 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |