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 630 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
641 'base/mac/foundation_util.mm', | 641 'base/mac/foundation_util.mm', |
642 'base/mac/mach_logging.cc', | 642 'base/mac/mach_logging.cc', |
643 'base/mac/scoped_mach_port.cc', | 643 'base/mac/scoped_mach_port.cc', |
644 'base/mac/scoped_mach_vm.cc', | 644 'base/mac/scoped_mach_vm.cc', |
645 'base/mac/scoped_nsautorelease_pool.mm', | 645 'base/mac/scoped_nsautorelease_pool.mm', |
646 'base/memory/shared_memory_handle_mac.cc', | 646 'base/memory/shared_memory_handle_mac.cc', |
647 'base/memory/shared_memory_mac.cc', | 647 'base/memory/shared_memory_mac.cc', |
648 'base/message_loop/message_pump_mac.mm', | 648 'base/message_loop/message_pump_mac.mm', |
649 'base/metrics/field_trial.cc', | 649 'base/metrics/field_trial.cc', |
650 'base/process/process_handle_mac.cc', | 650 'base/process/process_handle_mac.cc', |
| 651 'base/process/process_info_mac.cc', |
651 'base/process/process_iterator_mac.cc', | 652 'base/process/process_iterator_mac.cc', |
652 'base/process/process_metrics_mac.cc', | 653 'base/process/process_metrics_mac.cc', |
653 'base/strings/sys_string_conversions_mac.mm', | 654 'base/strings/sys_string_conversions_mac.mm', |
654 'base/time/time_mac.cc', | 655 'base/time/time_mac.cc', |
655 'base/threading/platform_thread_mac.mm', | 656 'base/threading/platform_thread_mac.mm', |
656 'base/trace_event/malloc_dump_provider.cc', | 657 'base/trace_event/malloc_dump_provider.cc', |
657 ]) | 658 ]) |
658 static_libraries['libevent']['include_dirs'].extend([ | 659 static_libraries['libevent']['include_dirs'].extend([ |
659 os.path.join(SRC_ROOT, 'base', 'third_party', 'libevent', 'mac') | 660 os.path.join(SRC_ROOT, 'base', 'third_party', 'libevent', 'mac') |
660 ]) | 661 ]) |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
773 cmd.append('-v') | 774 cmd.append('-v') |
774 cmd.append('gn') | 775 cmd.append('gn') |
775 check_call(cmd) | 776 check_call(cmd) |
776 | 777 |
777 if not options.debug and not is_win: | 778 if not options.debug and not is_win: |
778 check_call(['strip', os.path.join(build_dir, 'gn')]) | 779 check_call(['strip', os.path.join(build_dir, 'gn')]) |
779 | 780 |
780 | 781 |
781 if __name__ == '__main__': | 782 if __name__ == '__main__': |
782 sys.exit(main(sys.argv[1:])) | 783 sys.exit(main(sys.argv[1:])) |
OLD | NEW |