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

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

Issue 2538903003: [GN] Fix tools/gn/bootstrap/bootstrap.py. (Closed)
Patch Set: Created 4 years 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 357 matching lines...) Expand 10 before | Expand all | Expand 10 after
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/activity_tracker.cc',
377 'base/debug/alias.cc', 377 'base/debug/alias.cc',
378 'base/debug/dump_without_crashing.cc',
378 'base/debug/stack_trace.cc', 379 'base/debug/stack_trace.cc',
379 'base/debug/task_annotator.cc', 380 'base/debug/task_annotator.cc',
380 'base/environment.cc', 381 'base/environment.cc',
381 'base/files/file.cc', 382 'base/files/file.cc',
382 'base/files/file_descriptor_watcher_posix.cc', 383 'base/files/file_descriptor_watcher_posix.cc',
383 'base/files/file_enumerator.cc', 384 'base/files/file_enumerator.cc',
384 'base/files/file_path.cc', 385 'base/files/file_path.cc',
385 'base/files/file_path_constants.cc', 386 'base/files/file_path_constants.cc',
386 'base/files/file_tracing.cc', 387 'base/files/file_tracing.cc',
387 'base/files/file_util.cc', 388 'base/files/file_util.cc',
(...skipping 28 matching lines...) Expand all
416 'base/metrics/persistent_memory_allocator.cc', 417 'base/metrics/persistent_memory_allocator.cc',
417 'base/metrics/persistent_sample_map.cc', 418 'base/metrics/persistent_sample_map.cc',
418 'base/metrics/sample_map.cc', 419 'base/metrics/sample_map.cc',
419 'base/metrics/sample_vector.cc', 420 'base/metrics/sample_vector.cc',
420 'base/metrics/sparse_histogram.cc', 421 'base/metrics/sparse_histogram.cc',
421 'base/metrics/statistics_recorder.cc', 422 'base/metrics/statistics_recorder.cc',
422 'base/path_service.cc', 423 'base/path_service.cc',
423 'base/pending_task.cc', 424 'base/pending_task.cc',
424 'base/pickle.cc', 425 'base/pickle.cc',
425 'base/process/kill.cc', 426 'base/process/kill.cc',
427 'base/process/process_handle.cc',
426 'base/process/process_iterator.cc', 428 'base/process/process_iterator.cc',
427 'base/process/process_metrics.cc', 429 'base/process/process_metrics.cc',
428 'base/profiler/scoped_profile.cc', 430 'base/profiler/scoped_profile.cc',
429 'base/profiler/scoped_tracker.cc', 431 'base/profiler/scoped_tracker.cc',
430 'base/profiler/tracked_time.cc', 432 'base/profiler/tracked_time.cc',
431 'base/run_loop.cc', 433 'base/run_loop.cc',
432 'base/sequence_token.cc', 434 'base/sequence_token.cc',
433 'base/sequence_checker_impl.cc', 435 'base/sequence_checker_impl.cc',
434 'base/sequenced_task_runner.cc', 436 'base/sequenced_task_runner.cc',
435 'base/sha1.cc', 437 'base/sha1.cc',
436 'base/strings/pattern.cc', 438 'base/strings/pattern.cc',
437 'base/strings/string_number_conversions.cc', 439 'base/strings/string_number_conversions.cc',
438 'base/strings/string_piece.cc', 440 'base/strings/string_piece.cc',
439 'base/strings/string_split.cc', 441 'base/strings/string_split.cc',
440 'base/strings/string_util.cc', 442 'base/strings/string_util.cc',
441 'base/strings/string_util_constants.cc', 443 'base/strings/string_util_constants.cc',
442 'base/strings/stringprintf.cc', 444 'base/strings/stringprintf.cc',
443 'base/strings/utf_string_conversion_utils.cc', 445 'base/strings/utf_string_conversion_utils.cc',
444 'base/strings/utf_string_conversions.cc', 446 'base/strings/utf_string_conversions.cc',
445 'base/synchronization/atomic_flag.cc', 447 'base/synchronization/atomic_flag.cc',
446 'base/synchronization/lock.cc', 448 'base/synchronization/lock.cc',
447 'base/sys_info.cc', 449 'base/sys_info.cc',
448 'base/task_runner.cc', 450 'base/task_runner.cc',
449 'base/task_scheduler/delayed_task_manager.cc', 451 'base/task_scheduler/delayed_task_manager.cc',
450 'base/task_scheduler/post_task.cc', 452 'base/task_scheduler/post_task.cc',
451 'base/task_scheduler/priority_queue.cc', 453 'base/task_scheduler/priority_queue.cc',
452 'base/task_scheduler/scheduler_lock_impl.cc', 454 'base/task_scheduler/scheduler_lock_impl.cc',
453 'base/task_scheduler/scheduler_worker.cc', 455 'base/task_scheduler/scheduler_worker.cc',
454 'base/task_scheduler/scheduler_worker_pool_impl.cc', 456 'base/task_scheduler/scheduler_worker_pool_impl.cc',
457 'base/task_scheduler/scheduler_worker_pool_params.cc',
455 'base/task_scheduler/scheduler_worker_stack.cc', 458 'base/task_scheduler/scheduler_worker_stack.cc',
456 'base/task_scheduler/sequence.cc', 459 'base/task_scheduler/sequence.cc',
457 'base/task_scheduler/sequence_sort_key.cc', 460 'base/task_scheduler/sequence_sort_key.cc',
458 'base/task_scheduler/task.cc', 461 'base/task_scheduler/task.cc',
459 'base/task_scheduler/task_scheduler.cc', 462 'base/task_scheduler/task_scheduler.cc',
460 'base/task_scheduler/task_scheduler_impl.cc', 463 'base/task_scheduler/task_scheduler_impl.cc',
461 'base/task_scheduler/task_tracker.cc', 464 'base/task_scheduler/task_tracker.cc',
462 'base/task_scheduler/task_traits.cc', 465 'base/task_scheduler/task_traits.cc',
463 'base/third_party/dmg_fp/dtoa_wrapper.cc', 466 'base/third_party/dmg_fp/dtoa_wrapper.cc',
464 'base/third_party/dmg_fp/g_fmt.cc', 467 'base/third_party/dmg_fp/g_fmt.cc',
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after
740 cmd.append('-v') 743 cmd.append('-v')
741 cmd.append('gn') 744 cmd.append('gn')
742 check_call(cmd) 745 check_call(cmd)
743 746
744 if not options.debug and not is_win: 747 if not options.debug and not is_win:
745 check_call(['strip', os.path.join(build_dir, 'gn')]) 748 check_call(['strip', os.path.join(build_dir, 'gn')])
746 749
747 750
748 if __name__ == '__main__': 751 if __name__ == '__main__':
749 sys.exit(main(sys.argv[1:])) 752 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