| 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 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 400 'base/allocator/allocator_extension.cc', | 400 'base/allocator/allocator_extension.cc', |
| 401 'base/at_exit.cc', | 401 'base/at_exit.cc', |
| 402 'base/base_paths.cc', | 402 'base/base_paths.cc', |
| 403 'base/base_switches.cc', | 403 'base/base_switches.cc', |
| 404 'base/build_time.cc', | 404 'base/build_time.cc', |
| 405 'base/callback_helpers.cc', | 405 'base/callback_helpers.cc', |
| 406 'base/callback_internal.cc', | 406 'base/callback_internal.cc', |
| 407 'base/command_line.cc', | 407 'base/command_line.cc', |
| 408 'base/debug/activity_tracker.cc', | 408 'base/debug/activity_tracker.cc', |
| 409 'base/debug/alias.cc', | 409 'base/debug/alias.cc', |
| 410 'base/debug/crash_logging.cc', |
| 410 'base/debug/dump_without_crashing.cc', | 411 'base/debug/dump_without_crashing.cc', |
| 411 'base/debug/stack_trace.cc', | 412 'base/debug/stack_trace.cc', |
| 412 'base/debug/task_annotator.cc', | 413 'base/debug/task_annotator.cc', |
| 413 'base/environment.cc', | 414 'base/environment.cc', |
| 414 'base/feature_list.cc', | 415 'base/feature_list.cc', |
| 415 'base/files/file.cc', | 416 'base/files/file.cc', |
| 416 'base/files/file_descriptor_watcher_posix.cc', | 417 'base/files/file_descriptor_watcher_posix.cc', |
| 417 'base/files/file_enumerator.cc', | 418 'base/files/file_enumerator.cc', |
| 418 'base/files/file_path.cc', | 419 'base/files/file_path.cc', |
| 419 'base/files/file_path_constants.cc', | 420 'base/files/file_path_constants.cc', |
| (...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 668 static_libraries['libevent']['include_dirs'].extend([ | 669 static_libraries['libevent']['include_dirs'].extend([ |
| 669 os.path.join(SRC_ROOT, 'base', 'third_party', 'libevent', 'aix') | 670 os.path.join(SRC_ROOT, 'base', 'third_party', 'libevent', 'aix') |
| 670 ]) | 671 ]) |
| 671 static_libraries['libevent']['include_dirs'].extend([ | 672 static_libraries['libevent']['include_dirs'].extend([ |
| 672 os.path.join(SRC_ROOT, 'base', 'third_party', 'libevent', 'compat') | 673 os.path.join(SRC_ROOT, 'base', 'third_party', 'libevent', 'compat') |
| 673 ]) | 674 ]) |
| 674 | 675 |
| 675 if is_mac: | 676 if is_mac: |
| 676 static_libraries['base']['sources'].extend([ | 677 static_libraries['base']['sources'].extend([ |
| 677 'base/base_paths_mac.mm', | 678 'base/base_paths_mac.mm', |
| 678 'base/build_time.cc', | |
| 679 'base/rand_util.cc', | |
| 680 'base/rand_util_posix.cc', | |
| 681 'base/files/file_util_mac.mm', | 679 'base/files/file_util_mac.mm', |
| 682 'base/mac/bundle_locations.mm', | 680 'base/mac/bundle_locations.mm', |
| 683 'base/mac/call_with_eh_frame.cc', | 681 'base/mac/call_with_eh_frame.cc', |
| 684 'base/mac/call_with_eh_frame_asm.S', | 682 'base/mac/call_with_eh_frame_asm.S', |
| 685 'base/mac/foundation_util.mm', | 683 'base/mac/foundation_util.mm', |
| 686 'base/mac/mach_logging.cc', | 684 'base/mac/mach_logging.cc', |
| 687 'base/mac/scoped_mach_port.cc', | 685 'base/mac/scoped_mach_port.cc', |
| 688 'base/mac/scoped_mach_vm.cc', | 686 'base/mac/scoped_mach_vm.cc', |
| 689 'base/mac/scoped_nsautorelease_pool.mm', | 687 'base/mac/scoped_nsautorelease_pool.mm', |
| 690 'base/memory/shared_memory_handle_mac.cc', | 688 'base/memory/shared_memory_handle_mac.cc', |
| 691 'base/memory/shared_memory_mac.cc', | 689 'base/memory/shared_memory_mac.cc', |
| 692 'base/message_loop/message_pump_mac.mm', | 690 'base/message_loop/message_pump_mac.mm', |
| 693 'base/metrics/field_trial.cc', | |
| 694 'base/process/process_handle_mac.cc', | 691 'base/process/process_handle_mac.cc', |
| 695 'base/process/process_info_mac.cc', | 692 'base/process/process_info_mac.cc', |
| 696 'base/process/process_iterator_mac.cc', | 693 'base/process/process_iterator_mac.cc', |
| 697 'base/process/process_metrics_mac.cc', | 694 'base/process/process_metrics_mac.cc', |
| 698 'base/strings/sys_string_conversions_mac.mm', | 695 'base/strings/sys_string_conversions_mac.mm', |
| 696 'base/sys_info_mac.mm', |
| 699 'base/time/time_mac.cc', | 697 'base/time/time_mac.cc', |
| 700 'base/threading/platform_thread_mac.mm', | 698 'base/threading/platform_thread_mac.mm', |
| 701 'base/trace_event/malloc_dump_provider.cc', | 699 'base/trace_event/malloc_dump_provider.cc', |
| 702 ]) | 700 ]) |
| 703 static_libraries['libevent']['include_dirs'].extend([ | 701 static_libraries['libevent']['include_dirs'].extend([ |
| 704 os.path.join(SRC_ROOT, 'base', 'third_party', 'libevent', 'mac') | 702 os.path.join(SRC_ROOT, 'base', 'third_party', 'libevent', 'mac') |
| 705 ]) | 703 ]) |
| 706 static_libraries['libevent']['sources'].extend([ | 704 static_libraries['libevent']['sources'].extend([ |
| 707 'base/third_party/libevent/kqueue.c', | 705 'base/third_party/libevent/kqueue.c', |
| 708 ]) | 706 ]) |
| (...skipping 30 matching lines...) Expand all Loading... |
| 739 'base/process/kill_win.cc', | 737 'base/process/kill_win.cc', |
| 740 'base/process/launch_win.cc', | 738 'base/process/launch_win.cc', |
| 741 'base/process/memory_win.cc', | 739 'base/process/memory_win.cc', |
| 742 'base/process/process_handle_win.cc', | 740 'base/process/process_handle_win.cc', |
| 743 'base/process/process_info_win.cc', | 741 'base/process/process_info_win.cc', |
| 744 'base/process/process_iterator_win.cc', | 742 'base/process/process_iterator_win.cc', |
| 745 'base/process/process_metrics_win.cc', | 743 'base/process/process_metrics_win.cc', |
| 746 'base/process/process_win.cc', | 744 'base/process/process_win.cc', |
| 747 'base/profiler/native_stack_sampler_win.cc', | 745 'base/profiler/native_stack_sampler_win.cc', |
| 748 'base/profiler/win32_stack_frame_unwinder.cc', | 746 'base/profiler/win32_stack_frame_unwinder.cc', |
| 749 'base/rand_util.cc', | |
| 750 'base/rand_util_win.cc', | 747 'base/rand_util_win.cc', |
| 751 'base/strings/sys_string_conversions_win.cc', | 748 'base/strings/sys_string_conversions_win.cc', |
| 752 'base/sync_socket_win.cc', | 749 'base/sync_socket_win.cc', |
| 753 'base/synchronization/condition_variable_win.cc', | 750 'base/synchronization/condition_variable_win.cc', |
| 754 'base/synchronization/lock_impl_win.cc', | 751 'base/synchronization/lock_impl_win.cc', |
| 755 'base/synchronization/read_write_lock_win.cc', | 752 'base/synchronization/read_write_lock_win.cc', |
| 756 'base/synchronization/waitable_event_watcher_win.cc', | 753 'base/synchronization/waitable_event_watcher_win.cc', |
| 757 'base/synchronization/waitable_event_win.cc', | 754 'base/synchronization/waitable_event_win.cc', |
| 758 'base/sys_info_win.cc', | 755 'base/sys_info_win.cc', |
| 759 'base/threading/platform_thread_win.cc', | 756 'base/threading/platform_thread_win.cc', |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 818 cmd.append('-v') | 815 cmd.append('-v') |
| 819 cmd.append('gn') | 816 cmd.append('gn') |
| 820 check_call(cmd) | 817 check_call(cmd) |
| 821 | 818 |
| 822 if not options.debug and not is_win: | 819 if not options.debug and not is_win: |
| 823 check_call(['strip', os.path.join(build_dir, 'gn')]) | 820 check_call(['strip', os.path.join(build_dir, 'gn')]) |
| 824 | 821 |
| 825 | 822 |
| 826 if __name__ == '__main__': | 823 if __name__ == '__main__': |
| 827 sys.exit(main(sys.argv[1:])) | 824 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |