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 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 'base/trace_event/memory_dump_request_args.cc', | 254 'base/trace_event/memory_dump_request_args.cc', |
255 'base/trace_event/memory_dump_session_state.cc', | 255 'base/trace_event/memory_dump_session_state.cc', |
256 'base/trace_event/process_memory_dump.cc', | 256 'base/trace_event/process_memory_dump.cc', |
257 'base/trace_event/process_memory_maps.cc', | 257 'base/trace_event/process_memory_maps.cc', |
258 'base/trace_event/process_memory_totals.cc', | 258 'base/trace_event/process_memory_totals.cc', |
259 'base/trace_event/process_memory_totals_dump_provider.cc', | 259 'base/trace_event/process_memory_totals_dump_provider.cc', |
260 'base/trace_event/trace_buffer.cc', | 260 'base/trace_event/trace_buffer.cc', |
261 'base/trace_event/trace_config.cc', | 261 'base/trace_event/trace_config.cc', |
262 'base/trace_event/trace_event_argument.cc', | 262 'base/trace_event/trace_event_argument.cc', |
263 'base/trace_event/trace_event_impl.cc', | 263 'base/trace_event/trace_event_impl.cc', |
264 'base/trace_event/trace_event_memory.cc', | |
265 'base/trace_event/trace_event_memory_overhead.cc', | 264 'base/trace_event/trace_event_memory_overhead.cc', |
266 'base/trace_event/trace_event_synthetic_delay.cc', | 265 'base/trace_event/trace_event_synthetic_delay.cc', |
267 'base/trace_event/trace_log.cc', | 266 'base/trace_event/trace_log.cc', |
268 'base/trace_event/trace_log_constants.cc', | 267 'base/trace_event/trace_log_constants.cc', |
269 'base/trace_event/trace_sampling_thread.cc', | 268 'base/trace_event/trace_sampling_thread.cc', |
270 'base/tracked_objects.cc', | 269 'base/tracked_objects.cc', |
271 'base/tracking_info.cc', | 270 'base/tracking_info.cc', |
272 'base/values.cc', | 271 'base/values.cc', |
273 'base/vlog.cc', | 272 'base/vlog.cc', |
274 ]) | 273 ]) |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
450 cmd.append('-v') | 449 cmd.append('-v') |
451 cmd.append('gn') | 450 cmd.append('gn') |
452 check_call(cmd) | 451 check_call(cmd) |
453 | 452 |
454 if not options.debug: | 453 if not options.debug: |
455 check_call(['strip', os.path.join(build_dir, 'gn')]) | 454 check_call(['strip', os.path.join(build_dir, 'gn')]) |
456 | 455 |
457 | 456 |
458 if __name__ == '__main__': | 457 if __name__ == '__main__': |
459 sys.exit(main(sys.argv[1:])) | 458 sys.exit(main(sys.argv[1:])) |
OLD | NEW |