| 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 'base/callback_internal.cc', | 149 'base/callback_internal.cc', |
| 150 'base/command_line.cc', | 150 'base/command_line.cc', |
| 151 'base/debug/alias.cc', | 151 'base/debug/alias.cc', |
| 152 'base/debug/stack_trace.cc', | 152 'base/debug/stack_trace.cc', |
| 153 'base/debug/task_annotator.cc', | 153 'base/debug/task_annotator.cc', |
| 154 'base/environment.cc', | 154 'base/environment.cc', |
| 155 'base/files/file.cc', | 155 'base/files/file.cc', |
| 156 'base/files/file_enumerator.cc', | 156 'base/files/file_enumerator.cc', |
| 157 'base/files/file_path.cc', | 157 'base/files/file_path.cc', |
| 158 'base/files/file_path_constants.cc', | 158 'base/files/file_path_constants.cc', |
| 159 'base/files/file_tracing.cc', |
| 159 'base/files/file_util.cc', | 160 'base/files/file_util.cc', |
| 160 'base/files/scoped_file.cc', | 161 'base/files/scoped_file.cc', |
| 161 'base/json/json_parser.cc', | 162 'base/json/json_parser.cc', |
| 162 'base/json/json_reader.cc', | 163 'base/json/json_reader.cc', |
| 163 'base/json/json_string_value_serializer.cc', | 164 'base/json/json_string_value_serializer.cc', |
| 164 'base/json/json_writer.cc', | 165 'base/json/json_writer.cc', |
| 165 'base/json/string_escape.cc', | 166 'base/json/string_escape.cc', |
| 166 'base/lazy_instance.cc', | 167 'base/lazy_instance.cc', |
| 167 'base/location.cc', | 168 'base/location.cc', |
| 168 'base/logging.cc', | 169 'base/logging.cc', |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 407 cmd.append('-v') | 408 cmd.append('-v') |
| 408 cmd.append('gn') | 409 cmd.append('gn') |
| 409 check_call(cmd) | 410 check_call(cmd) |
| 410 | 411 |
| 411 if not options.debug: | 412 if not options.debug: |
| 412 check_call(['strip', os.path.join(build_dir, 'gn')]) | 413 check_call(['strip', os.path.join(build_dir, 'gn')]) |
| 413 | 414 |
| 414 | 415 |
| 415 if __name__ == '__main__': | 416 if __name__ == '__main__': |
| 416 sys.exit(main(sys.argv[1:])) | 417 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |