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 18 matching lines...) Expand all Loading... |
29 | 29 |
30 | 30 |
31 DIRECTORIES = [ | 31 DIRECTORIES = [ |
32 'build', | 32 'build', |
33 'buildtools', | 33 'buildtools', |
34 'mojo', # TODO(kjellander): Remove, see webrtc:5629. | 34 'mojo', # TODO(kjellander): Remove, see webrtc:5629. |
35 'testing', | 35 'testing', |
36 'third_party/afl', | 36 'third_party/afl', |
37 'third_party/binutils', | 37 'third_party/binutils', |
38 'third_party/boringssl', | 38 'third_party/boringssl', |
| 39 'third_party/closure_compiler', |
39 'third_party/colorama', | 40 'third_party/colorama', |
40 'third_party/drmemory', | 41 'third_party/drmemory', |
41 'third_party/expat', | 42 'third_party/expat', |
42 'third_party/ffmpeg', | 43 'third_party/ffmpeg', |
43 'third_party/instrumented_libraries', | 44 'third_party/instrumented_libraries', |
44 'third_party/jsoncpp', | 45 'third_party/jsoncpp', |
45 'third_party/libc++-static', | 46 'third_party/libc++-static', |
46 'third_party/libFuzzer', | 47 'third_party/libFuzzer', |
47 'third_party/libjpeg', | 48 'third_party/libjpeg', |
48 'third_party/libjpeg_turbo', | 49 'third_party/libjpeg_turbo', |
(...skipping 12 matching lines...) Expand all Loading... |
61 'third_party/sqlite', | 62 'third_party/sqlite', |
62 'third_party/syzygy', | 63 'third_party/syzygy', |
63 'third_party/usrsctp', | 64 'third_party/usrsctp', |
64 'third_party/yasm', | 65 'third_party/yasm', |
65 'third_party/zlib', | 66 'third_party/zlib', |
66 'third_party/WebKit', # TODO(kjellander): Remove, see webrtc:5629. | 67 'third_party/WebKit', # TODO(kjellander): Remove, see webrtc:5629. |
67 'tools/clang', | 68 'tools/clang', |
68 'tools/generate_library_loader', | 69 'tools/generate_library_loader', |
69 'tools/generate_stubs', | 70 'tools/generate_stubs', |
70 'tools/gn', | 71 'tools/gn', |
| 72 'tools/grit', |
71 'tools/gyp', | 73 'tools/gyp', |
72 'tools/luci-go', | 74 'tools/luci-go', |
73 'tools/mb', | 75 'tools/mb', |
74 'tools/memory', | 76 'tools/memory', |
75 'tools/protoc_wrapper', | 77 'tools/protoc_wrapper', |
76 'tools/python', | 78 'tools/python', |
77 'tools/swarming_client', | 79 'tools/swarming_client', |
78 'tools/valgrind', | 80 'tools/valgrind', |
79 'tools/vim', | 81 'tools/vim', |
80 'tools/win', | 82 'tools/win', |
81 'tools/xdisplaycheck', | 83 'tools/xdisplaycheck', |
82 ] | 84 ] |
83 | 85 |
84 from sync_chromium import get_target_os_list | 86 from sync_chromium import get_target_os_list |
85 target_os = get_target_os_list() | 87 target_os = get_target_os_list() |
86 if 'android' in target_os: | 88 if 'android' in target_os: |
87 DIRECTORIES += [ | 89 DIRECTORIES += [ |
88 'base', | 90 'base', |
89 'third_party/accessibility_test_framework', | 91 'third_party/accessibility_test_framework', |
90 'third_party/android_platform', | 92 'third_party/android_platform', |
91 'third_party/android_tools', | 93 'third_party/android_tools', |
92 'third_party/apache_velocity', | 94 'third_party/apache_velocity', |
93 'third_party/appurify-python', | 95 'third_party/appurify-python', |
94 'third_party/ashmem', | 96 'third_party/ashmem', |
95 'third_party/bouncycastle', | 97 'third_party/bouncycastle', |
96 'third_party/byte_buddy', | 98 'third_party/byte_buddy', |
97 'third_party/catapult', | 99 'third_party/catapult', |
98 'third_party/ced', | 100 'third_party/ced', |
99 'third_party/closure_compiler', | |
100 'third_party/guava', | 101 'third_party/guava', |
101 'third_party/hamcrest', | 102 'third_party/hamcrest', |
102 'third_party/icu', | 103 'third_party/icu', |
103 'third_party/icu4j', | 104 'third_party/icu4j', |
104 'third_party/ijar', | 105 'third_party/ijar', |
105 'third_party/intellij', | 106 'third_party/intellij', |
106 'third_party/jsr-305', | 107 'third_party/jsr-305', |
107 'third_party/junit', | 108 'third_party/junit', |
108 'third_party/libxml', | 109 'third_party/libxml', |
109 'third_party/mockito', | 110 'third_party/mockito', |
110 'third_party/modp_b64', | 111 'third_party/modp_b64', |
111 'third_party/objenesis', | 112 'third_party/objenesis', |
112 'third_party/ow2_asm', | 113 'third_party/ow2_asm', |
113 'third_party/requests', | 114 'third_party/requests', |
114 'third_party/robolectric', | 115 'third_party/robolectric', |
115 'third_party/sqlite4java', | 116 'third_party/sqlite4java', |
116 'third_party/tcmalloc', | 117 'third_party/tcmalloc', |
117 'tools/android', | 118 'tools/android', |
118 'tools/grit', | |
119 'tools/telemetry', | 119 'tools/telemetry', |
120 ] | 120 ] |
121 else: | 121 else: |
122 DIRECTORIES += [ | 122 DIRECTORIES += [ |
123 'base/third_party/libevent', | 123 'base/third_party/libevent', |
124 ] | 124 ] |
125 | 125 |
126 if 'ios' in target_os: | 126 if 'ios' in target_os: |
127 DIRECTORIES.append('third_party/class-dump') | 127 DIRECTORIES.append('third_party/class-dump') |
128 | 128 |
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
521 except LinkError as e: | 521 except LinkError as e: |
522 print >> sys.stderr, e.message | 522 print >> sys.stderr, e.message |
523 return 3 | 523 return 3 |
524 finally: | 524 finally: |
525 links_database.close() | 525 links_database.close() |
526 return 0 | 526 return 0 |
527 | 527 |
528 | 528 |
529 if __name__ == '__main__': | 529 if __name__ == '__main__': |
530 sys.exit(main()) | 530 sys.exit(main()) |
OLD | NEW |