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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 'third_party/colorama', | 42 'third_party/colorama', |
43 'third_party/drmemory', | 43 'third_party/drmemory', |
44 'third_party/expat', | 44 'third_party/expat', |
45 'third_party/icu', | 45 'third_party/icu', |
46 'third_party/instrumented_libraries', | 46 'third_party/instrumented_libraries', |
47 'third_party/jsoncpp', | 47 'third_party/jsoncpp', |
48 'third_party/libjpeg', | 48 'third_party/libjpeg', |
49 'third_party/libjpeg_turbo', | 49 'third_party/libjpeg_turbo', |
50 'third_party/libsrtp', | 50 'third_party/libsrtp', |
51 'third_party/libudev', | 51 'third_party/libudev', |
52 'third_party/libvpx', | 52 'third_party/libvpx_new', |
53 'third_party/libyuv', | 53 'third_party/libyuv', |
54 'third_party/llvm-build', | 54 'third_party/llvm-build', |
| 55 'third_party/lss', |
55 'third_party/nss', | 56 'third_party/nss', |
56 'third_party/ocmock', | 57 'third_party/ocmock', |
57 'third_party/openmax_dl', | 58 'third_party/openmax_dl', |
58 'third_party/opus', | 59 'third_party/opus', |
| 60 'third_party/proguard', |
59 'third_party/protobuf', | 61 'third_party/protobuf', |
60 'third_party/sqlite', | 62 'third_party/sqlite', |
61 'third_party/syzygy', | 63 'third_party/syzygy', |
62 'third_party/usrsctp', | 64 'third_party/usrsctp', |
63 'third_party/yasm', | 65 'third_party/yasm', |
64 'third_party/zlib', | 66 'third_party/zlib', |
65 'tools/clang', | 67 'tools/clang', |
66 'tools/generate_library_loader', | 68 'tools/generate_library_loader', |
67 'tools/gn', | 69 'tools/gn', |
68 'tools/gyp', | 70 'tools/gyp', |
69 'tools/memory', | 71 'tools/memory', |
70 'tools/protoc_wrapper', | 72 'tools/protoc_wrapper', |
71 'tools/python', | 73 'tools/python', |
72 'tools/swarming_client', | 74 'tools/swarming_client', |
73 'tools/valgrind', | 75 'tools/valgrind', |
74 'tools/vim', | 76 'tools/vim', |
75 'tools/win', | 77 'tools/win', |
76 ] | 78 ] |
77 | 79 |
78 from sync_chromium import get_target_os_list | 80 from sync_chromium import get_target_os_list |
79 target_os = get_target_os_list() | 81 target_os = get_target_os_list() |
80 if 'android' in target_os: | 82 if 'android' in target_os: |
81 DIRECTORIES += [ | 83 DIRECTORIES += [ |
82 'base', | 84 'base', |
83 'third_party/android_platform', | 85 'third_party/android_platform', |
| 86 'third_party/android_testrunner', |
84 'third_party/android_tools', | 87 'third_party/android_tools', |
85 'third_party/appurify-python', | 88 'third_party/appurify-python', |
86 'third_party/ashmem', | 89 'third_party/ashmem', |
| 90 'third_party/ijar', |
87 'third_party/jsr-305', | 91 'third_party/jsr-305', |
88 'third_party/junit', | 92 'third_party/junit', |
89 'third_party/libevent', | 93 'third_party/libevent', |
90 'third_party/libxml', | 94 'third_party/libxml', |
91 'third_party/mockito', | 95 'third_party/mockito', |
92 'third_party/modp_b64', | 96 'third_party/modp_b64', |
93 'third_party/requests', | 97 'third_party/requests', |
94 'third_party/robolectric', | 98 'third_party/robolectric', |
95 'tools/android', | 99 'tools/android', |
96 'tools/grit', | 100 'tools/grit', |
97 'tools/relocation_packer' | 101 'tools/relocation_packer' |
98 ] | 102 ] |
99 if 'ios' in target_os: | 103 if 'ios' in target_os: |
100 DIRECTORIES.append('third_party/class-dump') | 104 DIRECTORIES.append('third_party/class-dump') |
101 | 105 |
102 FILES = { | 106 FILES = { |
103 'tools/find_depot_tools.py': None, | 107 'tools/find_depot_tools.py': None, |
| 108 'tools/isolate_driver.py': None, |
104 'third_party/BUILD.gn': None, | 109 'third_party/BUILD.gn': None, |
105 } | 110 } |
106 | 111 |
107 ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) | 112 ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) |
108 CHROMIUM_CHECKOUT = os.path.join('chromium', 'src') | 113 CHROMIUM_CHECKOUT = os.path.join('chromium', 'src') |
109 LINKS_DB = 'links' | 114 LINKS_DB = 'links' |
110 | 115 |
111 # Version management to make future upgrades/downgrades easier to support. | 116 # Version management to make future upgrades/downgrades easier to support. |
112 SCHEMA_VERSION = 1 | 117 SCHEMA_VERSION = 1 |
113 | 118 |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
503 except LinkError as e: | 508 except LinkError as e: |
504 print >> sys.stderr, e.message | 509 print >> sys.stderr, e.message |
505 return 3 | 510 return 3 |
506 finally: | 511 finally: |
507 links_database.close() | 512 links_database.close() |
508 return 0 | 513 return 0 |
509 | 514 |
510 | 515 |
511 if __name__ == '__main__': | 516 if __name__ == '__main__': |
512 sys.exit(main()) | 517 sys.exit(main()) |
OLD | NEW |