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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
203 'base/pickle.cc', | 203 'base/pickle.cc', |
204 'base/process/kill.cc', | 204 'base/process/kill.cc', |
205 'base/process/process_iterator.cc', | 205 'base/process/process_iterator.cc', |
206 'base/process/process_metrics.cc', | 206 'base/process/process_metrics.cc', |
207 'base/profiler/alternate_timer.cc', | 207 'base/profiler/alternate_timer.cc', |
208 'base/profiler/tracked_time.cc', | 208 'base/profiler/tracked_time.cc', |
209 'base/run_loop.cc', | 209 'base/run_loop.cc', |
210 'base/sequence_checker_impl.cc', | 210 'base/sequence_checker_impl.cc', |
211 'base/sequenced_task_runner.cc', | 211 'base/sequenced_task_runner.cc', |
212 'base/sha1_portable.cc', | 212 'base/sha1_portable.cc', |
| 213 'base/strings/pattern.cc', |
213 'base/strings/string16.cc', | 214 'base/strings/string16.cc', |
214 'base/strings/string_number_conversions.cc', | 215 'base/strings/string_number_conversions.cc', |
215 'base/strings/string_piece.cc', | 216 'base/strings/string_piece.cc', |
216 'base/strings/string_split.cc', | 217 'base/strings/string_split.cc', |
217 'base/strings/string_util.cc', | 218 'base/strings/string_util.cc', |
218 'base/strings/string_util_constants.cc', | 219 'base/strings/string_util_constants.cc', |
219 'base/strings/stringprintf.cc', | 220 'base/strings/stringprintf.cc', |
220 'base/strings/utf_string_conversion_utils.cc', | 221 'base/strings/utf_string_conversion_utils.cc', |
221 'base/strings/utf_string_conversions.cc', | 222 'base/strings/utf_string_conversions.cc', |
222 'base/synchronization/cancellation_flag.cc', | 223 'base/synchronization/cancellation_flag.cc', |
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 cmd.append('-v') | 437 cmd.append('-v') |
437 cmd.append('gn') | 438 cmd.append('gn') |
438 check_call(cmd) | 439 check_call(cmd) |
439 | 440 |
440 if not options.debug: | 441 if not options.debug: |
441 check_call(['strip', os.path.join(build_dir, 'gn')]) | 442 check_call(['strip', os.path.join(build_dir, 'gn')]) |
442 | 443 |
443 | 444 |
444 if __name__ == '__main__': | 445 if __name__ == '__main__': |
445 sys.exit(main(sys.argv[1:])) | 446 sys.exit(main(sys.argv[1:])) |
OLD | NEW |