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

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

Issue 2903693002: Fix GN bootstrap (Closed)
Patch Set: Created 3 years, 7 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 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 'base/trace_event/memory_dump_provider_info.cc', 544 'base/trace_event/memory_dump_provider_info.cc',
545 'base/trace_event/memory_dump_request_args.cc', 545 'base/trace_event/memory_dump_request_args.cc',
546 'base/trace_event/memory_dump_scheduler.cc', 546 'base/trace_event/memory_dump_scheduler.cc',
547 'base/trace_event/memory_infra_background_whitelist.cc', 547 'base/trace_event/memory_infra_background_whitelist.cc',
548 'base/trace_event/memory_peak_detector.cc', 548 'base/trace_event/memory_peak_detector.cc',
549 'base/trace_event/memory_tracing_observer.cc', 549 'base/trace_event/memory_tracing_observer.cc',
550 'base/trace_event/memory_usage_estimator.cc', 550 'base/trace_event/memory_usage_estimator.cc',
551 'base/trace_event/process_memory_dump.cc', 551 'base/trace_event/process_memory_dump.cc',
552 'base/trace_event/process_memory_maps.cc', 552 'base/trace_event/process_memory_maps.cc',
553 'base/trace_event/process_memory_totals.cc', 553 'base/trace_event/process_memory_totals.cc',
554 'base/trace_event/sharded_allocation_register.cc',
554 'base/trace_event/trace_buffer.cc', 555 'base/trace_event/trace_buffer.cc',
555 'base/trace_event/trace_config.cc', 556 'base/trace_event/trace_config.cc',
556 'base/trace_event/trace_config_category_filter.cc', 557 'base/trace_event/trace_config_category_filter.cc',
557 'base/trace_event/trace_event_argument.cc', 558 'base/trace_event/trace_event_argument.cc',
558 'base/trace_event/trace_event_filter.cc', 559 'base/trace_event/trace_event_filter.cc',
559 'base/trace_event/trace_event_impl.cc', 560 'base/trace_event/trace_event_impl.cc',
560 'base/trace_event/trace_event_memory_overhead.cc', 561 'base/trace_event/trace_event_memory_overhead.cc',
561 'base/trace_event/trace_event_synthetic_delay.cc', 562 'base/trace_event/trace_event_synthetic_delay.cc',
562 'base/trace_event/trace_log.cc', 563 'base/trace_event/trace_log.cc',
563 'base/trace_event/trace_log_constants.cc', 564 'base/trace_event/trace_log_constants.cc',
(...skipping 29 matching lines...) Expand all
593 'base/synchronization/condition_variable_posix.cc', 594 'base/synchronization/condition_variable_posix.cc',
594 'base/synchronization/lock_impl_posix.cc', 595 'base/synchronization/lock_impl_posix.cc',
595 'base/synchronization/read_write_lock_posix.cc', 596 'base/synchronization/read_write_lock_posix.cc',
596 'base/synchronization/waitable_event_posix.cc', 597 'base/synchronization/waitable_event_posix.cc',
597 'base/sys_info_posix.cc', 598 'base/sys_info_posix.cc',
598 'base/task_scheduler/task_tracker_posix.cc', 599 'base/task_scheduler/task_tracker_posix.cc',
599 'base/threading/platform_thread_internal_posix.cc', 600 'base/threading/platform_thread_internal_posix.cc',
600 'base/threading/platform_thread_posix.cc', 601 'base/threading/platform_thread_posix.cc',
601 'base/threading/thread_local_storage_posix.cc', 602 'base/threading/thread_local_storage_posix.cc',
602 'base/threading/worker_pool_posix.cc', 603 'base/threading/worker_pool_posix.cc',
603 'base/time/time_posix.cc', 604 'base/time/time_conversion_posix.cc',
605 'base/time/time_exploded_posix.cc',
606 'base/time/time_now_posix.cc',
604 'base/trace_event/heap_profiler_allocation_register_posix.cc', 607 'base/trace_event/heap_profiler_allocation_register_posix.cc',
605 ]) 608 ])
606 static_libraries['libevent'] = { 609 static_libraries['libevent'] = {
607 'sources': [ 610 'sources': [
608 'base/third_party/libevent/buffer.c', 611 'base/third_party/libevent/buffer.c',
609 'base/third_party/libevent/evbuffer.c', 612 'base/third_party/libevent/evbuffer.c',
610 'base/third_party/libevent/evdns.c', 613 'base/third_party/libevent/evdns.c',
611 'base/third_party/libevent/event.c', 614 'base/third_party/libevent/event.c',
612 'base/third_party/libevent/event_tagging.c', 615 'base/third_party/libevent/event_tagging.c',
613 'base/third_party/libevent/evrpc.c', 616 'base/third_party/libevent/evrpc.c',
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
815 cmd.append('-v') 818 cmd.append('-v')
816 cmd.append('gn') 819 cmd.append('gn')
817 check_call(cmd) 820 check_call(cmd)
818 821
819 if not options.debug and not is_win: 822 if not options.debug and not is_win:
820 check_call(['strip', os.path.join(build_dir, 'gn')]) 823 check_call(['strip', os.path.join(build_dir, 'gn')])
821 824
822 825
823 if __name__ == '__main__': 826 if __name__ == '__main__':
824 sys.exit(main(sys.argv[1:])) 827 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