| 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 | 78 |
| 79 from sync_chromium import get_target_os_list | 79 from sync_chromium import get_target_os_list |
| 80 target_os = get_target_os_list() | 80 target_os = get_target_os_list() |
| 81 if 'android' in target_os: | 81 if 'android' in target_os: |
| 82 DIRECTORIES += [ | 82 DIRECTORIES += [ |
| 83 'base', | 83 'base', |
| 84 'third_party/android_platform', | 84 'third_party/android_platform', |
| 85 'third_party/android_tools', | 85 'third_party/android_tools', |
| 86 'third_party/appurify-python', | 86 'third_party/appurify-python', |
| 87 'third_party/ashmem', | 87 'third_party/ashmem', |
| 88 'third_party/catapult', |
| 88 'third_party/icu', | 89 'third_party/icu', |
| 89 'third_party/ijar', | 90 'third_party/ijar', |
| 90 'third_party/jsr-305', | 91 'third_party/jsr-305', |
| 91 'third_party/junit', | 92 'third_party/junit', |
| 92 'third_party/libevent', | 93 'third_party/libevent', |
| 93 'third_party/libxml', | 94 'third_party/libxml', |
| 94 'third_party/mockito', | 95 'third_party/mockito', |
| 95 'third_party/modp_b64', | 96 'third_party/modp_b64', |
| 96 'third_party/requests', | 97 'third_party/requests', |
| 97 'third_party/robolectric', | 98 'third_party/robolectric', |
| 98 'tools/android', | 99 'tools/android', |
| 99 'tools/grit', | 100 'tools/grit', |
| 101 'tools/telemetry', |
| 100 ] | 102 ] |
| 101 if 'ios' in target_os: | 103 if 'ios' in target_os: |
| 102 DIRECTORIES.append('third_party/class-dump') | 104 DIRECTORIES.append('third_party/class-dump') |
| 103 | 105 |
| 104 FILES = { | 106 FILES = { |
| 105 'tools/isolate_driver.py': None, | 107 'tools/isolate_driver.py': None, |
| 106 'third_party/BUILD.gn': None, | 108 'third_party/BUILD.gn': None, |
| 107 } | 109 } |
| 108 | 110 |
| 109 ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) | 111 ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) |
| (...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 505 except LinkError as e: | 507 except LinkError as e: |
| 506 print >> sys.stderr, e.message | 508 print >> sys.stderr, e.message |
| 507 return 3 | 509 return 3 |
| 508 finally: | 510 finally: |
| 509 links_database.close() | 511 links_database.close() |
| 510 return 0 | 512 return 0 |
| 511 | 513 |
| 512 | 514 |
| 513 if __name__ == '__main__': | 515 if __name__ == '__main__': |
| 514 sys.exit(main()) | 516 sys.exit(main()) |
| OLD | NEW |