| 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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 'base/third_party/dynamic_annotations/dynamic_annotations.c', | 377 'base/third_party/dynamic_annotations/dynamic_annotations.c', |
| 378 'base/third_party/superfasthash/superfasthash.c', | 378 'base/third_party/superfasthash/superfasthash.c', |
| 379 ]) | 379 ]) |
| 380 static_libraries['base']['sources'].extend([ | 380 static_libraries['base']['sources'].extend([ |
| 381 'base/allocator/allocator_check.cc', | 381 'base/allocator/allocator_check.cc', |
| 382 'base/allocator/allocator_extension.cc', | 382 'base/allocator/allocator_extension.cc', |
| 383 'base/at_exit.cc', | 383 'base/at_exit.cc', |
| 384 'base/base_paths.cc', | 384 'base/base_paths.cc', |
| 385 'base/base_switches.cc', | 385 'base/base_switches.cc', |
| 386 'base/build_time.cc', | 386 'base/build_time.cc', |
| 387 'base/callback_helpers.cc', |
| 387 'base/callback_internal.cc', | 388 'base/callback_internal.cc', |
| 388 'base/command_line.cc', | 389 'base/command_line.cc', |
| 389 'base/debug/activity_tracker.cc', | 390 'base/debug/activity_tracker.cc', |
| 390 'base/debug/alias.cc', | 391 'base/debug/alias.cc', |
| 391 'base/debug/dump_without_crashing.cc', | 392 'base/debug/dump_without_crashing.cc', |
| 392 'base/debug/stack_trace.cc', | 393 'base/debug/stack_trace.cc', |
| 393 'base/debug/task_annotator.cc', | 394 'base/debug/task_annotator.cc', |
| 394 'base/environment.cc', | 395 'base/environment.cc', |
| 395 'base/feature_list.cc', | 396 'base/feature_list.cc', |
| 396 'base/files/file.cc', | 397 'base/files/file.cc', |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 598 static_libraries['xdg_user_dirs'] = { | 599 static_libraries['xdg_user_dirs'] = { |
| 599 'sources': [ | 600 'sources': [ |
| 600 'base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', | 601 'base/third_party/xdg_user_dirs/xdg_user_dir_lookup.cc', |
| 601 ], | 602 ], |
| 602 'tool': 'cxx', | 603 'tool': 'cxx', |
| 603 } | 604 } |
| 604 static_libraries['base']['sources'].extend([ | 605 static_libraries['base']['sources'].extend([ |
| 605 'base/allocator/allocator_shim.cc', | 606 'base/allocator/allocator_shim.cc', |
| 606 'base/allocator/allocator_shim_default_dispatch_to_glibc.cc', | 607 'base/allocator/allocator_shim_default_dispatch_to_glibc.cc', |
| 607 'base/memory/shared_memory_posix.cc', | 608 'base/memory/shared_memory_posix.cc', |
| 609 'base/memory/shared_memory_tracker.cc', |
| 608 'base/nix/xdg_util.cc', | 610 'base/nix/xdg_util.cc', |
| 609 'base/process/internal_linux.cc', | 611 'base/process/internal_linux.cc', |
| 610 'base/process/memory_linux.cc', | 612 'base/process/memory_linux.cc', |
| 611 'base/process/process_handle_linux.cc', | 613 'base/process/process_handle_linux.cc', |
| 612 'base/process/process_iterator_linux.cc', | 614 'base/process/process_iterator_linux.cc', |
| 613 'base/process/process_linux.cc', | 615 'base/process/process_linux.cc', |
| 614 'base/process/process_metrics_linux.cc', | 616 'base/process/process_metrics_linux.cc', |
| 615 'base/strings/sys_string_conversions_posix.cc', | 617 'base/strings/sys_string_conversions_posix.cc', |
| 616 'base/sys_info_linux.cc', | 618 'base/sys_info_linux.cc', |
| 617 'base/threading/platform_thread_linux.cc', | 619 'base/threading/platform_thread_linux.cc', |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 770 cmd.append('-v') | 772 cmd.append('-v') |
| 771 cmd.append('gn') | 773 cmd.append('gn') |
| 772 check_call(cmd) | 774 check_call(cmd) |
| 773 | 775 |
| 774 if not options.debug and not is_win: | 776 if not options.debug and not is_win: |
| 775 check_call(['strip', os.path.join(build_dir, 'gn')]) | 777 check_call(['strip', os.path.join(build_dir, 'gn')]) |
| 776 | 778 |
| 777 | 779 |
| 778 if __name__ == '__main__': | 780 if __name__ == '__main__': |
| 779 sys.exit(main(sys.argv[1:])) | 781 sys.exit(main(sys.argv[1:])) |
| OLD | NEW |