| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
| 3 # | 3 # |
| 4 # Use of this source code is governed by a BSD-style license | 4 # Use of this source code is governed by a BSD-style license |
| 5 # that can be found in the LICENSE file in the root of the source | 5 # that can be found in the LICENSE file in the root of the source |
| 6 # tree. An additional intellectual property rights grant can be found | 6 # tree. An additional intellectual property rights grant can be found |
| 7 # in the file PATENTS. All contributing project authors may | 7 # in the file PATENTS. All contributing project authors may |
| 8 # be found in the AUTHORS file in the root of the source tree. | 8 # be found in the AUTHORS file in the root of the source tree. |
| 9 | 9 |
| 10 """Setup links to a Chromium checkout for WebRTC. | 10 """Setup links to a Chromium checkout for WebRTC. |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 from sync_chromium import get_target_os_list | 80 from sync_chromium import get_target_os_list |
| 81 target_os = get_target_os_list() | 81 target_os = get_target_os_list() |
| 82 if 'android' in target_os: | 82 if 'android' in target_os: |
| 83 DIRECTORIES += [ | 83 DIRECTORIES += [ |
| 84 'base', | 84 'base', |
| 85 'third_party/android_platform', | 85 'third_party/android_platform', |
| 86 'third_party/android_testrunner', | 86 'third_party/android_testrunner', |
| 87 'third_party/android_tools', | 87 'third_party/android_tools', |
| 88 'third_party/appurify-python', | 88 'third_party/appurify-python', |
| 89 'third_party/ashmem', | 89 'third_party/ashmem', |
| 90 'third_party/catapult', |
| 90 'third_party/ijar', | 91 'third_party/ijar', |
| 91 'third_party/jsr-305', | 92 'third_party/jsr-305', |
| 92 'third_party/junit', | 93 'third_party/junit', |
| 93 'third_party/libevent', | 94 'third_party/libevent', |
| 94 'third_party/libxml', | 95 'third_party/libxml', |
| 95 'third_party/mockito', | 96 'third_party/mockito', |
| 96 'third_party/modp_b64', | 97 'third_party/modp_b64', |
| 97 'third_party/requests', | 98 'third_party/requests', |
| 98 'third_party/robolectric', | 99 'third_party/robolectric', |
| 99 'tools/android', | 100 'tools/android', |
| 100 'tools/grit', | 101 'tools/grit', |
| 101 'tools/relocation_packer' | 102 'tools/relocation_packer', |
| 103 'tools/telemetry', |
| 102 ] | 104 ] |
| 103 if 'ios' in target_os: | 105 if 'ios' in target_os: |
| 104 DIRECTORIES.append('third_party/class-dump') | 106 DIRECTORIES.append('third_party/class-dump') |
| 105 | 107 |
| 106 FILES = { | 108 FILES = { |
| 107 'tools/find_depot_tools.py': None, | 109 'tools/find_depot_tools.py': None, |
| 108 'tools/isolate_driver.py': None, | 110 'tools/isolate_driver.py': None, |
| 109 'third_party/BUILD.gn': None, | 111 'third_party/BUILD.gn': None, |
| 110 } | 112 } |
| 111 | 113 |
| (...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 except LinkError as e: | 510 except LinkError as e: |
| 509 print >> sys.stderr, e.message | 511 print >> sys.stderr, e.message |
| 510 return 3 | 512 return 3 |
| 511 finally: | 513 finally: |
| 512 links_database.close() | 514 links_database.close() |
| 513 return 0 | 515 return 0 |
| 514 | 516 |
| 515 | 517 |
| 516 if __name__ == '__main__': | 518 if __name__ == '__main__': |
| 517 sys.exit(main()) | 519 sys.exit(main()) |
| OLD | NEW |