Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Side by Side Diff: tools/gn/bootstrap/bootstrap.py

Issue 2236463003: Fix GN bootstrap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 # This file isn't officially supported by the Chromium project. It's maintained 6 # This file isn't officially supported by the Chromium project. It's maintained
7 # on a best-effort basis by volunteers, so some things may be broken from time 7 # on a best-effort basis by volunteers, so some things may be broken from time
8 # to time. If you encounter errors, it's most often due to files in base that 8 # to time. If you encounter errors, it's most often due to files in base that
9 # have been added or moved since somebody last tried this script. Generally 9 # have been added or moved since somebody last tried this script. Generally
10 # such errors are easy to diagnose. 10 # such errors are easy to diagnose.
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 'base/third_party/superfasthash/superfasthash.c', 366 'base/third_party/superfasthash/superfasthash.c',
367 ]) 367 ])
368 static_libraries['base']['sources'].extend([ 368 static_libraries['base']['sources'].extend([
369 'base/allocator/allocator_check.cc', 369 'base/allocator/allocator_check.cc',
370 'base/allocator/allocator_extension.cc', 370 'base/allocator/allocator_extension.cc',
371 'base/at_exit.cc', 371 'base/at_exit.cc',
372 'base/base_paths.cc', 372 'base/base_paths.cc',
373 'base/base_switches.cc', 373 'base/base_switches.cc',
374 'base/callback_internal.cc', 374 'base/callback_internal.cc',
375 'base/command_line.cc', 375 'base/command_line.cc',
376 'base/debug/activity_tracker.cc',
376 'base/debug/alias.cc', 377 'base/debug/alias.cc',
377 'base/debug/stack_trace.cc', 378 'base/debug/stack_trace.cc',
378 'base/debug/task_annotator.cc', 379 'base/debug/task_annotator.cc',
379 'base/environment.cc', 380 'base/environment.cc',
380 'base/files/file.cc', 381 'base/files/file.cc',
381 'base/files/file_enumerator.cc', 382 'base/files/file_enumerator.cc',
382 'base/files/file_path.cc', 383 'base/files/file_path.cc',
383 'base/files/file_path_constants.cc', 384 'base/files/file_path_constants.cc',
384 'base/files/file_tracing.cc', 385 'base/files/file_tracing.cc',
385 'base/files/file_util.cc', 386 'base/files/file_util.cc',
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after
725 cmd.append('-v') 726 cmd.append('-v')
726 cmd.append('gn') 727 cmd.append('gn')
727 check_call(cmd) 728 check_call(cmd)
728 729
729 if not options.debug and not is_win: 730 if not options.debug and not is_win:
730 check_call(['strip', os.path.join(build_dir, 'gn')]) 731 check_call(['strip', os.path.join(build_dir, 'gn')])
731 732
732 733
733 if __name__ == '__main__': 734 if __name__ == '__main__':
734 sys.exit(main(sys.argv[1:])) 735 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698