blob: 88e4fd5cf2e05be2ca282172b731f424347539fa [file] [log] [blame]
kjellander@webrtc.org177567c2016-12-22 10:40:28 +01001# This file contains dependencies for WebRTC.
kjellander@webrtc.org89256622014-08-20 12:10:11 +00002
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +00003vars = {
kjellander@webrtc.org8e5c8142014-12-03 07:11:44 +00004 'chromium_git': 'https://chromium.googlesource.com',
Mirko Bonadeicb2bc112017-10-10 13:28:18 +02005 # By default, we should check out everything needed to run on the main
6 # chromium waterfalls. More info at: crbug.com/570091.
7 'checkout_configuration': 'default',
8 'checkout_instrumented_libraries': 'checkout_linux and checkout_configuration == "default"',
Henrik Kjellandera9d4da82017-09-14 07:28:10 +02009 'webrtc_git': 'https://webrtc.googlesource.com',
Autorollere8b4e7e2018-08-02 06:09:25 -070010 'chromium_revision': '06e87fb3dc2a1c881f95eb6cd3738608b846d29a',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010011 'boringssl_git': 'https://boringssl.googlesource.com',
12 # Three lines of non-changing comments so that
13 # the commit queue can handle CLs rolling swarming_client
14 # and whatever else without interference from each other.
Autorollerdcff0bd2018-07-23 17:45:24 -070015 'swarming_revision': '486c9b53c4d54dd4b95bb6ce0e31160e600dfc11',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010016 # Three lines of non-changing comments so that
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010017 # the commit queue can handle CLs rolling BoringSSL
18 # and whatever else without interference from each other.
Autoroller0d405d42018-07-06 20:45:02 -070019 'boringssl_revision': 'c7db3232c397aa3feb1d474d63a1c4dd674b6349',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010020 # Three lines of non-changing comments so that
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010021 # the commit queue can handle CLs rolling lss
22 # and whatever else without interference from each other.
Oleh Prypin3ebed362017-10-27 10:14:45 +020023 'lss_revision': 'e6527b0cd469e3ff5764785dadcb39bf7d787154',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010024 # Three lines of non-changing comments so that
25 # the commit queue can handle CLs rolling catapult
26 # and whatever else without interference from each other.
Autorollere8b4e7e2018-08-02 06:09:25 -070027 'catapult_revision': 'c988ddf7b193a624b43b05c1e2fe3cda8f3146d8',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010028 # Three lines of non-changing comments so that
29 # the commit queue can handle CLs rolling libFuzzer
30 # and whatever else without interference from each other.
Autoroller960c0192018-07-25 06:45:11 -070031 'libfuzzer_revision': 'd62662686b220de9364f9104621a2616605c3673',
Mirko Bonadei25acef72018-04-23 11:17:50 +020032 # Three lines of non-changing comments so that
33 # the commit queue can handle CLs rolling freetype
34 # and whatever else without interference from each other.
Autorollerb61f83e2018-07-31 02:45:37 -070035 'freetype_revision': '578bcf103a12fb742cdb314565819011d1ac12a7',
Mirko Bonadei25acef72018-04-23 11:17:50 +020036 # Three lines of non-changing comments so that
37 # the commit queue can handle CLs rolling HarfBuzz
38 # and whatever else without interference from each other.
Autoroller84fd2472018-07-11 21:45:06 -070039 'harfbuzz_revision': '2b76767bf572364d3d647cdd139f2044a7ad06b2',
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000040}
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +000041deps = {
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010042 # TODO(kjellander): Move this to be Android-only once the libevent dependency
43 # in base/third_party/libevent is solved.
44 'src/base':
Autorollere8b4e7e2018-08-02 06:09:25 -070045 Var('chromium_git') + '/chromium/src/base' + '@' + 'e15177f81ad60f5bf6a00d1244a701e2844796d8',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010046 'src/build':
Autorollere8b4e7e2018-08-02 06:09:25 -070047 Var('chromium_git') + '/chromium/src/build' + '@' + 'fbf92119338eb0d6b4c364cd98a2017b6f7a30c9',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010048 'src/buildtools':
Autoroller1899c122018-07-30 13:45:39 -070049 Var('chromium_git') + '/chromium/buildtools.git' + '@' + '9a90d9aaadeb5e04327ed05775f45132e4b3523f',
Mirko Bonadeid3fb8642018-01-22 08:50:32 +010050 # Gradle 4.3-rc4. Used for testing Android Studio project generation for WebRTC.
51 'src/examples/androidtests/third_party/gradle': {
52 'url': Var('chromium_git') + '/external/github.com/gradle/gradle.git' + '@' +
53 '89af43c4d0506f69980f00dde78c97b2f81437f8',
54 'condition': 'checkout_android',
55 },
Henrik Kjellander5a17ea92017-10-09 13:14:23 +020056 'src/ios': {
Autorollere8b4e7e2018-08-02 06:09:25 -070057 'url': Var('chromium_git') + '/chromium/src/ios' + '@' + 'ff92b8db88dac2fe221a8e746a6842287a811a91',
Henrik Kjellander5a17ea92017-10-09 13:14:23 +020058 'condition': 'checkout_ios',
59 },
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010060 'src/testing':
Autorollere8b4e7e2018-08-02 06:09:25 -070061 Var('chromium_git') + '/chromium/src/testing' + '@' + '340252637e2e7c72c0901dcbeeacfff419e19b59',
Artem Titov42f0d782018-06-27 13:23:17 +020062 'src/third_party':
Autorollere8b4e7e2018-08-02 06:09:25 -070063 Var('chromium_git') + '/chromium/src/third_party' + '@' + 'a42c5d9439e306e6ade880a6e4aa9a21879c8c3b',
Edward Lemur55536f22018-01-11 14:14:26 +010064 'src/third_party/android_ndk': {
Autorollerbf51de82018-05-04 03:44:23 -070065 'url': Var('chromium_git') + '/android_ndk.git' + '@' + '5cd86312e794bdf542a3685c6f10cbb96072990b',
Edward Lemur55536f22018-01-11 14:14:26 +010066 'condition': 'checkout_android',
67 },
Henrik Kjellander5a17ea92017-10-09 13:14:23 +020068 'src/third_party/android_tools': {
Autorollerc54f7062018-06-28 23:45:19 -070069 'url': Var('chromium_git') + '/android_tools.git' + '@' + '130499e25286f4d56acafa252fee09f3cc595c49',
Henrik Kjellander5a17ea92017-10-09 13:14:23 +020070 'condition': 'checkout_android',
71 },
Mirko Bonadei969d4a92017-11-05 15:57:38 -080072 'src/third_party/auto/src': {
Autoroller23b5cc92018-01-18 12:45:10 -080073 'url': Var('chromium_git') + '/external/github.com/google/auto.git' + '@' + '8a81a858ae7b78a1aef71ac3905fade0bbd64e82',
Mirko Bonadei969d4a92017-11-05 15:57:38 -080074 'condition': 'checkout_android',
75 },
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010076 'src/third_party/boringssl/src':
Henrik Kjellander5a17ea92017-10-09 13:14:23 +020077 Var('boringssl_git') + '/boringssl.git' + '@' + Var('boringssl_revision'),
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010078 'src/third_party/catapult':
Henrik Kjellander5a17ea92017-10-09 13:14:23 +020079 Var('chromium_git') + '/catapult.git' + '@' + Var('catapult_revision'),
80 'src/third_party/ced/src': {
81 'url': Var('chromium_git') + '/external/github.com/google/compact_enc_det.git' + '@' + '94c367a1fe3a13207f4b22604fcfd1d9f9ddf6d9',
82 'condition': 'checkout_android',
83 },
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010084 'src/third_party/colorama/src':
85 Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',
oprypin40e7ebd2017-07-27 01:40:18 -070086 'src/third_party/depot_tools':
Autorollerda3dbe82018-07-31 20:45:27 -070087 Var('chromium_git') + '/chromium/tools/depot_tools.git' + '@' + '6f812e132d25df1b561f7182b04903004a3055e4',
Mirko Bonadei65ceb662017-10-13 09:45:37 +020088 'src/third_party/errorprone/lib': {
Oleh Prypina12bdbf2018-04-26 15:49:11 +020089 'url': Var('chromium_git') + '/chromium/third_party/errorprone.git' + '@' + '980d49e839aa4984015efed34b0134d4b2c9b6d7',
Mirko Bonadei65ceb662017-10-13 09:45:37 +020090 'condition': 'checkout_android',
91 },
kjellander@webrtc.org177567c2016-12-22 10:40:28 +010092 'src/third_party/ffmpeg':
Autorollerd8b4f1e2018-05-03 02:44:16 -070093 Var('chromium_git') + '/chromium/third_party/ffmpeg.git' + '@' + '90210b5e10d3917567a3025e4853704bfefd8384',
Oleh Prypine39c3792017-11-14 23:09:08 +010094 'src/third_party/findbugs': {
95 'url': Var('chromium_git') + '/chromium/deps/findbugs.git' + '@' + '4275d9ac8610db6b1bc9a5e887f97e41b33fac67',
96 'condition': 'checkout_android',
97 },
Mirko Bonadei25acef72018-04-23 11:17:50 +020098 'src/third_party/freetype/src':
99 Var('chromium_git') + '/chromium/src/third_party/freetype2.git' + '@' + Var('freetype_revision'),
100 'src/third_party/harfbuzz-ng/src':
101 Var('chromium_git') + '/external/github.com/harfbuzz/harfbuzz.git' + '@' + Var('harfbuzz_revision'),
Henrik Kjellander5a17ea92017-10-09 13:14:23 +0200102 # WebRTC-only dependency (not present in Chromium).
103 'src/third_party/gtest-parallel':
Autorollere8b4e7e2018-08-02 06:09:25 -0700104 Var('chromium_git') + '/external/github.com/google/gtest-parallel' + '@' + 'fe7f791f14769390d0b124ef8231cde4d575eb12',
kjellander3dae7052017-05-03 06:44:36 -0700105 'src/third_party/googletest/src':
Autoroller024eeff2018-06-18 21:44:09 -0700106 Var('chromium_git') + '/external/github.com/google/googletest.git' + '@' + 'ce468a17c434e4e79724396ee1b51d86bfc8a88b',
Henrik Kjellander5a17ea92017-10-09 13:14:23 +0200107 'src/third_party/icu': {
Autorollerdcff0bd2018-07-23 17:45:24 -0700108 'url': Var('chromium_git') + '/chromium/deps/icu.git' + '@' + '297a4dd02b9d36c92ab9b4f121e433c9c3bc14f8',
Henrik Kjellander5a17ea92017-10-09 13:14:23 +0200109 },
110 'src/third_party/jsr-305/src': {
111 'url': Var('chromium_git') + '/external/jsr-305.git' + '@' + '642c508235471f7220af6d5df2d3210e3bfc0919',
112 'condition': 'checkout_android',
113 },
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100114 'src/third_party/jsoncpp/source':
115 Var('chromium_git') + '/external/github.com/open-source-parsers/jsoncpp.git' + '@' + 'f572e8e42e22cfcf5ab0aea26574f408943edfa4', # from svn 248
Henrik Kjellander5a17ea92017-10-09 13:14:23 +0200116 'src/third_party/junit/src': {
117 'url': Var('chromium_git') + '/external/junit.git' + '@' + '64155f8a9babcfcf4263cf4d08253a1556e75481',
118 'condition': 'checkout_android',
119 },
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100120 # Used for building libFuzzers (only supports Linux).
121 'src/third_party/libFuzzer/src':
oprypin801f7222017-09-01 05:43:07 -0700122 Var('chromium_git') + '/chromium/llvm-project/compiler-rt/lib/fuzzer.git' + '@' + Var('libfuzzer_revision'),
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100123 'src/third_party/libjpeg_turbo':
buildbot1c23e942017-04-20 09:30:13 -0700124 Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git' + '@' + 'a1750dbc79a8792dde3d3f7d7d8ac28ba01ac9dd',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100125 'src/third_party/libsrtp':
Autoroller96a0e602018-04-06 19:45:43 -0700126 Var('chromium_git') + '/chromium/deps/libsrtp.git' + '@' + 'fc2345089a6b3c5aca9ecd2e1941871a78a13e9c',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100127 'src/third_party/libvpx/source/libvpx':
Autoroller1899c122018-07-30 13:45:39 -0700128 Var('chromium_git') + '/webm/libvpx.git' + '@' + '2d79df49408873dd62a1b26cf8ed0e067c26dc6d',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100129 'src/third_party/libyuv':
Autoroller68793c72018-07-11 11:45:43 -0700130 Var('chromium_git') + '/libyuv/libyuv.git' + '@' + '55f5d91f11f929c4c59c32621c3d5457cca3ab0b',
Henrik Kjellander5a17ea92017-10-09 13:14:23 +0200131 'src/third_party/lss': {
132 'url': Var('chromium_git') + '/linux-syscall-support.git' + '@' + Var('lss_revision'),
133 'condition': 'checkout_android or checkout_linux',
134 },
135 'src/third_party/mockito/src': {
Autoroller0d4ee0a2018-06-21 18:44:09 -0700136 'url': Var('chromium_git') + '/external/mockito/mockito.git' + '@' + '04a2a289a4222f80ad20717c25144981210d2eac',
Henrik Kjellander5a17ea92017-10-09 13:14:23 +0200137 'condition': 'checkout_android',
138 },
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100139 'src/third_party/openh264/src':
Autoroller5d16e2c2018-05-03 10:44:45 -0700140 Var('chromium_git') + '/external/github.com/cisco/openh264' + '@' + '3b51f16a4a41df729f8d647f03e48c5f272911ff',
Patrik Höglund72520532018-06-08 10:43:05 +0200141 'src/third_party/r8': {
142 'packages': [
143 {
144 'package': 'chromium/third_party/r8',
Autorollerc54f7062018-06-28 23:45:19 -0700145 'version': 'version:1.2.28-cr0',
Patrik Höglund72520532018-06-08 10:43:05 +0200146 },
147 ],
148 'condition': 'checkout_android',
149 'dep_type': 'cipd',
150 },
Henrik Kjellander5a17ea92017-10-09 13:14:23 +0200151 'src/third_party/requests/src': {
152 'url': Var('chromium_git') + '/external/github.com/kennethreitz/requests.git' + '@' + 'f172b30356d821d180fa4ecfa3e71c7274a32de4',
153 'condition': 'checkout_android',
154 },
155 'src/third_party/robolectric/robolectric': {
Autorollere9fe8b52017-11-30 15:46:32 -0800156 'url': Var('chromium_git') + '/external/robolectric.git' + '@' + '7e067f1112e1502caa742f7be72d37b5678d3403',
Henrik Kjellander5a17ea92017-10-09 13:14:23 +0200157 'condition': 'checkout_android',
158 },
159 'src/third_party/ub-uiautomator/lib': {
160 'url': Var('chromium_git') + '/chromium/third_party/ub-uiautomator.git' + '@' + '00270549ce3161ae72ceb24712618ea28b4f9434',
161 'condition': 'checkout_android',
162 },
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100163 'src/third_party/usrsctp/usrsctplib':
Autorollerc54f7062018-06-28 23:45:19 -0700164 Var('chromium_git') + '/external/github.com/sctplab/usrsctp' + '@' + '7a8bc9a90ca96634aa56ee712856d97f27d903f8',
Henrik Kjellander5a17ea92017-10-09 13:14:23 +0200165 # WebRTC-only dependency (not present in Chromium).
166 'src/third_party/winsdk_samples': {
Mirko Bonadeief003102018-05-15 11:24:00 +0200167 'url': Var('webrtc_git') + '/deps/third_party/winsdk_samples_v71' + '@' + 'a59391ef795986633735a1695caa97622a9bfd56',
Henrik Kjellander5a17ea92017-10-09 13:14:23 +0200168 'condition': 'checkout_win',
169 },
170 # Dependency used by libjpeg-turbo.
171 'src/third_party/yasm/binaries': {
172 'url': Var('chromium_git') + '/chromium/deps/yasm/binaries.git' + '@' + '52f9b3f4b0aa06da24ef8b123058bb61ee468881',
173 'condition': 'checkout_win',
174 },
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100175 'src/third_party/yasm/source/patched-yasm':
Autoroller0d405d42018-07-06 20:45:02 -0700176 Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git' + '@' + '720b70524a4424b15fc57e82263568c8ba0496ad',
kjellander@webrtc.org177567c2016-12-22 10:40:28 +0100177 'src/tools':
Autorollere8b4e7e2018-08-02 06:09:25 -0700178 Var('chromium_git') + '/chromium/src/tools' + '@' + '0a1519743ebf26b56ede780e9091d52a40da2172',
oprypin4ccd9c12017-08-30 00:42:43 -0700179 'src/tools/swarming_client':
180 Var('chromium_git') + '/infra/luci/client-py.git' + '@' + Var('swarming_revision'),
Oleh Prypine18e2692018-02-19 18:43:17 +0100181
182 'src/third_party/accessibility_test_framework': {
183 'packages': [
184 {
185 'package': 'chromium/third_party/accessibility-test-framework',
186 'version': 'version:2.1-cr0',
187 },
188 ],
189 'condition': 'checkout_android',
190 'dep_type': 'cipd',
191 },
192
193 'src/third_party/android_support_test_runner': {
194 'packages': [
195 {
196 'package': 'chromium/third_party/android_support_test_runner',
197 'version': 'version:0.5-cr0',
198 },
199 ],
200 'condition': 'checkout_android',
201 'dep_type': 'cipd',
202 },
203
204 'src/third_party/apk-patch-size-estimator': {
205 'packages': [
206 {
207 'package': 'chromium/third_party/apk-patch-size-estimator',
208 'version': 'version:0.2-cr0',
209 },
210 ],
211 'condition': 'checkout_android',
212 'dep_type': 'cipd',
213 },
214
215 'src/third_party/bazel': {
216 'packages': [
217 {
218 'package': 'chromium/third_party/bazel',
219 'version': 'version:0.10.0',
220 },
221 ],
222 'condition': 'checkout_android',
223 'dep_type': 'cipd',
224 },
225
226 'src/third_party/bouncycastle': {
227 'packages': [
228 {
229 'package': 'chromium/third_party/bouncycastle',
230 'version': 'version:1.46-cr0',
231 },
232 ],
233 'condition': 'checkout_android',
234 'dep_type': 'cipd',
235 },
236
237 'src/third_party/byte_buddy': {
238 'packages': [
239 {
240 'package': 'chromium/third_party/byte_buddy',
Autoroller0d4ee0a2018-06-21 18:44:09 -0700241 'version': 'version:1.8.8-cr0',
Oleh Prypine18e2692018-02-19 18:43:17 +0100242 },
243 ],
244 'condition': 'checkout_android',
245 'dep_type': 'cipd',
246 },
247
248 'src/third_party/espresso': {
249 'packages': [
250 {
251 'package': 'chromium/third_party/espresso',
252 'version': 'version:2.2.1-cr0',
253 },
254 ],
255 'condition': 'checkout_android',
256 'dep_type': 'cipd',
257 },
258
259 'src/third_party/gson': {
260 'packages': [
261 {
262 'package': 'chromium/third_party/gson',
263 'version': 'version:2.8.0-cr0',
264 },
265 ],
266 'condition': 'checkout_android',
267 'dep_type': 'cipd',
268 },
269
270 'src/third_party/guava': {
271 'packages': [
272 {
273 'package': 'chromium/third_party/guava',
274 'version': 'version:23.0-cr0',
275 },
276 ],
277 'condition': 'checkout_android',
278 'dep_type': 'cipd',
279 },
280
281 'src/third_party/hamcrest': {
282 'packages': [
283 {
284 'package': 'chromium/third_party/hamcrest',
285 'version': 'version:1.3-cr0',
286 },
287 ],
288 'condition': 'checkout_android',
289 'dep_type': 'cipd',
290 },
291
292 'src/third_party/icu4j': {
293 'packages': [
294 {
295 'package': 'chromium/third_party/icu4j',
296 'version': 'version:53.1-cr0',
297 },
298 ],
299 'condition': 'checkout_android',
300 'dep_type': 'cipd',
301 },
302
303 'src/third_party/intellij': {
304 'packages': [
305 {
306 'package': 'chromium/third_party/intellij',
307 'version': 'version:12.0-cr0',
308 },
309 ],
310 'condition': 'checkout_android',
311 'dep_type': 'cipd',
312 },
313
314 'src/third_party/javax_inject': {
315 'packages': [
316 {
317 'package': 'chromium/third_party/javax_inject',
318 'version': 'version:1-cr0',
319 },
320 ],
321 'condition': 'checkout_android',
322 'dep_type': 'cipd',
323 },
324
325 'src/third_party/objenesis': {
326 'packages': [
327 {
328 'package': 'chromium/third_party/objenesis',
329 'version': 'version:2.4-cr0',
330 },
331 ],
332 'condition': 'checkout_android',
333 'dep_type': 'cipd',
334 },
335
336 'src/third_party/ow2_asm': {
337 'packages': [
338 {
339 'package': 'chromium/third_party/ow2_asm',
340 'version': 'version:5.0.1-cr0',
341 },
342 ],
343 'condition': 'checkout_android',
344 'dep_type': 'cipd',
345 },
346
347 'src/third_party/robolectric': {
348 'packages': [
349 {
350 'package': 'chromium/third_party/robolectric',
351 'version': 'version:3.5.1',
352 },
353 ],
354 'condition': 'checkout_android',
355 'dep_type': 'cipd',
356 },
357
358 'src/third_party/sqlite4java': {
359 'packages': [
360 {
361 'package': 'chromium/third_party/sqlite4java',
362 'version': 'version:0.282-cr0',
363 },
364 ],
365 'condition': 'checkout_android',
366 'dep_type': 'cipd',
367 },
368
369 'src/third_party/xstream': {
370 'packages': [
371 {
372 'package': 'chromium/third_party/xstream',
373 'version': 'version:1.4.8-cr0',
374 },
375 ],
376 'condition': 'checkout_android',
377 'dep_type': 'cipd',
378 },
Oleh Prypin0a778892018-07-19 13:55:40 +0200379
380 # === ANDROID_DEPS Start ===
Artem Titov4cc13a22018-07-27 11:50:40 +0200381 'src/third_party/android_deps/libs/android_arch_core_common': {
Oleh Prypin0a778892018-07-19 13:55:40 +0200382 'packages': [
383 {
Artem Titov4cc13a22018-07-27 11:50:40 +0200384 'package': 'chromium/third_party/android_deps/libs/android_arch_core_common',
385 'version': 'version:1.0.0-cr0',
Oleh Prypin0a778892018-07-19 13:55:40 +0200386 },
387 ],
388 'condition': 'checkout_android',
389 'dep_type': 'cipd',
390 },
Artem Titov4cc13a22018-07-27 11:50:40 +0200391 'src/third_party/android_deps/libs/android_arch_lifecycle_common': {
Oleh Prypin0a778892018-07-19 13:55:40 +0200392 'packages': [
393 {
Artem Titov4cc13a22018-07-27 11:50:40 +0200394 'package': 'chromium/third_party/android_deps/libs/android_arch_lifecycle_common',
395 'version': 'version:1.0.0-cr0',
Oleh Prypin0a778892018-07-19 13:55:40 +0200396 },
397 ],
398 'condition': 'checkout_android',
399 'dep_type': 'cipd',
400 },
Artem Titov4cc13a22018-07-27 11:50:40 +0200401 'src/third_party/android_deps/libs/android_arch_lifecycle_runtime': {
Oleh Prypin0a778892018-07-19 13:55:40 +0200402 'packages': [
403 {
Artem Titov4cc13a22018-07-27 11:50:40 +0200404 'package': 'chromium/third_party/android_deps/libs/android_arch_lifecycle_runtime',
405 'version': 'version:1.0.0-cr0',
Oleh Prypin0a778892018-07-19 13:55:40 +0200406 },
407 ],
408 'condition': 'checkout_android',
409 'dep_type': 'cipd',
410 },
Artem Titov4cc13a22018-07-27 11:50:40 +0200411 'src/third_party/android_deps/libs/com_android_support_animated_vector_drawable': {
Oleh Prypin0a778892018-07-19 13:55:40 +0200412 'packages': [
413 {
Artem Titov4cc13a22018-07-27 11:50:40 +0200414 'package': 'chromium/third_party/android_deps/libs/com_android_support_animated_vector_drawable',
415 'version': 'version:27.0.0-cr0',
Oleh Prypin0a778892018-07-19 13:55:40 +0200416 },
417 ],
418 'condition': 'checkout_android',
419 'dep_type': 'cipd',
420 },
Artem Titov4cc13a22018-07-27 11:50:40 +0200421 'src/third_party/android_deps/libs/com_android_support_appcompat_v7': {
Oleh Prypin0a778892018-07-19 13:55:40 +0200422 'packages': [
423 {
Artem Titov4cc13a22018-07-27 11:50:40 +0200424 'package': 'chromium/third_party/android_deps/libs/com_android_support_appcompat_v7',
425 'version': 'version:27.0.0-cr0',
Oleh Prypin0a778892018-07-19 13:55:40 +0200426 },
427 ],
428 'condition': 'checkout_android',
429 'dep_type': 'cipd',
430 },
Artem Titov4cc13a22018-07-27 11:50:40 +0200431 'src/third_party/android_deps/libs/com_android_support_cardview_v7': {
Oleh Prypin0a778892018-07-19 13:55:40 +0200432 'packages': [
433 {
Artem Titov4cc13a22018-07-27 11:50:40 +0200434 'package': 'chromium/third_party/android_deps/libs/com_android_support_cardview_v7',
435 'version': 'version:27.0.0-cr0',
Oleh Prypin0a778892018-07-19 13:55:40 +0200436 },
437 ],
438 'condition': 'checkout_android',
439 'dep_type': 'cipd',
440 },
Artem Titov4cc13a22018-07-27 11:50:40 +0200441 'src/third_party/android_deps/libs/com_android_support_design': {
Oleh Prypin0a778892018-07-19 13:55:40 +0200442 'packages': [
443 {
Artem Titov4cc13a22018-07-27 11:50:40 +0200444 'package': 'chromium/third_party/android_deps/libs/com_android_support_design',
445 'version': 'version:27.0.0-cr0',
Oleh Prypin0a778892018-07-19 13:55:40 +0200446 },
447 ],
448 'condition': 'checkout_android',
449 'dep_type': 'cipd',
450 },
Artem Titov4cc13a22018-07-27 11:50:40 +0200451 'src/third_party/android_deps/libs/com_android_support_gridlayout_v7': {
Oleh Prypin0a778892018-07-19 13:55:40 +0200452 'packages': [
453 {
Artem Titov4cc13a22018-07-27 11:50:40 +0200454 'package': 'chromium/third_party/android_deps/libs/com_android_support_gridlayout_v7',
455 'version': 'version:27.0.0-cr0',
Oleh Prypin0a778892018-07-19 13:55:40 +0200456 },
457 ],
458 'condition': 'checkout_android',
459 'dep_type': 'cipd',
460 },
Artem Titov4cc13a22018-07-27 11:50:40 +0200461 'src/third_party/android_deps/libs/com_android_support_leanback_v17': {
Oleh Prypin0a778892018-07-19 13:55:40 +0200462 'packages': [
463 {
Artem Titov4cc13a22018-07-27 11:50:40 +0200464 'package': 'chromium/third_party/android_deps/libs/com_android_support_leanback_v17',
465 'version': 'version:27.0.0-cr0',
Oleh Prypin0a778892018-07-19 13:55:40 +0200466 },
467 ],
468 'condition': 'checkout_android',
469 'dep_type': 'cipd',
470 },
Artem Titov4cc13a22018-07-27 11:50:40 +0200471 'src/third_party/android_deps/libs/com_android_support_mediarouter_v7': {
Oleh Prypin0a778892018-07-19 13:55:40 +0200472 'packages': [
473 {
Artem Titov4cc13a22018-07-27 11:50:40 +0200474 'package': 'chromium/third_party/android_deps/libs/com_android_support_mediarouter_v7',
475 'version': 'version:27.0.0-cr0',
Oleh Prypin0a778892018-07-19 13:55:40 +0200476 },
477 ],
478 'condition': 'checkout_android',
479 'dep_type': 'cipd',
480 },
Artem Titov4cc13a22018-07-27 11:50:40 +0200481 'src/third_party/android_deps/libs/com_android_support_multidex': {
Oleh Prypin0a778892018-07-19 13:55:40 +0200482 'packages': [
483 {
Artem Titov4cc13a22018-07-27 11:50:40 +0200484 'package': 'chromium/third_party/android_deps/libs/com_android_support_multidex',
485 'version': 'version:1.0.0-cr0',
Oleh Prypin0a778892018-07-19 13:55:40 +0200486 },
487 ],
488 'condition': 'checkout_android',
489 'dep_type': 'cipd',
490 },
Artem Titov4cc13a22018-07-27 11:50:40 +0200491 'src/third_party/android_deps/libs/com_android_support_palette_v7': {
Oleh Prypin0a778892018-07-19 13:55:40 +0200492 'packages': [
493 {
Artem Titov4cc13a22018-07-27 11:50:40 +0200494 'package': 'chromium/third_party/android_deps/libs/com_android_support_palette_v7',
495 'version': 'version:27.0.0-cr0',
Oleh Prypin0a778892018-07-19 13:55:40 +0200496 },
497 ],
498 'condition': 'checkout_android',
499 'dep_type': 'cipd',
500 },
Artem Titov4cc13a22018-07-27 11:50:40 +0200501 'src/third_party/android_deps/libs/com_android_support_preference_leanback_v17': {
Oleh Prypin0a778892018-07-19 13:55:40 +0200502 'packages': [
503 {
Artem Titov4cc13a22018-07-27 11:50:40 +0200504 'package': 'chromium/third_party/android_deps/libs/com_android_support_preference_leanback_v17',
505 'version': 'version:27.0.0-cr0',
Oleh Prypin0a778892018-07-19 13:55:40 +0200506 },
507 ],
508 'condition': 'checkout_android',
509 'dep_type': 'cipd',
510 },
Artem Titov4cc13a22018-07-27 11:50:40 +0200511 'src/third_party/android_deps/libs/com_android_support_preference_v14': {
Oleh Prypin0a778892018-07-19 13:55:40 +0200512 'packages': [
513 {
Artem Titov4cc13a22018-07-27 11:50:40 +0200514 'package': 'chromium/third_party/android_deps/libs/com_android_support_preference_v14',
515 'version': 'version:27.0.0-cr0',
Oleh Prypin0a778892018-07-19 13:55:40 +0200516 },
517 ],
518 'condition': 'checkout_android',
519 'dep_type': 'cipd',
520 },
Artem Titov4cc13a22018-07-27 11:50:40 +0200521 'src/third_party/android_deps/libs/com_android_support_preference_v7': {
Oleh Prypin0a778892018-07-19 13:55:40 +0200522 'packages': [
523 {
Artem Titov4cc13a22018-07-27 11:50:40 +0200524 'package': 'chromium/third_party/android_deps/libs/com_android_support_preference_v7',
525 'version': 'version:27.0.0-cr0',
Oleh Prypin0a778892018-07-19 13:55:40 +0200526 },
527 ],
528 'condition': 'checkout_android',
529 'dep_type': 'cipd',
530 },
Artem Titov4cc13a22018-07-27 11:50:40 +0200531 'src/third_party/android_deps/libs/com_android_support_recyclerview_v7': {
Oleh Prypin0a778892018-07-19 13:55:40 +0200532 'packages': [
533 {
Artem Titov4cc13a22018-07-27 11:50:40 +0200534 'package': 'chromium/third_party/android_deps/libs/com_android_support_recyclerview_v7',
535 'version': 'version:27.0.0-cr0',
Oleh Prypin0a778892018-07-19 13:55:40 +0200536 },
537 ],
538 'condition': 'checkout_android',
539 'dep_type': 'cipd',
540 },
Artem Titov4cc13a22018-07-27 11:50:40 +0200541 'src/third_party/android_deps/libs/com_android_support_support_annotations': {
Oleh Prypin0a778892018-07-19 13:55:40 +0200542 'packages': [
543 {
Artem Titov4cc13a22018-07-27 11:50:40 +0200544 'package': 'chromium/third_party/android_deps/libs/com_android_support_support_annotations',
545 'version': 'version:27.0.0-cr0',
Oleh Prypin0a778892018-07-19 13:55:40 +0200546 },
547 ],
548 'condition': 'checkout_android',
549 'dep_type': 'cipd',
550 },
Artem Titov4cc13a22018-07-27 11:50:40 +0200551 'src/third_party/android_deps/libs/com_android_support_support_compat': {
Oleh Prypin0a778892018-07-19 13:55:40 +0200552 'packages': [
553 {
Artem Titov4cc13a22018-07-27 11:50:40 +0200554 'package': 'chromium/third_party/android_deps/libs/com_android_support_support_compat',
555 'version': 'version:27.0.0-cr0',
Oleh Prypin0a778892018-07-19 13:55:40 +0200556 },
557 ],
558 'condition': 'checkout_android',
559 'dep_type': 'cipd',
560 },
Artem Titov4cc13a22018-07-27 11:50:40 +0200561 'src/third_party/android_deps/libs/com_android_support_support_core_ui': {
Oleh Prypin0a778892018-07-19 13:55:40 +0200562 'packages': [
563 {
Artem Titov4cc13a22018-07-27 11:50:40 +0200564 'package': 'chromium/third_party/android_deps/libs/com_android_support_support_core_ui',
565 'version': 'version:27.0.0-cr0',
Oleh Prypin0a778892018-07-19 13:55:40 +0200566 },
567 ],
568 'condition': 'checkout_android',
569 'dep_type': 'cipd',
570 },
Artem Titov4cc13a22018-07-27 11:50:40 +0200571 'src/third_party/android_deps/libs/com_android_support_support_core_utils': {
Oleh Prypin0a778892018-07-19 13:55:40 +0200572 'packages': [
573 {
Artem Titov4cc13a22018-07-27 11:50:40 +0200574 'package': 'chromium/third_party/android_deps/libs/com_android_support_support_core_utils',
575 'version': 'version:27.0.0-cr0',
Oleh Prypin0a778892018-07-19 13:55:40 +0200576 },
577 ],
578 'condition': 'checkout_android',
579 'dep_type': 'cipd',
580 },
Artem Titov4cc13a22018-07-27 11:50:40 +0200581 'src/third_party/android_deps/libs/com_android_support_support_fragment': {
Oleh Prypin0a778892018-07-19 13:55:40 +0200582 'packages': [
583 {
Artem Titov4cc13a22018-07-27 11:50:40 +0200584 'package': 'chromium/third_party/android_deps/libs/com_android_support_support_fragment',
585 'version': 'version:27.0.0-cr0',
Oleh Prypin0a778892018-07-19 13:55:40 +0200586 },
587 ],
588 'condition': 'checkout_android',
589 'dep_type': 'cipd',
590 },
Artem Titov4cc13a22018-07-27 11:50:40 +0200591 'src/third_party/android_deps/libs/com_android_support_support_media_compat': {
Oleh Prypin0a778892018-07-19 13:55:40 +0200592 'packages': [
593 {
Artem Titov4cc13a22018-07-27 11:50:40 +0200594 'package': 'chromium/third_party/android_deps/libs/com_android_support_support_media_compat',
595 'version': 'version:27.0.0-cr0',
Oleh Prypin0a778892018-07-19 13:55:40 +0200596 },
597 ],
598 'condition': 'checkout_android',
599 'dep_type': 'cipd',
600 },
Artem Titov4cc13a22018-07-27 11:50:40 +0200601 'src/third_party/android_deps/libs/com_android_support_support_v13': {
Oleh Prypin0a778892018-07-19 13:55:40 +0200602 'packages': [
603 {
Artem Titov4cc13a22018-07-27 11:50:40 +0200604 'package': 'chromium/third_party/android_deps/libs/com_android_support_support_v13',
605 'version': 'version:27.0.0-cr0',
Oleh Prypin0a778892018-07-19 13:55:40 +0200606 },
607 ],
608 'condition': 'checkout_android',
609 'dep_type': 'cipd',
610 },
Artem Titov4cc13a22018-07-27 11:50:40 +0200611 'src/third_party/android_deps/libs/com_android_support_support_v4': {
Oleh Prypin0a778892018-07-19 13:55:40 +0200612 'packages': [
613 {
Artem Titov4cc13a22018-07-27 11:50:40 +0200614 'package': 'chromium/third_party/android_deps/libs/com_android_support_support_v4',
615 'version': 'version:27.0.0-cr0',
Oleh Prypin0a778892018-07-19 13:55:40 +0200616 },
617 ],
618 'condition': 'checkout_android',
619 'dep_type': 'cipd',
620 },
Artem Titov4cc13a22018-07-27 11:50:40 +0200621 'src/third_party/android_deps/libs/com_android_support_support_vector_drawable': {
Oleh Prypin0a778892018-07-19 13:55:40 +0200622 'packages': [
623 {
Artem Titov4cc13a22018-07-27 11:50:40 +0200624 'package': 'chromium/third_party/android_deps/libs/com_android_support_support_vector_drawable',
625 'version': 'version:27.0.0-cr0',
Oleh Prypin0a778892018-07-19 13:55:40 +0200626 },
627 ],
628 'condition': 'checkout_android',
629 'dep_type': 'cipd',
630 },
Artem Titov4cc13a22018-07-27 11:50:40 +0200631 'src/third_party/android_deps/libs/com_android_support_transition': {
Oleh Prypin0a778892018-07-19 13:55:40 +0200632 'packages': [
633 {
Artem Titov4cc13a22018-07-27 11:50:40 +0200634 'package': 'chromium/third_party/android_deps/libs/com_android_support_transition',
635 'version': 'version:27.0.0-cr0',
Oleh Prypin0a778892018-07-19 13:55:40 +0200636 },
637 ],
638 'condition': 'checkout_android',
639 'dep_type': 'cipd',
640 },
Artem Titovd673da22018-07-27 13:53:36 +0200641 'src/third_party/android_deps/libs/com_google_android_gms_play_services_base': {
642 'packages': [
643 {
644 'package': 'chromium/third_party/android_deps/libs/com_google_android_gms_play_services_base',
645 'version': 'version:12.0.1-cr0',
646 },
647 ],
648 'condition': 'checkout_android',
649 'dep_type': 'cipd',
650 },
651 'src/third_party/android_deps/libs/com_google_android_gms_play_services_auth_base': {
652 'packages': [
653 {
654 'package': 'chromium/third_party/android_deps/libs/com_google_android_gms_play_services_auth_base',
655 'version': 'version:12.0.1-cr0',
656 },
657 ],
658 'condition': 'checkout_android',
659 'dep_type': 'cipd',
660 },
661 'src/third_party/android_deps/libs/com_google_android_gms_play_services_base': {
662 'packages': [
663 {
664 'package': 'chromium/third_party/android_deps/libs/com_google_android_gms_play_services_base',
665 'version': 'version:12.0.1-cr0',
666 },
667 ],
668 'condition': 'checkout_android',
669 'dep_type': 'cipd',
670 },
671 'src/third_party/android_deps/libs/com_google_android_gms_play_services_basement': {
672 'packages': [
673 {
674 'package': 'chromium/third_party/android_deps/libs/com_google_android_gms_play_services_basement',
675 'version': 'version:12.0.1-cr0',
676 },
677 ],
678 'condition': 'checkout_android',
679 'dep_type': 'cipd',
680 },
681 'src/third_party/android_deps/libs/com_google_android_gms_play_services_tasks': {
682 'packages': [
683 {
684 'package': 'chromium/third_party/android_deps/libs/com_google_android_gms_play_services_tasks',
685 'version': 'version:12.0.1-cr0',
686 },
687 ],
688 'condition': 'checkout_android',
689 'dep_type': 'cipd',
690 },
Oleh Prypin0a778892018-07-19 13:55:40 +0200691 # === ANDROID_DEPS End ===
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +0000692}
kjellander200028f2017-08-17 09:54:12 -0700693
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +0000694hooks = [
695 {
Henrik Kjellander27576e02015-10-15 14:24:09 +0200696 # This clobbers when necessary (based on get_landmines.py). It should be
697 # an early hook but it will need to be run after syncing Chromium and
698 # setting up the links, so the script actually exists.
699 'name': 'landmines',
700 'pattern': '.',
701 'action': [
702 'python',
703 'src/build/landmines.py',
704 '--landmine-scripts',
Henrik Kjellander90fd7d82017-05-09 08:30:10 +0200705 'src/tools_webrtc/get_landmines.py',
Henrik Kjellander27576e02015-10-15 14:24:09 +0200706 '--src-dir',
707 'src',
708 ],
709 },
oprypin40e7ebd2017-07-27 01:40:18 -0700710 {
711 # Ensure that the DEPS'd "depot_tools" has its self-update capability
712 # disabled.
713 'name': 'disable_depot_tools_selfupdate',
714 'pattern': '.',
715 'action': [
716 'python',
717 'src/third_party/depot_tools/update_depot_tools_toggle.py',
718 '--disable',
719 ],
720 },
kjellander24d812d2016-11-22 07:02:11 -0800721 {
Mirko Bonadeib8a7d9d2018-02-12 08:57:35 +0100722 'name': 'sysroot_arm',
kjellander24d812d2016-11-22 07:02:11 -0800723 'pattern': '.',
Mirko Bonadeib8a7d9d2018-02-12 08:57:35 +0100724 'condition': 'checkout_linux and checkout_arm',
kjellander24d812d2016-11-22 07:02:11 -0800725 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
Mirko Bonadeib8a7d9d2018-02-12 08:57:35 +0100726 '--arch=arm'],
727 },
728 {
729 'name': 'sysroot_arm64',
730 'pattern': '.',
731 'condition': 'checkout_linux and checkout_arm64',
732 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
733 '--arch=arm64'],
734 },
735 {
736 'name': 'sysroot_x86',
737 'pattern': '.',
738 'condition': 'checkout_linux and (checkout_x86 or checkout_x64)',
739 # TODO(mbonadei): change to --arch=x86.
740 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
741 '--arch=i386'],
742 },
743 {
744 'name': 'sysroot_mips',
745 'pattern': '.',
746 'condition': 'checkout_linux and checkout_mips',
747 # TODO(mbonadei): change to --arch=mips.
748 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
749 '--arch=mipsel'],
750 },
751 {
752 'name': 'sysroot_x64',
753 'pattern': '.',
754 'condition': 'checkout_linux and checkout_x64',
755 # TODO(mbonadei): change to --arch=x64.
756 'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
757 '--arch=amd64'],
kjellander24d812d2016-11-22 07:02:11 -0800758 },
759 {
Mirko Bonadeia55bdc22018-02-12 13:22:50 +0100760 # Case-insensitivity for the Win SDK. Must run before win_toolchain below.
761 'name': 'ciopfs_linux',
762 'pattern': '.',
763 'condition': 'checkout_win and host_os == "linux"',
764 'action': [ 'python',
765 'src/third_party/depot_tools/download_from_google_storage.py',
766 '--no_resume',
767 '--no_auth',
768 '--bucket', 'chromium-browser-clang/ciopfs',
769 '-s', 'src/build/ciopfs.sha1',
770 ]
771 },
772 {
Henrik Kjellander6b269752017-10-09 13:00:41 +0200773 # Update the Windows toolchain if necessary. Must run before 'clang' below.
kjellander24d812d2016-11-22 07:02:11 -0800774 'name': 'win_toolchain',
775 'pattern': '.',
Mirko Bonadeif0707cb2018-02-13 11:29:09 +0100776 'condition': 'checkout_win',
777 'action': ['python', 'src/build/vs_toolchain.py', 'update', '--force'],
kjellander24d812d2016-11-22 07:02:11 -0800778 },
kjellanderec2c93e2017-09-08 10:52:17 -0700779 {
780 # Update the Mac toolchain if necessary.
781 'name': 'mac_toolchain',
782 'pattern': '.',
Henrik Kjellander6b269752017-10-09 13:00:41 +0200783 'condition': 'checkout_mac',
kjellanderec2c93e2017-09-08 10:52:17 -0700784 'action': ['python', 'src/build/mac_toolchain.py'],
785 },
kjellander24d812d2016-11-22 07:02:11 -0800786 # Pull binutils for linux, enabled debug fission for faster linking /
787 # debugging when used with clang on Ubuntu Precise.
788 # https://code.google.com/p/chromium/issues/detail?id=352046
789 {
790 'name': 'binutils',
791 'pattern': 'src/third_party/binutils',
Henrik Kjellander6b269752017-10-09 13:00:41 +0200792 'condition': 'host_os == "linux"',
kjellander24d812d2016-11-22 07:02:11 -0800793 'action': [
794 'python',
795 'src/third_party/binutils/download.py',
796 ],
797 },
798 {
kjellander24d812d2016-11-22 07:02:11 -0800799 # Note: On Win, this should run after win_toolchain, as it may use it.
800 'name': 'clang',
801 'pattern': '.',
Henrik Kjellander6b269752017-10-09 13:00:41 +0200802 'action': ['python', 'src/tools/clang/scripts/update.py'],
kjellander24d812d2016-11-22 07:02:11 -0800803 },
ehmaldonado293bc2a2016-11-25 04:58:47 -0800804 {
805 # Update LASTCHANGE.
806 'name': 'lastchange',
807 'pattern': '.',
808 'action': ['python', 'src/build/util/lastchange.py',
809 '-o', 'src/build/util/LASTCHANGE'],
810 },
Mirko Bonadeie19a4e12018-06-29 06:31:35 +0000811 # Pull GN binaries.
kjellander24d812d2016-11-22 07:02:11 -0800812 {
813 'name': 'gn_win',
814 'pattern': '.',
Henrik Kjellander6b269752017-10-09 13:00:41 +0200815 'condition': 'host_os == "win"',
kjellander24d812d2016-11-22 07:02:11 -0800816 'action': [ 'download_from_google_storage',
817 '--no_resume',
818 '--platform=win32',
819 '--no_auth',
820 '--bucket', 'chromium-gn',
821 '-s', 'src/buildtools/win/gn.exe.sha1',
822 ],
823 },
824 {
825 'name': 'gn_mac',
826 'pattern': '.',
Henrik Kjellander6b269752017-10-09 13:00:41 +0200827 'condition': 'host_os == "mac"',
kjellander24d812d2016-11-22 07:02:11 -0800828 'action': [ 'download_from_google_storage',
829 '--no_resume',
830 '--platform=darwin',
831 '--no_auth',
832 '--bucket', 'chromium-gn',
833 '-s', 'src/buildtools/mac/gn.sha1',
834 ],
835 },
836 {
837 'name': 'gn_linux64',
838 'pattern': '.',
Henrik Kjellander6b269752017-10-09 13:00:41 +0200839 'condition': 'host_os == "linux"',
kjellander24d812d2016-11-22 07:02:11 -0800840 'action': [ 'download_from_google_storage',
841 '--no_resume',
842 '--platform=linux*',
843 '--no_auth',
844 '--bucket', 'chromium-gn',
845 '-s', 'src/buildtools/linux64/gn.sha1',
846 ],
847 },
848 # Pull clang-format binaries using checked-in hashes.
849 {
850 'name': 'clang_format_win',
851 'pattern': '.',
Henrik Kjellander6b269752017-10-09 13:00:41 +0200852 'condition': 'host_os == "win"',
kjellander24d812d2016-11-22 07:02:11 -0800853 'action': [ 'download_from_google_storage',
854 '--no_resume',
855 '--platform=win32',
856 '--no_auth',
857 '--bucket', 'chromium-clang-format',
858 '-s', 'src/buildtools/win/clang-format.exe.sha1',
859 ],
860 },
861 {
862 'name': 'clang_format_mac',
863 'pattern': '.',
Henrik Kjellander6b269752017-10-09 13:00:41 +0200864 'condition': 'host_os == "mac"',
kjellander24d812d2016-11-22 07:02:11 -0800865 'action': [ 'download_from_google_storage',
866 '--no_resume',
867 '--platform=darwin',
868 '--no_auth',
869 '--bucket', 'chromium-clang-format',
870 '-s', 'src/buildtools/mac/clang-format.sha1',
871 ],
872 },
873 {
874 'name': 'clang_format_linux',
875 'pattern': '.',
Henrik Kjellander6b269752017-10-09 13:00:41 +0200876 'condition': 'host_os == "linux"',
kjellander24d812d2016-11-22 07:02:11 -0800877 'action': [ 'download_from_google_storage',
878 '--no_resume',
879 '--platform=linux*',
880 '--no_auth',
881 '--bucket', 'chromium-clang-format',
882 '-s', 'src/buildtools/linux64/clang-format.sha1',
883 ],
884 },
Oleh Prypin3ebed362017-10-27 10:14:45 +0200885 # Pull rc binaries using checked-in hashes.
886 {
887 'name': 'rc_win',
888 'pattern': '.',
889 'condition': 'checkout_win and host_os == "win"',
890 'action': [ 'python',
891 'src/third_party/depot_tools/download_from_google_storage.py',
892 '--no_resume',
893 '--no_auth',
894 '--bucket', 'chromium-browser-clang/rc',
895 '-s', 'src/build/toolchain/win/rc/win/rc.exe.sha1',
896 ],
897 },
898 {
899 'name': 'rc_mac',
900 'pattern': '.',
901 'condition': 'checkout_win and host_os == "mac"',
902 'action': [ 'python',
903 'src/third_party/depot_tools/download_from_google_storage.py',
904 '--no_resume',
905 '--no_auth',
906 '--bucket', 'chromium-browser-clang/rc',
907 '-s', 'src/build/toolchain/win/rc/mac/rc.sha1',
908 ],
909 },
910 {
911 'name': 'rc_linux',
912 'pattern': '.',
913 'condition': 'checkout_win and host_os == "linux"',
914 'action': [ 'python',
915 'src/third_party/depot_tools/download_from_google_storage.py',
916 '--no_resume',
917 '--no_auth',
918 '--bucket', 'chromium-browser-clang/rc',
919 '-s', 'src/build/toolchain/win/rc/linux64/rc.sha1',
920 ],
921 },
kjellander24d812d2016-11-22 07:02:11 -0800922 # Pull luci-go binaries (isolate, swarming) using checked-in hashes.
923 {
924 'name': 'luci-go_win',
925 'pattern': '.',
Henrik Kjellander6b269752017-10-09 13:00:41 +0200926 'condition': 'host_os == "win"',
kjellander24d812d2016-11-22 07:02:11 -0800927 'action': [ 'download_from_google_storage',
928 '--no_resume',
929 '--platform=win32',
930 '--no_auth',
931 '--bucket', 'chromium-luci',
932 '-d', 'src/tools/luci-go/win64',
933 ],
934 },
935 {
936 'name': 'luci-go_mac',
937 'pattern': '.',
Henrik Kjellander6b269752017-10-09 13:00:41 +0200938 'condition': 'host_os == "mac"',
kjellander24d812d2016-11-22 07:02:11 -0800939 'action': [ 'download_from_google_storage',
940 '--no_resume',
941 '--platform=darwin',
942 '--no_auth',
943 '--bucket', 'chromium-luci',
944 '-d', 'src/tools/luci-go/mac64',
945 ],
946 },
947 {
948 'name': 'luci-go_linux',
949 'pattern': '.',
Henrik Kjellander6b269752017-10-09 13:00:41 +0200950 'condition': 'host_os == "linux"',
kjellander24d812d2016-11-22 07:02:11 -0800951 'action': [ 'download_from_google_storage',
952 '--no_resume',
953 '--platform=linux*',
954 '--no_auth',
955 '--bucket', 'chromium-luci',
956 '-d', 'src/tools/luci-go/linux64',
957 ],
958 },
Henrik Kjellander55dad1b2017-05-11 12:00:53 +0200959 # Pull the Syzygy binaries, used for optimization and instrumentation.
960 {
961 'name': 'syzygy-binaries',
962 'pattern': '.',
Henrik Kjellander6b269752017-10-09 13:00:41 +0200963 'condition': 'host_os == "win"',
Henrik Kjellander55dad1b2017-05-11 12:00:53 +0200964 'action': ['python',
965 'src/build/get_syzygy_binaries.py',
966 '--output-dir=src/third_party/syzygy/binaries',
967 '--revision=a8456d9248a126881dcfb8707ca7dcdae56e1ac7',
968 '--overwrite',
969 ],
970 },
kjellander24d812d2016-11-22 07:02:11 -0800971 {
Mirko Bonadeicb2bc112017-10-10 13:28:18 +0200972 'name': 'msan_chained_origins',
973 'pattern': '.',
974 'condition': 'checkout_instrumented_libraries',
975 'action': [ 'python',
976 'src/third_party/depot_tools/download_from_google_storage.py',
977 "--no_resume",
978 "--no_auth",
979 "--bucket", "chromium-instrumented-libraries",
980 "-s", "src/third_party/instrumented_libraries/binaries/msan-chained-origins-trusty.tgz.sha1",
981 ],
982 },
983 {
984 'name': 'msan_no_origins',
985 'pattern': '.',
986 'condition': 'checkout_instrumented_libraries',
987 'action': [ 'python',
988 'src/third_party/depot_tools/download_from_google_storage.py',
989 "--no_resume",
990 "--no_auth",
991 "--bucket", "chromium-instrumented-libraries",
992 "-s", "src/third_party/instrumented_libraries/binaries/msan-no-origins-trusty.tgz.sha1",
993 ],
kjellander24d812d2016-11-22 07:02:11 -0800994 },
995 {
kjellander@webrtc.org80174582013-11-04 12:07:57 +0000996 # Download test resources, i.e. video and audio files from Google Storage.
kjellander@webrtc.org8e5c8142014-12-03 07:11:44 +0000997 'pattern': '.',
998 'action': ['download_from_google_storage',
999 '--directory',
1000 '--recursive',
1001 '--num_threads=10',
1002 '--no_auth',
kjellander4ff818e2015-12-18 12:29:28 -08001003 '--quiet',
kjellander@webrtc.org8e5c8142014-12-03 07:11:44 +00001004 '--bucket', 'chromium-webrtc-resources',
1005 'src/resources'],
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +00001006 },
Henrik Kjellander5a17ea92017-10-09 13:14:23 +02001007 {
1008 # This downloads SDK extras and puts them in the
1009 # third_party/android_tools/sdk/extras directory.
1010 'name': 'sdkextras',
1011 'pattern': '.',
1012 'condition': 'checkout_android',
1013 # When adding a new sdk extras package to download, add the package
1014 # directory and zip file to .gitignore in third_party/android_tools.
1015 'action': ['python',
1016 'src/build/android/play_services/update.py',
1017 'download'
1018 ],
1019 },
andrew@webrtc.org4ce52bb2012-07-31 21:54:13 +00001020]
kjellander200028f2017-08-17 09:54:12 -07001021
kjellander24d812d2016-11-22 07:02:11 -08001022recursedeps = [
1023 # buildtools provides clang_format, libc++, and libc++abi.
1024 'src/buildtools',
1025 # android_tools manages the NDK.
1026 'src/third_party/android_tools',
1027]
Mirko Bonadeibb547202017-09-15 06:15:48 +02001028
1029# Define rules for which include paths are allowed in our source.
1030include_rules = [
1031 # Base is only used to build Android APK tests and may not be referenced by
1032 # WebRTC production code.
1033 "-base",
1034 "-chromium",
1035 "+external/webrtc/webrtc", # Android platform build.
Mirko Bonadeibb547202017-09-15 06:15:48 +02001036 "+libyuv",
Patrik Höglund5991ac92018-05-21 15:54:42 +02001037
1038 # These should eventually move out of here.
Mirko Bonadei92ea95e2017-09-15 06:47:31 +02001039 "+common_types.h",
Mirko Bonadeibb547202017-09-15 06:15:48 +02001040
1041 "+WebRTC",
Mirko Bonadei92ea95e2017-09-15 06:47:31 +02001042 "+api",
1043 "+modules/include",
1044 "+rtc_base",
1045 "+test",
1046 "+rtc_tools",
Danil Chapovalov9dce71b2018-06-11 07:48:31 +00001047
1048 # Abseil whitelist.
philipelf8d81d32018-08-01 17:13:08 +02001049 "+absl/container/inlined_vector.h",
Karl Wiberg4c77dcd2018-06-29 14:34:50 +02001050 "+absl/memory/memory.h",
Danil Chapovalov9dce71b2018-06-11 07:48:31 +00001051 "+absl/types/optional.h",
Danil Chapovalovfb8e7ef2018-06-26 10:44:13 +02001052 "+absl/types/variant.h",
Mirko Bonadeibb547202017-09-15 06:15:48 +02001053]