| 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/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', | 264 'base/trace_event/trace_event_memory.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 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 cmd.append('-v') | 451 cmd.append('-v') |
| 451 cmd.append('gn') | 452 cmd.append('gn') |
| 452 check_call(cmd) | 453 check_call(cmd) |
| 453 | 454 |
| 454 if not options.debug: | 455 if not options.debug: |
| 455 check_call(['strip', os.path.join(build_dir, 'gn')]) | 456 check_call(['strip', os.path.join(build_dir, 'gn')]) |
| 456 | 457 |
| 457 | 458 |
| 458 if __name__ == '__main__': | 459 if __name__ == '__main__': |
| 459 sys.exit(main(sys.argv[1:])) | 460 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |