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 # 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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 'base/trace_event/memory_allocator_dump_guid.cc', | 491 'base/trace_event/memory_allocator_dump_guid.cc', |
492 'base/trace_event/memory_dump_manager.cc', | 492 'base/trace_event/memory_dump_manager.cc', |
493 'base/trace_event/memory_dump_request_args.cc', | 493 'base/trace_event/memory_dump_request_args.cc', |
494 'base/trace_event/memory_dump_session_state.cc', | 494 'base/trace_event/memory_dump_session_state.cc', |
495 'base/trace_event/memory_infra_background_whitelist.cc', | 495 'base/trace_event/memory_infra_background_whitelist.cc', |
496 'base/trace_event/process_memory_dump.cc', | 496 'base/trace_event/process_memory_dump.cc', |
497 'base/trace_event/process_memory_maps.cc', | 497 'base/trace_event/process_memory_maps.cc', |
498 'base/trace_event/process_memory_totals.cc', | 498 'base/trace_event/process_memory_totals.cc', |
499 'base/trace_event/trace_buffer.cc', | 499 'base/trace_event/trace_buffer.cc', |
500 'base/trace_event/trace_config.cc', | 500 'base/trace_event/trace_config.cc', |
501 'base/trace_event/trace_event.cc', | |
502 'base/trace_event/trace_event_argument.cc', | 501 'base/trace_event/trace_event_argument.cc', |
503 'base/trace_event/trace_event_impl.cc', | 502 'base/trace_event/trace_event_impl.cc', |
504 'base/trace_event/trace_event_memory_overhead.cc', | 503 'base/trace_event/trace_event_memory_overhead.cc', |
505 'base/trace_event/trace_event_synthetic_delay.cc', | 504 'base/trace_event/trace_event_synthetic_delay.cc', |
506 'base/trace_event/trace_log.cc', | 505 'base/trace_event/trace_log.cc', |
507 'base/trace_event/trace_log_constants.cc', | 506 'base/trace_event/trace_log_constants.cc', |
508 'base/trace_event/tracing_agent.cc', | 507 'base/trace_event/tracing_agent.cc', |
509 'base/tracked_objects.cc', | 508 'base/tracked_objects.cc', |
510 'base/tracking_info.cc', | 509 'base/tracking_info.cc', |
511 'base/values.cc', | 510 'base/values.cc', |
(...skipping 17 matching lines...) Expand all Loading... |
529 'base/process/process_metrics_posix.cc', | 528 'base/process/process_metrics_posix.cc', |
530 'base/process/process_posix.cc', | 529 'base/process/process_posix.cc', |
531 'base/strings/string16.cc', | 530 'base/strings/string16.cc', |
532 'base/synchronization/condition_variable_posix.cc', | 531 'base/synchronization/condition_variable_posix.cc', |
533 'base/synchronization/lock_impl_posix.cc', | 532 'base/synchronization/lock_impl_posix.cc', |
534 'base/synchronization/read_write_lock_posix.cc', | 533 'base/synchronization/read_write_lock_posix.cc', |
535 'base/synchronization/waitable_event_posix.cc', | 534 'base/synchronization/waitable_event_posix.cc', |
536 'base/sys_info_posix.cc', | 535 'base/sys_info_posix.cc', |
537 'base/threading/platform_thread_internal_posix.cc', | 536 'base/threading/platform_thread_internal_posix.cc', |
538 'base/threading/platform_thread_posix.cc', | 537 'base/threading/platform_thread_posix.cc', |
539 'base/threading/thread_local_posix.cc', | |
540 'base/threading/thread_local_storage_posix.cc', | 538 'base/threading/thread_local_storage_posix.cc', |
541 'base/threading/worker_pool_posix.cc', | 539 'base/threading/worker_pool_posix.cc', |
542 'base/time/time_posix.cc', | 540 'base/time/time_posix.cc', |
543 'base/trace_event/heap_profiler_allocation_register_posix.cc', | 541 'base/trace_event/heap_profiler_allocation_register_posix.cc', |
544 ]) | 542 ]) |
545 static_libraries['libevent'] = { | 543 static_libraries['libevent'] = { |
546 'sources': [ | 544 'sources': [ |
547 'base/third_party/libevent/buffer.c', | 545 'base/third_party/libevent/buffer.c', |
548 'base/third_party/libevent/evbuffer.c', | 546 'base/third_party/libevent/evbuffer.c', |
549 'base/third_party/libevent/evdns.c', | 547 'base/third_party/libevent/evdns.c', |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
741 cmd.append('-v') | 739 cmd.append('-v') |
742 cmd.append('gn') | 740 cmd.append('gn') |
743 check_call(cmd) | 741 check_call(cmd) |
744 | 742 |
745 if not options.debug and not is_win: | 743 if not options.debug and not is_win: |
746 check_call(['strip', os.path.join(build_dir, 'gn')]) | 744 check_call(['strip', os.path.join(build_dir, 'gn')]) |
747 | 745 |
748 | 746 |
749 if __name__ == '__main__': | 747 if __name__ == '__main__': |
750 sys.exit(main(sys.argv[1:])) | 748 sys.exit(main(sys.argv[1:])) |
OLD | NEW |