| 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 'tools/valgrind', | 56 'tools/valgrind', |
| 57 'tools/vim', | 57 'tools/vim', |
| 58 'tools/win', | 58 'tools/win', |
| 59 ] | 59 ] |
| 60 | 60 |
| 61 from sync_chromium import get_target_os_list | 61 from sync_chromium import get_target_os_list |
| 62 target_os = get_target_os_list() | 62 target_os = get_target_os_list() |
| 63 if 'android' in target_os: | 63 if 'android' in target_os: |
| 64 DIRECTORIES += [ | 64 DIRECTORIES += [ |
| 65 'base', | 65 'base', |
| 66 'third_party/accessibility_test_framework', |
| 66 'third_party/android_platform', | 67 'third_party/android_platform', |
| 67 'third_party/android_tools', | 68 'third_party/android_tools', |
| 69 'third_party/apache_velocity', |
| 68 'third_party/appurify-python', | 70 'third_party/appurify-python', |
| 69 'third_party/ashmem', | 71 'third_party/ashmem', |
| 72 'third_party/bouncycastle', |
| 70 'third_party/catapult', | 73 'third_party/catapult', |
| 74 'third_party/guava', |
| 75 'third_party/hamcrest', |
| 71 'third_party/icu', | 76 'third_party/icu', |
| 77 'third_party/icu4j', |
| 72 'third_party/ijar', | 78 'third_party/ijar', |
| 79 'third_party/intellij', |
| 73 'third_party/jsr-305', | 80 'third_party/jsr-305', |
| 74 'third_party/junit', | 81 'third_party/junit', |
| 75 'third_party/libxml', | 82 'third_party/libxml', |
| 76 'third_party/mockito', | 83 'third_party/mockito', |
| 77 'third_party/modp_b64', | 84 'third_party/modp_b64', |
| 85 'third_party/ow2_asm', |
| 78 'third_party/protobuf', | 86 'third_party/protobuf', |
| 79 'third_party/requests', | 87 'third_party/requests', |
| 80 'third_party/robolectric', | 88 'third_party/robolectric', |
| 89 'third_party/sqlite4java', |
| 81 'tools/android', | 90 'tools/android', |
| 82 'tools/grit', | 91 'tools/grit', |
| 83 ] | 92 ] |
| 84 if 'ios' in target_os: | 93 if 'ios' in target_os: |
| 85 DIRECTORIES.append('third_party/class-dump') | 94 DIRECTORIES.append('third_party/class-dump') |
| 86 | 95 |
| 87 FILES = { | 96 FILES = { |
| 88 'tools/isolate_driver.py': None, | 97 'tools/isolate_driver.py': None, |
| 89 'third_party/BUILD.gn': None, | 98 'third_party/BUILD.gn': None, |
| 90 } | 99 } |
| (...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 488 except LinkError as e: | 497 except LinkError as e: |
| 489 print >> sys.stderr, e.message | 498 print >> sys.stderr, e.message |
| 490 return 3 | 499 return 3 |
| 491 finally: | 500 finally: |
| 492 links_database.close() | 501 links_database.close() |
| 493 return 0 | 502 return 0 |
| 494 | 503 |
| 495 | 504 |
| 496 if __name__ == '__main__': | 505 if __name__ == '__main__': |
| 497 sys.exit(main()) | 506 sys.exit(main()) |
| OLD | NEW |