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 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 'base/trace_event/memory_dump_manager.cc', | 519 'base/trace_event/memory_dump_manager.cc', |
520 'base/trace_event/memory_dump_request_args.cc', | 520 'base/trace_event/memory_dump_request_args.cc', |
521 'base/trace_event/memory_dump_scheduler.cc', | 521 'base/trace_event/memory_dump_scheduler.cc', |
522 'base/trace_event/memory_dump_session_state.cc', | 522 'base/trace_event/memory_dump_session_state.cc', |
523 'base/trace_event/memory_infra_background_whitelist.cc', | 523 'base/trace_event/memory_infra_background_whitelist.cc', |
524 'base/trace_event/process_memory_dump.cc', | 524 'base/trace_event/process_memory_dump.cc', |
525 'base/trace_event/process_memory_maps.cc', | 525 'base/trace_event/process_memory_maps.cc', |
526 'base/trace_event/process_memory_totals.cc', | 526 'base/trace_event/process_memory_totals.cc', |
527 'base/trace_event/trace_buffer.cc', | 527 'base/trace_event/trace_buffer.cc', |
528 'base/trace_event/trace_config.cc', | 528 'base/trace_event/trace_config.cc', |
| 529 'base/trace_event/trace_config_category_filter.cc', |
529 'base/trace_event/trace_event_argument.cc', | 530 'base/trace_event/trace_event_argument.cc', |
530 'base/trace_event/trace_event_filter.cc', | 531 'base/trace_event/trace_event_filter.cc', |
531 'base/trace_event/trace_event_impl.cc', | 532 'base/trace_event/trace_event_impl.cc', |
532 'base/trace_event/trace_event_memory_overhead.cc', | 533 'base/trace_event/trace_event_memory_overhead.cc', |
533 'base/trace_event/trace_event_synthetic_delay.cc', | 534 'base/trace_event/trace_event_synthetic_delay.cc', |
534 'base/trace_event/trace_log.cc', | 535 'base/trace_event/trace_log.cc', |
535 'base/trace_event/trace_log_constants.cc', | 536 'base/trace_event/trace_log_constants.cc', |
536 'base/trace_event/tracing_agent.cc', | 537 'base/trace_event/tracing_agent.cc', |
537 'base/tracked_objects.cc', | 538 'base/tracked_objects.cc', |
538 'base/tracking_info.cc', | 539 'base/tracking_info.cc', |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
605 } | 606 } |
606 static_libraries['base']['sources'].extend([ | 607 static_libraries['base']['sources'].extend([ |
607 'base/allocator/allocator_shim.cc', | 608 'base/allocator/allocator_shim.cc', |
608 'base/allocator/allocator_shim_default_dispatch_to_glibc.cc', | 609 'base/allocator/allocator_shim_default_dispatch_to_glibc.cc', |
609 'base/memory/shared_memory_posix.cc', | 610 'base/memory/shared_memory_posix.cc', |
610 'base/memory/shared_memory_tracker.cc', | 611 'base/memory/shared_memory_tracker.cc', |
611 'base/nix/xdg_util.cc', | 612 'base/nix/xdg_util.cc', |
612 'base/process/internal_linux.cc', | 613 'base/process/internal_linux.cc', |
613 'base/process/memory_linux.cc', | 614 'base/process/memory_linux.cc', |
614 'base/process/process_handle_linux.cc', | 615 'base/process/process_handle_linux.cc', |
| 616 'base/process/process_info_linux.cc', |
615 'base/process/process_iterator_linux.cc', | 617 'base/process/process_iterator_linux.cc', |
616 'base/process/process_linux.cc', | 618 'base/process/process_linux.cc', |
617 'base/process/process_metrics_linux.cc', | 619 'base/process/process_metrics_linux.cc', |
618 'base/strings/sys_string_conversions_posix.cc', | 620 'base/strings/sys_string_conversions_posix.cc', |
619 'base/sys_info_linux.cc', | 621 'base/sys_info_linux.cc', |
620 'base/threading/platform_thread_linux.cc', | 622 'base/threading/platform_thread_linux.cc', |
621 'base/trace_event/malloc_dump_provider.cc', | 623 'base/trace_event/malloc_dump_provider.cc', |
622 ]) | 624 ]) |
623 static_libraries['libevent']['include_dirs'].extend([ | 625 static_libraries['libevent']['include_dirs'].extend([ |
624 os.path.join(SRC_ROOT, 'base', 'third_party', 'libevent', 'linux') | 626 os.path.join(SRC_ROOT, 'base', 'third_party', 'libevent', 'linux') |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
774 cmd.append('-v') | 776 cmd.append('-v') |
775 cmd.append('gn') | 777 cmd.append('gn') |
776 check_call(cmd) | 778 check_call(cmd) |
777 | 779 |
778 if not options.debug and not is_win: | 780 if not options.debug and not is_win: |
779 check_call(['strip', os.path.join(build_dir, 'gn')]) | 781 check_call(['strip', os.path.join(build_dir, 'gn')]) |
780 | 782 |
781 | 783 |
782 if __name__ == '__main__': | 784 if __name__ == '__main__': |
783 sys.exit(main(sys.argv[1:])) | 785 sys.exit(main(sys.argv[1:])) |
OLD | NEW |