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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 'base/trace_event/process_memory_totals_dump_provider.cc', | 260 'base/trace_event/process_memory_totals_dump_provider.cc', |
261 'base/trace_event/trace_buffer.cc', | 261 'base/trace_event/trace_buffer.cc', |
262 'base/trace_event/trace_config.cc', | 262 'base/trace_event/trace_config.cc', |
263 'base/trace_event/trace_event_argument.cc', | 263 'base/trace_event/trace_event_argument.cc', |
264 'base/trace_event/trace_event_impl.cc', | 264 'base/trace_event/trace_event_impl.cc', |
265 'base/trace_event/trace_event_memory_overhead.cc', | 265 'base/trace_event/trace_event_memory_overhead.cc', |
266 'base/trace_event/trace_event_synthetic_delay.cc', | 266 'base/trace_event/trace_event_synthetic_delay.cc', |
267 'base/trace_event/trace_log.cc', | 267 'base/trace_event/trace_log.cc', |
268 'base/trace_event/trace_log_constants.cc', | 268 'base/trace_event/trace_log_constants.cc', |
269 'base/trace_event/trace_sampling_thread.cc', | 269 'base/trace_event/trace_sampling_thread.cc', |
| 270 'base/trace_event/tracing_agent.cc', |
270 'base/tracked_objects.cc', | 271 'base/tracked_objects.cc', |
271 'base/tracking_info.cc', | 272 'base/tracking_info.cc', |
272 'base/values.cc', | 273 'base/values.cc', |
273 'base/vlog.cc', | 274 'base/vlog.cc', |
274 ]) | 275 ]) |
275 | 276 |
276 if is_posix: | 277 if is_posix: |
277 static_libraries['base']['sources'].extend([ | 278 static_libraries['base']['sources'].extend([ |
278 'base/base_paths_posix.cc', | 279 'base/base_paths_posix.cc', |
279 'base/debug/debugger_posix.cc', | 280 'base/debug/debugger_posix.cc', |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 cmd.append('-v') | 452 cmd.append('-v') |
452 cmd.append('gn') | 453 cmd.append('gn') |
453 check_call(cmd) | 454 check_call(cmd) |
454 | 455 |
455 if not options.debug: | 456 if not options.debug: |
456 check_call(['strip', os.path.join(build_dir, 'gn')]) | 457 check_call(['strip', os.path.join(build_dir, 'gn')]) |
457 | 458 |
458 | 459 |
459 if __name__ == '__main__': | 460 if __name__ == '__main__': |
460 sys.exit(main(sys.argv[1:])) | 461 sys.exit(main(sys.argv[1:])) |
OLD | NEW |