b1e81581661892a013c9a60fde35b81c903181b9
[platform/framework/web/chromium-efl.git] / DEPS
1 # This file is used to manage the dependencies of the Chromium src repo. It is
2 # used by gclient to determine what version of each dependency to check out, and
3 # where.
4 #
5 # For more information, please refer to the official documentation:
6 #   https://sites.google.com/a/chromium.org/dev/developers/how-tos/get-the-code
7 #
8 # When adding a new dependency, please update the top-level .gitignore file
9 # to list the dependency's destination directory.
10 #
11 # -----------------------------------------------------------------------------
12 # Rolling deps
13 # -----------------------------------------------------------------------------
14 # All repositories in this file are git-based, using Chromium git mirrors where
15 # necessary (e.g., a git mirror is used when the source project is SVN-based).
16 # To update the revision that Chromium pulls for a given dependency:
17 #
18 #  # Create and switch to a new branch
19 #  git new-branch depsroll
20 #  # Run roll-dep (provided by depot_tools) giving the dep's path and optionally
21 #  # a regex that will match the line in this file that contains the current
22 #  # revision. The script ALWAYS rolls the dependency to the latest revision
23 #  # in origin/master. The path for the dep should start with src/.
24 #  roll-dep src/third_party/foo_package/src foo_package.git
25 #  # You should now have a modified DEPS file; commit and upload as normal
26 #  git commit -a
27 #  git cl upload
28
29 gclient_gn_args_file = 'src/build/config/gclient_args.gni'
30 gclient_gn_args = [
31   'build_with_chromium',
32   'checkout_android',
33   'checkout_android_native_support',
34   'checkout_libaom',
35   'checkout_nacl',
36   'checkout_oculus_sdk',
37 ]
38
39
40 vars = {
41   "buildspec_platforms": "all",
42   # Variable that can be used to support multiple build scenarios, like having
43   # Chromium specific targets in a client project's GN file or sync dependencies
44   # conditionally etc.
45   'build_with_chromium': True,
46
47   # By default, we should check out everything needed to run on the main
48   # chromium waterfalls. This var can be also be set to "small", in order
49   # to skip things are not strictly needed to build chromium for development
50   # purposes.
51   'checkout_configuration': 'default',
52
53   # Pull in Android native toolchain dependencies for Chrome OS too, so we can
54   # build ARC++ support libraries.
55   'checkout_android_native_support': 'checkout_android or checkout_chromeos',
56
57   # By default, do not check out android sdk sources. This can be overridden
58   # e.g. with custom_vars.
59   'checkout_android_sdk_sources': False,
60
61   # Check out and download nacl by default. This can be disabled e.g. with
62   # custom_vars.
63   'checkout_nacl': True,
64
65   # By default, do not check out src-internal. This can be overridden e.g. with
66   # custom_vars.
67   'checkout_src_internal': False,
68
69   # Fetch the additional packages and files needed to run all of the
70   # telemetry tests. This is false by default as some stuff is only
71   # privately accessible.
72   'checkout_telemetry_dependencies': False,
73
74   # libaom provides support for AV1 but the bitstream is not frozen.
75   'checkout_libaom': True,
76
77   # By default do not check out the Oculus SDK. Only available for Googlers.
78   'checkout_oculus_sdk' : 'checkout_src_internal and checkout_win',
79
80   # TODO(dpranke): change to != "small" once != is supported.
81   'checkout_traffic_annotation_tools': 'checkout_configuration == "default"',
82   'checkout_instrumented_libraries': 'checkout_linux and checkout_configuration == "default"',
83
84   # Default to the empty board. Desktop Chrome OS builds don't need cros SDK
85   # dependencies. Other Chrome OS builds should always define this explicitly.
86   'cros_board': '',
87   # Surround the board var in quotes so gclient doesn't try parsing the string
88   # as an expression.
89   'cros_download_vm': '"{cros_board}" == "amd64-generic"',
90
91   # ANGLE's deps are relative to the angle_root variable.
92   'angle_root': 'src/third_party/angle',
93
94   'android_git': 'https://android.googlesource.com',
95   'aomedia_git': 'https://aomedia.googlesource.com',
96   'chromium_git': 'https://chromium.googlesource.com',
97   'swiftshader_git': 'https://swiftshader.googlesource.com',
98   'pdfium_git': 'https://pdfium.googlesource.com',
99   'boringssl_git': 'https://boringssl.googlesource.com',
100   'skia_git': 'https://skia.googlesource.com',
101   'webrtc_git': 'https://webrtc.googlesource.com',
102   # Three lines of non-changing comments so that
103   # the commit queue can handle CLs rolling sfntly
104   # and whatever else without interference from each other.
105   'sfntly_revision': '2804148152d27fa2e6ec97a32bc2d56318e51142',
106   # Three lines of non-changing comments so that
107   # the commit queue can handle CLs rolling Skia
108   # and whatever else without interference from each other.
109   'skia_revision': '0b0043392bfdf13f74ed64ba729f9c1e0fbae94f',
110   # Three lines of non-changing comments so that
111   # the commit queue can handle CLs rolling V8
112   # and whatever else without interference from each other.
113   'v8_revision': 'd7b61abe7b48928aed739f02bf7695732d359e7e',
114   # Three lines of non-changing comments so that
115   # the commit queue can handle CLs rolling swarming_client
116   # and whatever else without interference from each other.
117   'swarming_revision': '9a518d097dca20b7b00ce3bdfc5d418ccc79893a',
118   # Three lines of non-changing comments so that
119   # the commit queue can handle CLs rolling ANGLE
120   # and whatever else without interference from each other.
121   'angle_revision': '0be37b44499672aa5f86d50f7087ff6e2de1c4fd',
122   # Three lines of non-changing comments so that
123   # the commit queue can handle CLs rolling build tools
124   # and whatever else without interference from each other.
125   'buildtools_revision': '0dd5c6f980d22be96b728155249df2da355989d9',
126   # Three lines of non-changing comments so that
127   # the commit queue can handle CLs rolling SwiftShader
128   # and whatever else without interference from each other.
129   'swiftshader_revision': '8fb6f6a129f5ed809db7ba3a8bc862dd5e7bc75d',
130   # Three lines of non-changing comments so that
131   # the commit queue can handle CLs rolling PDFium
132   # and whatever else without interference from each other.
133   'pdfium_revision': 'abf9829bc4112e5d25e4d0e2f57341fac22daccd',
134   # Three lines of non-changing comments so that
135   # the commit queue can handle CLs rolling openmax_dl
136   # and whatever else without interference from each other.
137   'openmax_dl_revision': '59265e0e9105ec94e473b59c5c7ca1941e4dbd83',
138   # Three lines of non-changing comments so that
139   # the commit queue can handle CLs rolling BoringSSL
140   # and whatever else without interference from each other.
141   'boringssl_revision': 'c7db3232c397aa3feb1d474d63a1c4dd674b6349',
142   # Three lines of non-changing comments so that
143   # the commit queue can handle CLs rolling google-toolbox-for-mac
144   # and whatever else without interference from each other.
145   'google_toolbox_for_mac_revision': '3c3111d3aefe907c8c0f0e933029608d96ceefeb',
146   # Three lines of non-changing comments so that
147   # the commit queue can handle CLs rolling lighttpd
148   # and whatever else without interference from each other.
149   'lighttpd_revision': '9dfa55d15937a688a92cbf2b7a8621b0927d06eb',
150   # Three lines of non-changing comments so that
151   # the commit queue can handle CLs rolling lss
152   # and whatever else without interference from each other.
153   'lss_revision': 'e6527b0cd469e3ff5764785dadcb39bf7d787154',
154   # Three lines of non-changing comments so that
155   # the commit queue can handle CLs rolling NaCl
156   # and whatever else without interference from each other.
157   'nacl_revision': 'aebc9e5205dcaad5d5954a18abc532316a954644',
158   # Three lines of non-changing comments so that
159   # the commit queue can handle CLs rolling freetype
160   # and whatever else without interference from each other.
161   'freetype_revision': 'b532d7ce708cb5ca9bf88abaa2eb213ddcf9babb',
162   # Three lines of non-changing comments so that
163   # the commit queue can handle CLs rolling HarfBuzz
164   # and whatever else without interference from each other.
165   'harfbuzz_revision': '2b76767bf572364d3d647cdd139f2044a7ad06b2',
166   # Three lines of non-changing comments so that
167   # the commit queue can handle CLs rolling catapult
168   # and whatever else without interference from each other.
169   'catapult_revision': '0ddcb32d165effb5e0663289aa32c5a35974a7ef',
170   # Three lines of non-changing comments so that
171   # the commit queue can handle CLs rolling libFuzzer
172   # and whatever else without interference from each other.
173   'libfuzzer_revision': '2f72894d302e6e9af76c7d5e712e043558115602',
174   # Three lines of non-changing comments so that
175   # the commit queue can handle CLs rolling devtools-node-modules
176   # and whatever else without interference from each other.
177   'devtools_node_modules_revision': '5f7cd2497d7a643125c3b6eb910d99ba28be6899',
178   # Three lines of non-changing comments so that
179   # the commit queue can handle CLs rolling libprotobuf-mutator
180   # and whatever else without interference from each other.
181   'libprotobuf-mutator': '3fc43a01d721ef1bacfefed170bc22abf1b8b051',
182   # Three lines of non-changing comments so that
183   # the commit queue can handle CLs rolling feed
184   # and whatever else without interference from each other.
185   'feed_revision': '3da352fb7e6e3de358373f017dc6e23dfba60132',
186   # Three lines of non-changing comments so that
187   # the commit queue can handle CLs rolling android_sdk_build-tools_version
188   # and whatever else without interference from each other.
189   'android_sdk_build-tools_version': 'version:27.0.3-cr0',
190   # Three lines of non-changing comments so that
191   # the commit queue can handle CLs rolling android_sdk_emulator_version
192   # and whatever else without interference from each other.
193   'android_sdk_emulator_version': 'version:27.1.12-cr0',
194   # Three lines of non-changing comments so that
195   # the commit queue can handle CLs rolling android_sdk_extras_version
196   # and whatever else without interference from each other.
197   'android_sdk_extras_version': 'version:47.0.0-cr0',
198   # Three lines of non-changing comments so that
199   # the commit queue can handle CLs rolling android_sdk_platform-tools_version
200   # and whatever else without interference from each other.
201   'android_sdk_platform-tools_version': 'version:27.0.1-cr0',
202   # Three lines of non-changing comments so that
203   # the commit queue can handle CLs rolling android_sdk_platforms_version
204   # and whatever else without interference from each other.
205   'android_sdk_platforms_version': 'version:android-27-cr0',
206   # Three lines of non-changing comments so that
207   # the commit queue can handle CLs rolling android_sdk_sources_version
208   # and whatever else without interference from each other.
209   'android_sdk_sources_version': 'version:android-27-cr1',
210   # Three lines of non-changing comments so that
211   # the commit queue can handle CLs rolling android_sdk_tools_version
212   # and whatever else without interference from each other.
213   'android_sdk_tools_version': 'version:26.1.1-cr9',
214 }
215
216 # Only these hosts are allowed for dependencies in this DEPS file.
217 # If you need to add a new host, contact chrome infrastracture team.
218 allowed_hosts = [
219   'android.googlesource.com',
220   'aomedia.googlesource.com',
221   'boringssl.googlesource.com',
222   'chrome-infra-packages.appspot.com',
223   'chrome-internal.googlesource.com',
224   'chromium.googlesource.com',
225   'pdfium.googlesource.com',
226   'skia.googlesource.com',
227   'swiftshader.googlesource.com',
228   'webrtc.googlesource.com',
229 ]
230
231 deps = {
232   'src/chrome/browser/resources/media_router/extension/src':
233     Var('chromium_git') + '/media_router.git' + '@' + '9f9f41bdd831c0bd84eea252634ee52f769e9977',
234
235   'src/buildtools':
236     Var('chromium_git') + '/chromium/buildtools.git' + '@' +  Var('buildtools_revision'),
237
238   'src/chrome/installer/mac/third_party/xz/xz': {
239       'url': Var('chromium_git') + '/chromium/deps/xz.git' + '@' + 'eecaf55632ca72e90eb2641376bce7cdbc7284f7',
240       'condition': 'checkout_mac',
241   },
242
243   'src/chrome/test/data/perf/canvas_bench':
244     Var('chromium_git') + '/chromium/canvas_bench.git' + '@' + 'a7b40ea5ae0239517d78845a5fc9b12976bfc732',
245
246   'src/chrome/test/data/perf/frame_rate/content':
247     Var('chromium_git') + '/chromium/frame_rate/content.git' + '@' + 'c10272c88463efeef6bb19c9ec07c42bc8fe22b9',
248
249   'src/chrome/test/data/xr/webvr_info':
250     Var('chromium_git') + '/external/github.com/toji/webvr.info.git' + '@' + 'c58ae99b9ff9e2aa4c524633519570bf33536248',
251
252   'src/chrome/test/data/xr/webxr_samples':
253     Var('chromium_git') + '/external/github.com/immersive-web/webxr-samples.git' + '@' + 'cf02f19c4ff6894705a9407722ab52551e010c60',
254
255   'src/ios/third_party/earl_grey/src': {
256       'url': Var('chromium_git') + '/external/github.com/google/EarlGrey.git' + '@' + '451b6497352d0731e9827a338f32024e564078c6',
257       'condition': 'checkout_ios',
258   },
259
260   'src/ios/third_party/firebase': {
261       'packages': [
262         {
263           'package': 'chromium/third_party/firebase_ios',
264           'version': 'version:5.0.1',
265         },
266       ],
267       'condition': 'checkout_ios',
268       'dep_type': 'cipd',
269   },
270
271   'src/ios/third_party/fishhook/src': {
272       'url': Var('chromium_git') + '/external/github.com/facebook/fishhook.git' + '@' + 'd172d5247aa590c25d0b1885448bae76036ea22c',
273       'condition': 'checkout_ios',
274   },
275
276   'src/ios/third_party/gcdwebserver/src': {
277       'url': Var('chromium_git') + '/external/github.com/swisspol/GCDWebServer.git' + '@' + '43555c66627f6ed44817855a0f6d465f559d30e0',
278       'condition': 'checkout_ios',
279   },
280
281   'src/ios/third_party/material_components_ios/src': {
282       'url': Var('chromium_git') + '/external/github.com/material-components/material-components-ios.git' + '@' + '89ba326620341ca7950621cf24da78864d6ee895',
283       'condition': 'checkout_ios',
284   },
285
286   'src/ios/third_party/material_font_disk_loader_ios/src': {
287       'url': Var('chromium_git') + '/external/github.com/material-foundation/material-font-disk-loader-ios.git' + '@' + '8e30188777b016182658fbaa0a4a020a48183224',
288       'condition': 'checkout_ios',
289   },
290
291   'src/ios/third_party/material_internationalization_ios/src': {
292       'url': Var('chromium_git') + '/external/github.com/material-foundation/material-internationalization-ios.git' + '@' + '8f28a55c7f35b95a587bba01a8467ea470647873',
293       'condition': 'checkout_ios',
294   },
295
296   'src/ios/third_party/material_roboto_font_loader_ios/src': {
297       'url': Var('chromium_git') + '/external/github.com/material-foundation/material-roboto-font-loader-ios.git' + '@' + '4aa51e906e5671c71d24e991f1f10d782a58409f',
298       'condition': 'checkout_ios',
299   },
300
301   'src/ios/third_party/material_sprited_animation_view_ios/src': {
302       'url': Var('chromium_git') + '/external/github.com/material-foundation/material-sprited-animation-view-ios.git' + '@' + 'c6e16d06bdafd95540c62b3402d9414692fbca81',
303       'condition': 'checkout_ios',
304   },
305
306   'src/ios/third_party/material_text_accessibility_ios/src': {
307       'url': Var('chromium_git') + '/external/github.com/material-foundation/material-text-accessibility-ios.git' + '@' + '92c9e56f4e07622084b3d931247db974fec55dde',
308       'condition': 'checkout_ios',
309   },
310
311   'src/ios/third_party/motion_interchange_objc/src': {
312       'url': Var('chromium_git') + '/external/github.com/material-motion/motion-interchange-objc.git' + '@' + '9be1e8572f8debb8dd9033ce9bd6ae56dc7ae1ab',
313       'condition': 'checkout_ios',
314   },
315
316   'src/ios/third_party/motion_animator_objc/src': {
317       'url': Var('chromium_git') + '/external/github.com/material-motion/motion-animator-objc.git' + '@' + '5df831026445004b2fc0f6a42f8b8f33af46512b',
318       'condition': 'checkout_ios',
319   },
320
321   'src/ios/third_party/motion_transitioning_objc/src': {
322       'url': Var('chromium_git') + '/external/github.com/material-motion/motion-transitioning-objc.git' + '@' + '994fd02d1de3d80ed284f0c1a4b5f459b8b051a6',
323       'condition': 'checkout_ios',
324   },
325
326   'src/ios/third_party/ochamcrest/src': {
327       'url': Var('chromium_git') + '/external/github.com/hamcrest/OCHamcrest.git' + '@' + '92d9c14d13bb864255e65c09383564653896916b',
328       'condition': 'checkout_ios',
329   },
330
331   'src/media/cdm/api':
332     Var('chromium_git') + '/chromium/cdm.git' + '@' + '50431fd832bbf389ee839e3f8cb68e82606f0513',
333
334   'src/native_client': {
335       'url': Var('chromium_git') + '/native_client/src/native_client.git' + '@' + Var('nacl_revision'),
336       'condition': 'checkout_nacl',
337   },
338
339   'src/tools/luci-go': {
340       'packages': [
341         {
342           'package': 'infra/tools/luci/isolate/${{platform}}',
343           'version': 'git_revision:8b15ba47cbaf07a56f93326e39f0c8e5069c19e8',
344         },
345       ],
346       'dep_type': 'cipd',
347   },
348
349   'src/third_party/SPIRV-Tools/src':
350     Var('chromium_git') + '/external/github.com/KhronosGroup/SPIRV-Tools.git' + '@' + '9166854ac93ef81b026e943ccd230fed6c8b8d3c',
351
352   'src/third_party/accessibility_test_framework': {
353       'packages': [
354           {
355               'package': 'chromium/third_party/accessibility-test-framework',
356               'version': 'version:2.1-cr0',
357           },
358       ],
359       'condition': 'checkout_android',
360       'dep_type': 'cipd',
361   },
362
363   'src/third_party/android_protobuf/src': {
364       'url': Var('android_git') + '/platform/external/protobuf.git' + '@' + '7fca48d8ce97f7ba3ab8eea5c472f1ad3711762f',
365       'condition': 'checkout_android',
366   },
367
368   'src/third_party/android_ndk': {
369       'url': Var('chromium_git') + '/android_ndk.git' + '@' + '5cd86312e794bdf542a3685c6f10cbb96072990b',
370       'condition': 'checkout_android_native_support',
371   },
372
373   'src/third_party/android_support_test_runner': {
374       'packages': [
375           {
376               'package': 'chromium/third_party/android_support_test_runner',
377               'version': 'version:0.5-cr0',
378           },
379       ],
380       'condition': 'checkout_android',
381       'dep_type': 'cipd',
382   },
383
384   'src/third_party/android_system_sdk': {
385       'packages': [
386           {
387               'package': 'chromium/third_party/android_system_sdk',
388               'version': 'version:28-dp3-cr0',
389           },
390       ],
391       'condition': 'checkout_android',
392       'dep_type': 'cipd',
393   },
394
395   'src/third_party/android_tools': {
396       'url': Var('chromium_git') + '/android_tools.git' + '@' + '130499e25286f4d56acafa252fee09f3cc595c49',
397       'condition': 'checkout_android_native_support',
398   },
399
400   'src/third_party/android_build_tools/aapt2': {
401       'packages': [
402           {
403               'package': 'chromium/third_party/android_tools_aapt2',
404               'version': 'version:3.2.0-alpha18-4804415-cr0',
405           },
406       ],
407       'condition': 'checkout_android',
408       'dep_type': 'cipd',
409   },
410
411   'src/third_party/android_build_tools/bundletool': {
412       'packages': [
413           {
414        'package': 'chromium/third_party/android_tools_bundletool',
415        'version': 'version:0.5.0-cr0',
416    },
417       ],
418       'condition': 'checkout_android',
419       'dep_type': 'cipd',
420   },
421
422   'src/third_party/android_sdk/public': {
423       'packages': [
424           {
425               'package': 'chromium/third_party/android_sdk/public/build-tools',
426               'version': Var('android_sdk_build-tools_version'),
427           },
428           {
429               'package': 'chromium/third_party/android_sdk/public/emulator',
430               'version': Var('android_sdk_emulator_version'),
431           },
432           {
433               'package': 'chromium/third_party/android_sdk/public/extras',
434               'version': Var('android_sdk_extras_version'),
435           },
436           {
437               'package': 'chromium/third_party/android_sdk/public/platform-tools',
438               'version': Var('android_sdk_platform-tools_version'),
439           },
440           {
441               'package': 'chromium/third_party/android_sdk/public/platforms',
442               'version': Var('android_sdk_platforms_version'),
443           },
444           {
445               'package': 'chromium/third_party/android_sdk/public/tools',
446               'version': Var('android_sdk_tools_version'),
447           },
448       ],
449       'condition': 'checkout_android',
450       'dep_type': 'cipd',
451   },
452
453   'src/third_party/android_sdk/sources': {
454       'packages': [
455           {
456               'package': 'chromium/third_party/android_sdk/sources',
457               'version': Var('android_sdk_sources_version'),
458           },
459       ],
460       'condition': 'checkout_android_sdk_sources',
461       'dep_type': 'cipd',
462   },
463
464   'src/third_party/angle':
465     Var('chromium_git') + '/angle/angle.git' + '@' +  Var('angle_revision'),
466
467   'src/third_party/apache-portable-runtime/src': {
468       'url': Var('chromium_git') + '/external/apache-portable-runtime.git' + '@' + 'c3f11fcd86b42922834cae91103cf068246c6bb6',
469       'condition': 'checkout_android',
470   },
471
472   'src/third_party/apk-patch-size-estimator': {
473       'packages': [
474           {
475               'package': 'chromium/third_party/apk-patch-size-estimator',
476               'version': 'version:0.2-cr0',
477           },
478       ],
479       'condition': 'checkout_android',
480       'dep_type': 'cipd',
481   },
482
483   'src/third_party/auto/src': {
484       'url': Var('chromium_git') + '/external/github.com/google/auto.git' + '@' + '8a81a858ae7b78a1aef71ac3905fade0bbd64e82',
485       'condition': 'checkout_android',
486   },
487
488   'src/third_party/bazel': {
489       'packages': [
490           {
491               'package': 'chromium/third_party/bazel',
492               'version': 'version:0.10.0',
493           },
494       ],
495       'condition': 'checkout_android',
496       'dep_type': 'cipd',
497   },
498
499   'src/third_party/bidichecker':
500     Var('chromium_git') + '/external/bidichecker/lib.git' + '@' + '97f2aa645b74c28c57eca56992235c79850fa9e0',
501
502   'src/third_party/bison': {
503       'url': Var('chromium_git') + '/chromium/deps/bison.git' + '@' + '083c9a45e4affdd5464ee2b224c2df649c6e26c3',
504       'condition': 'checkout_win',
505   },
506
507   'src/third_party/boringssl/src':
508     Var('boringssl_git') + '/boringssl.git' + '@' +  Var('boringssl_revision'),
509
510   'src/third_party/bouncycastle': {
511       'packages': [
512           {
513               'package': 'chromium/third_party/bouncycastle',
514               'version': 'version:1.46-cr0',
515           },
516       ],
517       'condition': 'checkout_android',
518       'dep_type': 'cipd',
519   },
520
521   'src/third_party/breakpad/breakpad':
522     Var('chromium_git') + '/breakpad/breakpad.git' + '@' + '79ba6a494fb2097b39f76fe6a4b4b4f407e32a02',
523
524   'src/third_party/byte_buddy': {
525       'packages': [
526           {
527               'package': 'chromium/third_party/byte_buddy',
528               'version': 'version:1.8.8-cr0',
529           },
530       ],
531       'condition': 'checkout_android',
532       'dep_type': 'cipd',
533   },
534
535   'src/third_party/catapult':
536     Var('chromium_git') + '/catapult.git' + '@' + Var('catapult_revision'),
537
538   'src/third_party/ced/src':
539     Var('chromium_git') + '/external/github.com/google/compact_enc_det.git' + '@' + '94c367a1fe3a13207f4b22604fcfd1d9f9ddf6d9',
540
541   # Build tools for Chrome OS. Note: This depends on third_party/pyelftools.
542   'src/third_party/chromite': {
543       'url': Var('chromium_git') + '/chromiumos/chromite.git' + '@' + 'e34766b47b67724b9b4c71e7463eca17ad42abc1',
544       'condition': 'checkout_linux',
545   },
546
547   'src/third_party/cld_3/src':
548     Var('chromium_git') + '/external/github.com/google/cld_3.git' + '@' + '484afe9ba7438d078e60b3a26e7fb590213c0e17',
549
550   'src/third_party/colorama/src':
551     Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',
552
553   'src/third_party/crc32c/src':
554     Var('chromium_git') + '/external/github.com/google/crc32c.git' + '@' + 'f8925d027884dde9a8f567f1fa230b92048f6132',
555
556   # For Linux and Chromium OS.
557   'src/third_party/cros_system_api': {
558       'url': Var('chromium_git') + '/chromiumos/platform/system_api.git' + '@' + 'e0781f23b9e8f99f213b991bfb2e6bd2b50de82d',
559       'condition': 'checkout_linux',
560   },
561
562   'src/third_party/custom_tabs_client/src': {
563       'url': Var('chromium_git') + '/custom-tabs-client.git' + '@' + 'bd0bd8af3755f0941c766403c4603a1d8d2ef0f4',
564       'condition': 'checkout_android',
565   },
566
567   'src/third_party/depot_tools':
568     Var('chromium_git') + '/chromium/tools/depot_tools.git' + '@' + '5deb1755347167bfe726d33e3bc94cfb81896315',
569
570   'src/third_party/devtools-node-modules':
571     Var('chromium_git') + '/external/github.com/ChromeDevTools/devtools-node-modules' + '@' + Var('devtools_node_modules_revision'),
572
573   'src/third_party/dom_distiller_js/dist':
574     Var('chromium_git') + '/chromium/dom-distiller/dist.git' + '@' + '60b46718e28f553ab57e3d2bbda5b3b41456f417',
575
576   'src/third_party/elfutils/src': {
577       'url': Var('chromium_git') + '/external/elfutils.git' + '@' + '249673729a7e5dbd5de4f3760bdcaa3d23d154d7',
578       'condition': 'checkout_android_native_support',
579   },
580
581   'src/third_party/errorprone/lib': {
582       'url': Var('chromium_git') + '/chromium/third_party/errorprone.git' + '@' + '980d49e839aa4984015efed34b0134d4b2c9b6d7',
583       'condition': 'checkout_android',
584   },
585
586   'src/third_party/espresso': {
587       'packages': [
588           {
589               'package': 'chromium/third_party/espresso',
590               'version': 'version:2.2.1-cr0',
591           },
592       ],
593       'condition': 'checkout_android',
594       'dep_type': 'cipd',
595   },
596
597   'src/third_party/feed/src': {
598       'url': Var('chromium_git') + '/feed' + '@' + Var('feed_revision'),
599       'condition': 'checkout_android',
600   },
601
602   'src/third_party/ffmpeg':
603     Var('chromium_git') + '/chromium/third_party/ffmpeg.git' + '@' + 'de23348fef6fd063b066e9652005973f86ed52ff',
604
605   'src/third_party/flac':
606     Var('chromium_git') + '/chromium/deps/flac.git' + '@' + 'af862024c8c8fa0ae07ced05e89013d881b00596',
607
608   'src/third_party/flatbuffers/src':
609     Var('chromium_git') + '/external/github.com/google/flatbuffers.git' + '@' + '01c50d57a67a52ee3cddd81b54d4647e9123a290',
610
611   # Used for embedded builds. CrOS & Linux use the system version.
612   'src/third_party/fontconfig/src': {
613       'url': Var('chromium_git') + '/external/fontconfig.git' + '@' + 'd1f48f11d5dffa1d954a1b0abe44ce9e4bfc3709',
614       'condition': 'checkout_linux',
615   },
616
617   'src/third_party/freetype/src':
618     Var('chromium_git') + '/chromium/src/third_party/freetype2.git' + '@' + Var('freetype_revision'),
619
620   'src/third_party/harfbuzz-ng/src':
621     Var('chromium_git') + '/external/github.com/harfbuzz/harfbuzz.git' + '@' + Var('harfbuzz_revision'),
622
623   # Chrome OS touchpad gestures library.
624   'src/third_party/gestures/gestures': {
625       'url': Var('chromium_git') + '/chromiumos/platform/gestures.git' + '@' + '74f55100df966280d305d5d5ada824605f875839',
626       'condition': 'checkout_linux',
627   },
628
629   'src/third_party/glslang/src':
630     Var('chromium_git') + '/external/github.com/google/glslang.git' + '@' + 'ec1476b7060306fd9109faf7a4c70a20ea3b538c',
631
632   'src/third_party/google_toolbox_for_mac/src': {
633       'url': Var('chromium_git') + '/external/github.com/google/google-toolbox-for-mac.git' + '@' + Var('google_toolbox_for_mac_revision'),
634       'condition': 'checkout_ios or checkout_mac',
635   },
636
637   'src/third_party/google-truth': {
638       'packages': [
639           {
640               'package': 'chromium/third_party/google-truth',
641               'version': 'version:0.40',
642           },
643       ],
644       'condition': 'checkout_android',
645       'dep_type': 'cipd',
646   },
647
648   'src/third_party/googletest/src':
649     Var('chromium_git') + '/external/github.com/google/googletest.git' + '@' + 'ce468a17c434e4e79724396ee1b51d86bfc8a88b',
650
651   # GNU binutils assembler for x86-32.
652   'src/third_party/gnu_binutils': {
653       'url': Var('chromium_git') + '/native_client/deps/third_party/gnu_binutils.git' + '@' + 'f4003433b61b25666565690caf3d7a7a1a4ec436',
654       'condition': 'checkout_nacl and checkout_win',
655   },
656
657   'src/third_party/gperf': {
658       'url': Var('chromium_git') + '/chromium/deps/gperf.git' + '@' + 'd892d79f64f9449770443fb06da49b5a1e5d33c1',
659       'condition': 'checkout_win',
660   },
661
662   'src/third_party/gson': {
663       'packages': [
664           {
665               'package': 'chromium/third_party/gson',
666               'version': 'version:2.8.0-cr0',
667           },
668       ],
669       'condition': 'checkout_android',
670       'dep_type': 'cipd',
671   },
672
673   'src/third_party/guava': {
674       'packages': [
675           {
676               'package': 'chromium/third_party/guava',
677               'version': 'version:23.0-cr0',
678           },
679       ],
680       'condition': 'checkout_android',
681       'dep_type': 'cipd',
682   },
683
684   'src/third_party/gvr-android-sdk/src': {
685       'url': Var('chromium_git') + '/external/github.com/googlevr/gvr-android-sdk.git' + '@' + '233e7fe922a543e0bc55382d64cacd047307d0e7',
686       'condition': 'checkout_android',
687   },
688
689   'src/third_party/arcore-android-sdk/src': {
690       'url': Var('chromium_git') + '/external/github.com/google-ar/arcore-android-sdk.git' + '@' + '772bed8e2e1bc525a0d10441fa71168a9a87eb69',
691       'condition': 'checkout_android',
692   },
693
694   'src/third_party/hamcrest': {
695       'packages': [
696           {
697               'package': 'chromium/third_party/hamcrest',
698               'version': 'version:1.3-cr0',
699           },
700       ],
701       'condition': 'checkout_android',
702       'dep_type': 'cipd',
703   },
704
705   'src/third_party/hunspell_dictionaries':
706     Var('chromium_git') + '/chromium/deps/hunspell_dictionaries.git' + '@' + 'a9bac57ce6c9d390a52ebaad3259f5fdb871210e',
707
708   'src/third_party/icu':
709     Var('chromium_git') + '/chromium/deps/icu.git' + '@' + 'a9a2bd3ee4f1d313651c5272252aaf2a3e7ed529',
710
711   'src/third_party/icu4j': {
712       'packages': [
713           {
714               'package': 'chromium/third_party/icu4j',
715               'version': 'version:53.1-cr0',
716           },
717       ],
718       'condition': 'checkout_android',
719       'dep_type': 'cipd',
720   },
721
722   'src/third_party/intellij': {
723       'packages': [
724           {
725               'package': 'chromium/third_party/intellij',
726               'version': 'version:12.0-cr0',
727           },
728       ],
729       'condition': 'checkout_android',
730       'dep_type': 'cipd',
731   },
732
733   'src/third_party/javax_inject': {
734       'packages': [
735           {
736               'package': 'chromium/third_party/javax_inject',
737               'version': 'version:1-cr0',
738           },
739       ],
740       'condition': 'checkout_android',
741       'dep_type': 'cipd',
742   },
743
744   'src/third_party/jsoncpp/source':
745     Var('chromium_git') + '/external/github.com/open-source-parsers/jsoncpp.git' + '@' + 'f572e8e42e22cfcf5ab0aea26574f408943edfa4', # from svn 248
746
747   'src/third_party/jsr-305/src': {
748       'url': Var('chromium_git') + '/external/jsr-305.git' + '@' + '642c508235471f7220af6d5df2d3210e3bfc0919',
749       'condition': 'checkout_android',
750   },
751
752   'src/third_party/junit/src': {
753       'url': Var('chromium_git') + '/external/junit.git' + '@' + '64155f8a9babcfcf4263cf4d08253a1556e75481',
754       'condition': 'checkout_android',
755   },
756
757   'src/third_party/leakcanary/src': {
758       'url': Var('chromium_git') + '/external/github.com/square/leakcanary.git' + '@' + '608ded739e036a3aa69db47ac43777dcee506f8e',
759       'condition': 'checkout_android',
760   },
761
762   'src/third_party/leveldatabase/src':
763     Var('chromium_git') + '/external/leveldb.git' + '@' + '18683981505dc374ce29211c80a9552f8f2f4571',
764
765   'src/third_party/libFuzzer/src':
766     Var('chromium_git') + '/chromium/llvm-project/compiler-rt/lib/fuzzer.git' + '@' +  Var('libfuzzer_revision'),
767
768   'src/third_party/libaddressinput/src':
769     Var('chromium_git') + '/external/libaddressinput.git' + '@' + 'd955c63ec7048d59dffd20af25eeec23da878d27',
770
771   'src/third_party/libaom/source/libaom': {
772     'url': Var('aomedia_git') + '/aom.git' + '@' +  '369ab2088d3f20df1b653c970151d2c654167334',
773     'condition': 'checkout_libaom',
774   },
775
776   # Userspace interface to kernel DRM services.
777   'src/third_party/libdrm/src': {
778       'url': Var('chromium_git') + '/chromiumos/third_party/libdrm.git' + '@' + '0061b1f244574e615c415479725046ab2951f09a',
779       'condition': 'checkout_linux',
780   },
781
782   # The libevdev library (Chrome OS version).
783   'src/third_party/libevdev/src': {
784       'url': Var('chromium_git') + '/chromiumos/platform/libevdev.git' + '@' + '9f7a1961eb4726211e18abd147d5a11a4ea86744',
785       'condition': 'checkout_linux',
786   },
787
788   'src/third_party/libjpeg_turbo':
789     Var('chromium_git') + '/chromium/deps/libjpeg_turbo.git' + '@' + 'a1750dbc79a8792dde3d3f7d7d8ac28ba01ac9dd',
790
791   'src/third_party/liblouis/src': {
792       'url': Var('chromium_git') + '/external/liblouis-github.git' + '@' + '5f9c03f2a3478561deb6ae4798175094be8a26c2',
793       'condition': 'checkout_linux',
794   },
795
796   'src/third_party/libphonenumber/dist':
797     Var('chromium_git') + '/external/libphonenumber.git' + '@' + 'a4da30df63a097d67e3c429ead6790ad91d36cf4',
798
799   'src/third_party/libprotobuf-mutator/src':
800     Var('chromium_git') + '/external/github.com/google/libprotobuf-mutator.git' + '@' +  Var('libprotobuf-mutator'),
801
802   'src/third_party/libsrtp':
803     Var('chromium_git') + '/chromium/deps/libsrtp.git' + '@' + 'fc2345089a6b3c5aca9ecd2e1941871a78a13e9c',
804
805   # Android Explicit Synchronization.
806   'src/third_party/libsync/src': {
807       'url': Var('chromium_git') + '/aosp/platform/system/core/libsync.git' + '@' + 'f4f4387b6bf2387efbcfd1453af4892e8982faf6',
808       'condition': 'checkout_linux',
809   },
810
811   'src/third_party/libvpx/source/libvpx':
812     Var('chromium_git') + '/webm/libvpx.git' + '@' +  '2c45cd174a9582909ee2a7ba9cdb3feb917840cf',
813
814   'src/third_party/libwebm/source':
815     Var('chromium_git') + '/webm/libwebm.git' + '@' + '01c1d1d76f139345c442bfc8e61b4e1cba809059',
816
817   'src/third_party/libyuv':
818     Var('chromium_git') + '/libyuv/libyuv.git' + '@' + '55f5d91f11f929c4c59c32621c3d5457cca3ab0b',  # from r1714
819
820   'src/third_party/lighttpd': {
821       'url': Var('chromium_git') + '/chromium/deps/lighttpd.git' + '@' + Var('lighttpd_revision'),
822       'condition': 'checkout_mac or checkout_win',
823   },
824
825   'src/third_party/lss': {
826       'url': Var('chromium_git') + '/linux-syscall-support.git' + '@' + Var('lss_revision'),
827       'condition': 'checkout_android or checkout_linux',
828   },
829
830   'src/third_party/material_design_icons/src': {
831       'url': Var('chromium_git') + '/external/github.com/google/material-design-icons.git' + '@' +
832           '5ab428852e35dc177a8c37a2df9dc9ccf768c65a',
833       'condition': 'checkout_ios',
834   },
835
836   'src/third_party/mesa/src':
837     Var('chromium_git') + '/chromium/deps/mesa.git' + '@' + '9d9b0710470f581cb5485b02b6acd8415cc093e8',
838
839   # GNU binutils assembler for x86-64.
840   'src/third_party/mingw-w64/mingw/bin': {
841       'url': Var('chromium_git') + '/native_client/deps/third_party/mingw-w64/mingw/bin.git' + '@' + '3cc8b140b883a9fe4986d12cfd46c16a093d3527',
842       'condition': 'checkout_nacl and checkout_win',
843   },
844
845   # Graphics buffer allocator for Chrome OS.
846   'src/third_party/minigbm/src': {
847       'url': Var('chromium_git') + '/chromiumos/platform/minigbm.git' + '@' + '3cb5bbacc5c8a79105c868875222696f6b9d8296',
848       'condition': 'checkout_linux',
849   },
850
851   # Minizip library. Used on Chrome OS.
852   'src/third_party/minizip/src': {
853       'url': Var('chromium_git') + '/external/github.com/nmoinvaz/minizip' + '@' + '53a657318af1fccc4bac7ed230729302b2391d1d',
854       'condition': 'checkout_linux',
855   },
856
857   'src/third_party/mockito/src': {
858       'url': Var('chromium_git') + '/external/mockito/mockito.git' + '@' + '04a2a289a4222f80ad20717c25144981210d2eac',
859       'condition': 'checkout_android',
860   },
861
862   # Binaries for nacl sdk.
863   'src/third_party/nacl_sdk_binaries': {
864       'url': Var('chromium_git') + '/chromium/deps/nacl_sdk_binaries.git' + '@' + '759dfca03bdc774da7ecbf974f6e2b84f43699a5',
865       'condition': 'checkout_nacl and checkout_win',
866   },
867
868   'src/third_party/netty-tcnative/src': {
869       'url': Var('chromium_git') + '/external/netty-tcnative.git' + '@' + '5b46a8ef4a39c39c576fcdaaf718b585d75df463',
870       'condition': 'checkout_android',
871   },
872
873   'src/third_party/netty4/src': {
874       'url': Var('chromium_git') + '/external/netty4.git' + '@' + 'cc4420b13bb4eeea5b1cf4f93b2755644cd3b120',
875       'condition': 'checkout_android',
876   },
877
878   'src/third_party/objenesis': {
879       'packages': [
880           {
881               'package': 'chromium/third_party/objenesis',
882               'version': 'version:2.4-cr0',
883           },
884       ],
885       'condition': 'checkout_android',
886       'dep_type': 'cipd',
887   },
888
889   'src/third_party/openh264/src':
890     Var('chromium_git') + '/external/github.com/cisco/openh264' + '@' + '3b51f16a4a41df729f8d647f03e48c5f272911ff',
891
892   'src/third_party/openmax_dl':
893     Var('webrtc_git') + '/deps/third_party/openmax.git' + '@' +  Var('openmax_dl_revision'),
894
895   'src/third_party/ow2_asm': {
896       'packages': [
897           {
898               'package': 'chromium/third_party/ow2_asm',
899               'version': 'version:5.0.1-cr0',
900           },
901       ],
902       'condition': 'checkout_android',
903       'dep_type': 'cipd',
904   },
905
906   'src/third_party/pdfium':
907     Var('pdfium_git') + '/pdfium.git' + '@' +  Var('pdfium_revision'),
908
909   # Parses Windows PE/COFF executable format.
910   'src/third_party/pefile': {
911       'url': Var('chromium_git') + '/external/pefile.git' + '@' + '72c6ae42396cb913bcab63c15585dc3b5c3f92f1',
912       'condition': 'checkout_win',
913   },
914
915   'src/third_party/perfetto':
916     Var('android_git') + '/platform/external/perfetto.git' + '@' +  'ca307e9c43bb44692239ee6d8e2d6d7d32a6d77e',
917
918   'src/third_party/perl': {
919       'url': Var('chromium_git') + '/chromium/deps/perl.git' + '@' + 'ac0d98b5cee6c024b0cffeb4f8f45b6fc5ccdb78',
920       'condition': 'checkout_win',
921   },
922
923   # Dependency of chromite.git and skia.
924   'src/third_party/pyelftools': {
925       'url': Var('chromium_git') + '/chromiumos/third_party/pyelftools.git' + '@' + '19b3e610c86fcadb837d252c794cb5e8008826ae',
926       'condition': 'checkout_linux',
927   },
928
929   'src/third_party/pyftpdlib/src':
930     Var('chromium_git') + '/external/pyftpdlib.git' + '@' + '2be6d65e31c7ee6320d059f581f05ae8d89d7e45',
931
932   'src/third_party/quic_trace/src':
933     Var('chromium_git') + '/external/github.com/google/quic-trace.git' + '@' + 'c9028909ba2356e073de4ea963b56fd81417a46d',
934
935   'src/third_party/pywebsocket/src':
936     Var('chromium_git') + '/external/github.com/google/pywebsocket.git' + '@' + '2d7b73c3acbd0f41dcab487ae5c97c6feae06ce2',
937
938   'src/third_party/re2/src':
939     Var('chromium_git') + '/external/github.com/google/re2.git' + '@' + '5185d85264d23cfae4b38e2703703e9a4c8e974c',
940
941   'src/third_party/r8': {
942       'packages': [
943           {
944               'package': 'chromium/third_party/r8',
945               'version': 'version:1.2.28-cr0',
946           },
947       ],
948       'condition': 'checkout_android',
949       'dep_type': 'cipd',
950   },
951
952   'src/third_party/requests/src': {
953       'url': Var('chromium_git') + '/external/github.com/kennethreitz/requests.git' + '@' + 'f172b30356d821d180fa4ecfa3e71c7274a32de4',
954       'condition': 'checkout_android',
955   },
956
957   'src/third_party/robolectric': {
958       'packages': [
959           {
960               'package': 'chromium/third_party/robolectric',
961               'version': 'version:3.5.1',
962           },
963       ],
964       'condition': 'checkout_android',
965       'dep_type': 'cipd',
966   },
967
968   'src/third_party/robolectric/robolectric': {
969       'url': Var('chromium_git') + '/external/robolectric.git' + '@' + '7e067f1112e1502caa742f7be72d37b5678d3403',
970       'condition': 'checkout_android',
971   },
972
973   'src/third_party/sfntly/src':
974     Var('chromium_git') + '/external/github.com/googlei18n/sfntly.git' + '@' + Var('sfntly_revision'),
975
976   'src/third_party/shaderc/src':
977     Var('chromium_git') + '/external/github.com/google/shaderc.git' + '@' + 'cd8793c34907073025af2622c28bcee64e9879a4',
978
979   'src/third_party/skia':
980     Var('skia_git') + '/skia.git' + '@' +  Var('skia_revision'),
981
982   'src/third_party/smhasher/src':
983     Var('chromium_git') + '/external/smhasher.git' + '@' + 'e87738e57558e0ec472b2fc3a643b838e5b6e88f',
984
985   'src/third_party/snappy/src':
986     Var('chromium_git') + '/external/github.com/google/snappy.git' + '@' + 'ca37ab7fb9b718e056009babb4fea591626e5882',
987
988   'src/third_party/sqlite4java': {
989       'packages': [
990           {
991               'package': 'chromium/third_party/sqlite4java',
992               'version': 'version:0.282-cr0',
993           },
994       ],
995       'condition': 'checkout_android',
996       'dep_type': 'cipd',
997   },
998
999   'src/third_party/swiftshader':
1000     Var('swiftshader_git') + '/SwiftShader.git' + '@' +  Var('swiftshader_revision'),
1001
1002   'src/third_party/ub-uiautomator/lib': {
1003       'url': Var('chromium_git') + '/chromium/third_party/ub-uiautomator.git' + '@' + '00270549ce3161ae72ceb24712618ea28b4f9434',
1004       'condition': 'checkout_android',
1005   },
1006
1007   'src/third_party/usrsctp/usrsctplib':
1008     Var('chromium_git') + '/external/github.com/sctplab/usrsctp' + '@' + '7a8bc9a90ca96634aa56ee712856d97f27d903f8',
1009
1010   'src/third_party/visualmetrics/src':
1011     Var('chromium_git') + '/external/github.com/WPO-Foundation/visualmetrics.git' + '@' +  '1edde9d2fe203229c895b648fdec355917200ad6',
1012
1013   # Display server protocol for Linux.
1014   'src/third_party/wayland/src': {
1015       'url': Var('chromium_git') + '/external/anongit.freedesktop.org/git/wayland/wayland.git' + '@' + '1361da9cd5a719b32d978485a29920429a31ed25',
1016       'condition': 'checkout_linux',
1017   },
1018
1019   # Wayland protocols that add functionality not available in the core protocol.
1020   'src/third_party/wayland-protocols/src': {
1021       'url': Var('chromium_git') + '/external/anongit.freedesktop.org/git/wayland/wayland-protocols.git' + '@' + '4f789286e4ab7f6fecc2ccb895d79362a9b2382a',
1022       'condition': 'checkout_linux',
1023   },
1024
1025   # Wireless Display Software. Used on Chrome OS.
1026   'src/third_party/wds/src': {
1027       'url': Var('chromium_git') + '/external/github.com/01org/wds' + '@' + 'ac3d8210d95f3000bf5c8e16a79dbbbf22d554a5',
1028       'condition': 'checkout_linux',
1029   },
1030
1031   'src/third_party/webdriver/pylib':
1032     Var('chromium_git') + '/external/selenium/py.git' + '@' + '5fd78261a75fe08d27ca4835fb6c5ce4b42275bd',
1033
1034   'src/third_party/webgl/src':
1035     Var('chromium_git') + '/external/khronosgroup/webgl.git' + '@' + 'a5c263cc63ffc2cc189b5214074c8792067c1853',
1036
1037   'src/third_party/webrtc':
1038     Var('webrtc_git') + '/src.git' + '@' + '881fe53d1faefe135c0d6959794da91a25e247f2',
1039
1040   'src/third_party/xdg-utils': {
1041       'url': Var('chromium_git') + '/chromium/deps/xdg-utils.git' + '@' + 'd80274d5869b17b8c9067a1022e4416ee7ed5e0d',
1042       'condition': 'checkout_linux',
1043   },
1044
1045   'src/third_party/xstream': {
1046       'packages': [
1047           {
1048               'package': 'chromium/third_party/xstream',
1049               'version': 'version:1.4.8-cr0',
1050           },
1051       ],
1052       'condition': 'checkout_android',
1053       'dep_type': 'cipd',
1054   },
1055
1056   'src/third_party/yasm/source/patched-yasm':
1057     Var('chromium_git') + '/chromium/deps/yasm/patched-yasm.git' + '@' + '720b70524a4424b15fc57e82263568c8ba0496ad',
1058
1059   'src/tools/gyp':
1060     Var('chromium_git') + '/external/gyp.git' + '@' + 'd61a9397e668fa9843c4aa7da9e79460fe590bfb',
1061
1062   'src/tools/page_cycler/acid3':
1063     Var('chromium_git') + '/chromium/deps/acid3.git' + '@' + '6be0a66a1ebd7ebc5abc1b2f405a945f6d871521',
1064
1065   'src/tools/swarming_client':
1066     Var('chromium_git') + '/infra/luci/client-py.git' + '@' +  Var('swarming_revision'),
1067
1068   'src/v8':
1069     Var('chromium_git') + '/v8/v8.git' + '@' +  Var('v8_revision'),
1070
1071   'src-internal': {
1072     'url': 'https://chrome-internal.googlesource.com/chrome/src-internal.git@fd8f12d0f9e4965315bbc7a4c01d41ab1d5937fb',
1073     'condition': 'checkout_src_internal',
1074   },
1075
1076   # === ANDROID_DEPS Generated Code Start ===
1077   # Generated by //tools/android/roll/android_deps/fetch_all.sh
1078   'src/third_party/android_deps/repository/android_arch_core_common': {
1079       'packages': [
1080           {
1081               'package': 'chromium/third_party/android_deps/repository/android_arch_core_common',
1082               'version': 'version:1.0.0-cr0',
1083           },
1084       ],
1085       'condition': 'checkout_android',
1086       'dep_type': 'cipd',
1087   },
1088
1089   'src/third_party/android_deps/repository/android_arch_lifecycle_common': {
1090       'packages': [
1091           {
1092               'package': 'chromium/third_party/android_deps/repository/android_arch_lifecycle_common',
1093               'version': 'version:1.0.0-cr0',
1094           },
1095       ],
1096       'condition': 'checkout_android',
1097       'dep_type': 'cipd',
1098   },
1099
1100   'src/third_party/android_deps/repository/android_arch_lifecycle_runtime': {
1101       'packages': [
1102           {
1103               'package': 'chromium/third_party/android_deps/repository/android_arch_lifecycle_runtime',
1104               'version': 'version:1.0.0-cr0',
1105           },
1106       ],
1107       'condition': 'checkout_android',
1108       'dep_type': 'cipd',
1109   },
1110
1111   'src/third_party/android_deps/repository/com_android_support_animated_vector_drawable': {
1112       'packages': [
1113           {
1114               'package': 'chromium/third_party/android_deps/repository/com_android_support_animated_vector_drawable',
1115               'version': 'version:27.0.0-cr0',
1116           },
1117       ],
1118       'condition': 'checkout_android',
1119       'dep_type': 'cipd',
1120   },
1121
1122   'src/third_party/android_deps/repository/com_android_support_appcompat_v7': {
1123       'packages': [
1124           {
1125               'package': 'chromium/third_party/android_deps/repository/com_android_support_appcompat_v7',
1126               'version': 'version:27.0.0-cr0',
1127           },
1128       ],
1129       'condition': 'checkout_android',
1130       'dep_type': 'cipd',
1131   },
1132
1133   'src/third_party/android_deps/repository/com_android_support_cardview_v7': {
1134       'packages': [
1135           {
1136               'package': 'chromium/third_party/android_deps/repository/com_android_support_cardview_v7',
1137               'version': 'version:27.0.0-cr0',
1138           },
1139       ],
1140       'condition': 'checkout_android',
1141       'dep_type': 'cipd',
1142   },
1143
1144   'src/third_party/android_deps/repository/com_android_support_design': {
1145       'packages': [
1146           {
1147               'package': 'chromium/third_party/android_deps/repository/com_android_support_design',
1148               'version': 'version:27.0.0-cr0',
1149           },
1150       ],
1151       'condition': 'checkout_android',
1152       'dep_type': 'cipd',
1153   },
1154
1155   'src/third_party/android_deps/repository/com_android_support_gridlayout_v7': {
1156       'packages': [
1157           {
1158               'package': 'chromium/third_party/android_deps/repository/com_android_support_gridlayout_v7',
1159               'version': 'version:27.0.0-cr0',
1160           },
1161       ],
1162       'condition': 'checkout_android',
1163       'dep_type': 'cipd',
1164   },
1165
1166   'src/third_party/android_deps/repository/com_android_support_leanback_v17': {
1167       'packages': [
1168           {
1169               'package': 'chromium/third_party/android_deps/repository/com_android_support_leanback_v17',
1170               'version': 'version:27.0.0-cr0',
1171           },
1172       ],
1173       'condition': 'checkout_android',
1174       'dep_type': 'cipd',
1175   },
1176
1177   'src/third_party/android_deps/repository/com_android_support_mediarouter_v7': {
1178       'packages': [
1179           {
1180               'package': 'chromium/third_party/android_deps/repository/com_android_support_mediarouter_v7',
1181               'version': 'version:27.0.0-cr0',
1182           },
1183       ],
1184       'condition': 'checkout_android',
1185       'dep_type': 'cipd',
1186   },
1187
1188   'src/third_party/android_deps/repository/com_android_support_multidex': {
1189       'packages': [
1190           {
1191               'package': 'chromium/third_party/android_deps/repository/com_android_support_multidex',
1192               'version': 'version:1.0.0-cr0',
1193           },
1194       ],
1195       'condition': 'checkout_android',
1196       'dep_type': 'cipd',
1197   },
1198
1199   'src/third_party/android_deps/repository/com_android_support_palette_v7': {
1200       'packages': [
1201           {
1202               'package': 'chromium/third_party/android_deps/repository/com_android_support_palette_v7',
1203               'version': 'version:27.0.0-cr0',
1204           },
1205       ],
1206       'condition': 'checkout_android',
1207       'dep_type': 'cipd',
1208   },
1209
1210   'src/third_party/android_deps/repository/com_android_support_preference_leanback_v17': {
1211       'packages': [
1212           {
1213               'package': 'chromium/third_party/android_deps/repository/com_android_support_preference_leanback_v17',
1214               'version': 'version:27.0.0-cr0',
1215           },
1216       ],
1217       'condition': 'checkout_android',
1218       'dep_type': 'cipd',
1219   },
1220
1221   'src/third_party/android_deps/repository/com_android_support_preference_v14': {
1222       'packages': [
1223           {
1224               'package': 'chromium/third_party/android_deps/repository/com_android_support_preference_v14',
1225               'version': 'version:27.0.0-cr0',
1226           },
1227       ],
1228       'condition': 'checkout_android',
1229       'dep_type': 'cipd',
1230   },
1231
1232   'src/third_party/android_deps/repository/com_android_support_preference_v7': {
1233       'packages': [
1234           {
1235               'package': 'chromium/third_party/android_deps/repository/com_android_support_preference_v7',
1236               'version': 'version:27.0.0-cr0',
1237           },
1238       ],
1239       'condition': 'checkout_android',
1240       'dep_type': 'cipd',
1241   },
1242
1243   'src/third_party/android_deps/repository/com_android_support_recyclerview_v7': {
1244       'packages': [
1245           {
1246               'package': 'chromium/third_party/android_deps/repository/com_android_support_recyclerview_v7',
1247               'version': 'version:27.0.0-cr0',
1248           },
1249       ],
1250       'condition': 'checkout_android',
1251       'dep_type': 'cipd',
1252   },
1253
1254   'src/third_party/android_deps/repository/com_android_support_support_annotations': {
1255       'packages': [
1256           {
1257               'package': 'chromium/third_party/android_deps/repository/com_android_support_support_annotations',
1258               'version': 'version:27.0.0-cr0',
1259           },
1260       ],
1261       'condition': 'checkout_android',
1262       'dep_type': 'cipd',
1263   },
1264
1265   'src/third_party/android_deps/repository/com_android_support_support_compat': {
1266       'packages': [
1267           {
1268               'package': 'chromium/third_party/android_deps/repository/com_android_support_support_compat',
1269               'version': 'version:27.0.0-cr0',
1270           },
1271       ],
1272       'condition': 'checkout_android',
1273       'dep_type': 'cipd',
1274   },
1275
1276   'src/third_party/android_deps/repository/com_android_support_support_core_ui': {
1277       'packages': [
1278           {
1279               'package': 'chromium/third_party/android_deps/repository/com_android_support_support_core_ui',
1280               'version': 'version:27.0.0-cr0',
1281           },
1282       ],
1283       'condition': 'checkout_android',
1284       'dep_type': 'cipd',
1285   },
1286
1287   'src/third_party/android_deps/repository/com_android_support_support_core_utils': {
1288       'packages': [
1289           {
1290               'package': 'chromium/third_party/android_deps/repository/com_android_support_support_core_utils',
1291               'version': 'version:27.0.0-cr0',
1292           },
1293       ],
1294       'condition': 'checkout_android',
1295       'dep_type': 'cipd',
1296   },
1297
1298   'src/third_party/android_deps/repository/com_android_support_support_fragment': {
1299       'packages': [
1300           {
1301               'package': 'chromium/third_party/android_deps/repository/com_android_support_support_fragment',
1302               'version': 'version:27.0.0-cr0',
1303           },
1304       ],
1305       'condition': 'checkout_android',
1306       'dep_type': 'cipd',
1307   },
1308
1309   'src/third_party/android_deps/repository/com_android_support_support_media_compat': {
1310       'packages': [
1311           {
1312               'package': 'chromium/third_party/android_deps/repository/com_android_support_support_media_compat',
1313               'version': 'version:27.0.0-cr0',
1314           },
1315       ],
1316       'condition': 'checkout_android',
1317       'dep_type': 'cipd',
1318   },
1319
1320   'src/third_party/android_deps/repository/com_android_support_support_v13': {
1321       'packages': [
1322           {
1323               'package': 'chromium/third_party/android_deps/repository/com_android_support_support_v13',
1324               'version': 'version:27.0.0-cr0',
1325           },
1326       ],
1327       'condition': 'checkout_android',
1328       'dep_type': 'cipd',
1329   },
1330
1331   'src/third_party/android_deps/repository/com_android_support_support_v4': {
1332       'packages': [
1333           {
1334               'package': 'chromium/third_party/android_deps/repository/com_android_support_support_v4',
1335               'version': 'version:27.0.0-cr0',
1336           },
1337       ],
1338       'condition': 'checkout_android',
1339       'dep_type': 'cipd',
1340   },
1341
1342   'src/third_party/android_deps/repository/com_android_support_support_vector_drawable': {
1343       'packages': [
1344           {
1345               'package': 'chromium/third_party/android_deps/repository/com_android_support_support_vector_drawable',
1346               'version': 'version:27.0.0-cr0',
1347           },
1348       ],
1349       'condition': 'checkout_android',
1350       'dep_type': 'cipd',
1351   },
1352
1353   'src/third_party/android_deps/repository/com_android_support_transition': {
1354       'packages': [
1355           {
1356               'package': 'chromium/third_party/android_deps/repository/com_android_support_transition',
1357               'version': 'version:27.0.0-cr0',
1358           },
1359       ],
1360       'condition': 'checkout_android',
1361       'dep_type': 'cipd',
1362   },
1363
1364   # === ANDROID_DEPS Generated Code End ===
1365 }
1366
1367
1368 include_rules = [
1369   # Everybody can use some things.
1370   # NOTE: THIS HAS TO STAY IN SYNC WITH third_party/DEPS which disallows these.
1371   '+base',
1372   '+build',
1373   '+ipc',
1374
1375   # Everybody can use headers generated by tools/generate_library_loader.
1376   '+library_loaders',
1377
1378   '+testing',
1379   '+third_party/icu/source/common/unicode',
1380   '+third_party/icu/source/i18n/unicode',
1381   '+url',
1382
1383   # Chromium cannot directly depend on Abseil.
1384   '-absl',
1385 ]
1386
1387
1388 # checkdeps.py shouldn't check include paths for files in these dirs:
1389 skip_child_includes = [
1390   'native_client_sdk',
1391   'out',
1392   'skia',
1393   'testing',
1394   'third_party/abseil-cpp',
1395   'v8',
1396 ]
1397
1398
1399 hooks = [
1400   {
1401     # This clobbers when necessary (based on get_landmines.py). It must be the
1402     # first hook so that other things that get/generate into the output
1403     # directory will not subsequently be clobbered.
1404     'name': 'landmines',
1405     'pattern': '.',
1406     'action': [
1407         'python',
1408         'src/build/landmines.py',
1409     ],
1410   },
1411   {
1412     # Ensure that the DEPS'd "depot_tools" has its self-update capability
1413     # disabled.
1414     'name': 'disable_depot_tools_selfupdate',
1415     'pattern': '.',
1416     'action': [
1417         'python',
1418         'src/third_party/depot_tools/update_depot_tools_toggle.py',
1419         '--disable',
1420     ],
1421   },
1422   {
1423     # Ensure that we don't accidentally reference any .pyc files whose
1424     # corresponding .py files have since been deleted.
1425     # We could actually try to avoid generating .pyc files, crbug.com/500078.
1426     'name': 'remove_stale_pyc_files',
1427     'pattern': '.',
1428     'action': [
1429         'python',
1430         'src/tools/remove_stale_pyc_files.py',
1431         'src/android_webview/tools',
1432         'src/build/android',
1433         'src/gpu/gles2_conform_support',
1434         'src/infra',
1435         'src/ppapi',
1436         'src/printing',
1437         'src/third_party/blink/renderer/build/scripts',
1438         'src/third_party/blink/tools',  # See http://crbug.com/625877.
1439         'src/third_party/catapult',
1440         'src/third_party/closure_compiler/build',
1441         'src/third_party/WebKit/Tools/Scripts',  # See http://crbug.com/625877.
1442         'src/tools',
1443     ],
1444   },
1445   {
1446     # This downloads binaries for Native Client's newlib toolchain.
1447     # Done in lieu of building the toolchain from scratch as it can take
1448     # anywhere from 30 minutes to 4 hours depending on platform to build.
1449     'name': 'nacltools',
1450     'pattern': '.',
1451     'condition': 'checkout_nacl',
1452     'action': [
1453         'python',
1454         'src/build/download_nacl_toolchains.py',
1455         '--mode', 'nacl_core_sdk',
1456         'sync', '--extract',
1457     ],
1458   },
1459   {
1460     'name': 'sysroot_arm',
1461     'pattern': '.',
1462     'condition': 'checkout_linux and checkout_arm',
1463     'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
1464                '--arch=arm'],
1465   },
1466   {
1467     'name': 'sysroot_arm64',
1468     'pattern': '.',
1469     'condition': 'checkout_linux and checkout_arm64',
1470     'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
1471                '--arch=arm64'],
1472   },
1473   {
1474     'name': 'sysroot_x86',
1475     'pattern': '.',
1476     'condition': 'checkout_linux and (checkout_x86 or checkout_x64)',
1477     'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
1478                '--arch=x86'],
1479   },
1480   {
1481     'name': 'sysroot_mips',
1482     'pattern': '.',
1483     'condition': 'checkout_linux and checkout_mips',
1484     'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
1485                '--arch=mips'],
1486   },
1487   {
1488     'name': 'sysroot_x64',
1489     'pattern': '.',
1490     'condition': 'checkout_linux and checkout_x64',
1491     'action': ['python', 'src/build/linux/sysroot_scripts/install-sysroot.py',
1492                '--arch=x64'],
1493   },
1494   {
1495     # Case-insensitivity for the Win SDK. Must run before win_toolchain below.
1496     'name': 'ciopfs_linux',
1497     'pattern': '.',
1498     'condition': 'checkout_win and host_os == "linux"',
1499     'action': [ 'python',
1500                 'src/third_party/depot_tools/download_from_google_storage.py',
1501                 '--no_resume',
1502                 '--no_auth',
1503                 '--bucket', 'chromium-browser-clang/ciopfs',
1504                 '-s', 'src/build/ciopfs.sha1',
1505     ]
1506   },
1507   {
1508     # Update the Windows toolchain if necessary.  Must run before 'clang' below.
1509     'name': 'win_toolchain',
1510     'pattern': '.',
1511     'condition': 'checkout_win',
1512     'action': ['python', 'src/build/vs_toolchain.py', 'update', '--force'],
1513   },
1514   {
1515     # Update the Mac toolchain if necessary.
1516     'name': 'mac_toolchain',
1517     'pattern': '.',
1518     'condition': 'checkout_ios or checkout_mac',
1519     'action': ['python', 'src/build/mac_toolchain.py'],
1520   },
1521   # Pull binutils for linux, enabled debug fission for faster linking /
1522   # debugging when used with clang on Ubuntu Precise.
1523   # https://code.google.com/p/chromium/issues/detail?id=352046
1524   {
1525     'name': 'binutils',
1526     'pattern': 'src/third_party/binutils',
1527     'condition': 'host_os == "linux"',
1528     'action': [
1529         'python',
1530         'src/third_party/binutils/download.py',
1531     ],
1532   },
1533   {
1534     # Note: On Win, this should run after win_toolchain, as it may use it.
1535     'name': 'clang',
1536     'pattern': '.',
1537     'action': ['python', 'src/tools/clang/scripts/update.py'],
1538   },
1539   {
1540     # Mac doesn't use lld so it's not included in the default clang bundle
1541     # there.  lld is however needed in win cross builds, so download it there.
1542     # Should run after the clang hook.
1543     'name': 'lld/mac',
1544     'pattern': '.',
1545     'condition': 'host_os == "mac" and checkout_win',
1546     'action': ['python', 'src/tools/clang/scripts/download_lld_mac.py'],
1547   },
1548   {
1549     # Update LASTCHANGE.
1550     'name': 'lastchange',
1551     'pattern': '.',
1552     'action': ['python', 'src/build/util/lastchange.py',
1553                '-o', 'src/build/util/LASTCHANGE'],
1554   },
1555   {
1556     # Update GPU lists version string (for gpu/config).
1557     'name': 'gpu_lists_version',
1558     'pattern': '.',
1559     'action': ['python', 'src/build/util/lastchange.py',
1560                '-m', 'GPU_LISTS_VERSION',
1561                '--revision-id-only',
1562                '--header', 'src/gpu/config/gpu_lists_version.h'],
1563   },
1564   {
1565     # Update skia_commit_hash.h.
1566     'name': 'lastchange_skia',
1567     'pattern': '.',
1568     'action': ['python', 'src/build/util/lastchange.py',
1569                '-m', 'SKIA_COMMIT_HASH',
1570                '-s', 'src/third_party/skia',
1571                '--header', 'src/skia/ext/skia_commit_hash.h'],
1572   },
1573   # Pull GN binaries. This needs to be before running GYP below.
1574   {
1575     'name': 'gn_win',
1576     'pattern': '.',
1577     'condition': 'host_os == "win"',
1578     'action': [ 'python',
1579                 'src/third_party/depot_tools/download_from_google_storage.py',
1580                 '--no_resume',
1581                 '--no_auth',
1582                 '--bucket', 'chromium-gn',
1583                 '-s', 'src/buildtools/win/gn.exe.sha1',
1584     ],
1585   },
1586   {
1587     'name': 'gn_mac',
1588     'pattern': '.',
1589     'condition': 'host_os == "mac"',
1590     'action': [ 'python',
1591                 'src/third_party/depot_tools/download_from_google_storage.py',
1592                 '--no_resume',
1593                 '--no_auth',
1594                 '--bucket', 'chromium-gn',
1595                 '-s', 'src/buildtools/mac/gn.sha1',
1596     ],
1597   },
1598   {
1599     'name': 'gn_linux64',
1600     'pattern': '.',
1601     'condition': 'host_os == "linux"',
1602     'action': [ 'python',
1603                 'src/third_party/depot_tools/download_from_google_storage.py',
1604                 '--no_resume',
1605                 '--no_auth',
1606                 '--bucket', 'chromium-gn',
1607                 '-s', 'src/buildtools/linux64/gn.sha1',
1608     ],
1609   },
1610   # Pull clang-format binaries using checked-in hashes.
1611   {
1612     'name': 'clang_format_win',
1613     'pattern': '.',
1614     'condition': 'host_os == "win"',
1615     'action': [ 'python',
1616                 'src/third_party/depot_tools/download_from_google_storage.py',
1617                 '--no_resume',
1618                 '--no_auth',
1619                 '--bucket', 'chromium-clang-format',
1620                 '-s', 'src/buildtools/win/clang-format.exe.sha1',
1621     ],
1622   },
1623   {
1624     'name': 'clang_format_mac',
1625     'pattern': '.',
1626     'condition': 'host_os == "mac"',
1627     'action': [ 'python',
1628                 'src/third_party/depot_tools/download_from_google_storage.py',
1629                 '--no_resume',
1630                 '--no_auth',
1631                 '--bucket', 'chromium-clang-format',
1632                 '-s', 'src/buildtools/mac/clang-format.sha1',
1633     ],
1634   },
1635   {
1636     'name': 'clang_format_linux',
1637     'pattern': '.',
1638     'condition': 'host_os == "linux"',
1639     'action': [ 'python',
1640                 'src/third_party/depot_tools/download_from_google_storage.py',
1641                 '--no_resume',
1642                 '--no_auth',
1643                 '--bucket', 'chromium-clang-format',
1644                 '-s', 'src/buildtools/linux64/clang-format.sha1',
1645     ],
1646   },
1647   # Pull rc binaries using checked-in hashes.
1648   {
1649     'name': 'rc_win',
1650     'pattern': '.',
1651     'condition': 'checkout_win and host_os == "win"',
1652     'action': [ 'python',
1653                 'src/third_party/depot_tools/download_from_google_storage.py',
1654                 '--no_resume',
1655                 '--no_auth',
1656                 '--bucket', 'chromium-browser-clang/rc',
1657                 '-s', 'src/build/toolchain/win/rc/win/rc.exe.sha1',
1658     ],
1659   },
1660   {
1661     'name': 'rc_mac',
1662     'pattern': '.',
1663     'condition': 'checkout_win and host_os == "mac"',
1664     'action': [ 'python',
1665                 'src/third_party/depot_tools/download_from_google_storage.py',
1666                 '--no_resume',
1667                 '--no_auth',
1668                 '--bucket', 'chromium-browser-clang/rc',
1669                 '-s', 'src/build/toolchain/win/rc/mac/rc.sha1',
1670     ],
1671   },
1672   {
1673     'name': 'rc_linux',
1674     'pattern': '.',
1675     'condition': 'checkout_win and host_os == "linux"',
1676     'action': [ 'python',
1677                 'src/third_party/depot_tools/download_from_google_storage.py',
1678                 '--no_resume',
1679                 '--no_auth',
1680                 '--bucket', 'chromium-browser-clang/rc',
1681                 '-s', 'src/build/toolchain/win/rc/linux64/rc.sha1',
1682     ]
1683   },
1684  {
1685     'name': 'test_fonts',
1686     'pattern': '.',
1687     'action': [ 'download_from_google_storage',
1688                 '--no_resume',
1689                 '--extract',
1690                 '--no_auth',
1691                 '--bucket', 'chromium-fonts',
1692                 '-s', 'src/third_party/test_fonts/test_fonts.tar.gz.sha1',
1693     ],
1694   },
1695   # Pull order files for the win/clang build.
1696   {
1697     'name': 'orderfiles_win',
1698     'pattern': '.',
1699     'condition': 'checkout_win',
1700     'action': [ 'python',
1701                 'src/third_party/depot_tools/download_from_google_storage.py',
1702                 '--no_resume',
1703                 '--no_auth',
1704                 '--bucket', 'chromium-browser-clang/orderfiles',
1705                 '-d', 'src/chrome/build',
1706     ],
1707   },
1708   # Pull the Syzygy binaries, used for optimization and instrumentation.
1709   # Remove this as soon as the zap_timestamp.exe utility is no longer used.
1710   # See https://crbug.com/821764#c3.
1711   {
1712     'name': 'syzygy-binaries',
1713     'pattern': '.',
1714     'condition': 'host_os == "win"',
1715     'action': ['python',
1716                'src/build/get_syzygy_binaries.py',
1717                '--output-dir=src/third_party/syzygy/binaries',
1718                '--revision=8164b24ebde9c5649c9a09e88a7fc0b0fcbd1bc5',
1719                '--overwrite',
1720                '--copy-dia-binaries',
1721     ],
1722   },
1723   {
1724     'name': 'apache_win32',
1725     'pattern': '\\.sha1',
1726     'condition': 'host_os == "win"',
1727     'action': [ 'python',
1728                 'src/third_party/depot_tools/download_from_google_storage.py',
1729                 '--no_resume',
1730                 '--directory',
1731                 '--recursive',
1732                 '--no_auth',
1733                 '--num_threads=16',
1734                 '--bucket', 'chromium-apache-win32',
1735                 'src/third_party/apache-win32',
1736     ],
1737   },
1738   {
1739     'name': 'msan_chained_origins',
1740     'pattern': '.',
1741     'condition': 'checkout_instrumented_libraries',
1742     'action': [ 'python',
1743                 'src/third_party/depot_tools/download_from_google_storage.py',
1744                 "--no_resume",
1745                 "--no_auth",
1746                 "--bucket", "chromium-instrumented-libraries",
1747                 "-s", "src/third_party/instrumented_libraries/binaries/msan-chained-origins-trusty.tgz.sha1",
1748               ],
1749   },
1750   {
1751     'name': 'msan_no_origins',
1752     'pattern': '.',
1753     'condition': 'checkout_instrumented_libraries',
1754     'action': [ 'python',
1755                 'src/third_party/depot_tools/download_from_google_storage.py',
1756                 "--no_resume",
1757                 "--no_auth",
1758                 "--bucket", "chromium-instrumented-libraries",
1759                 "-s", "src/third_party/instrumented_libraries/binaries/msan-no-origins-trusty.tgz.sha1",
1760               ],
1761   },
1762   {
1763     "name": "wasm_fuzzer",
1764     "pattern": ".",
1765     'action': [ 'python',
1766                 'src/third_party/depot_tools/download_from_google_storage.py',
1767                 "--no_resume",
1768                 "--no_auth",
1769                 "-u",
1770                 "--bucket", "v8-wasm-fuzzer",
1771                 "-s", "src/v8/test/fuzzer/wasm_corpus.tar.gz.sha1",
1772     ],
1773   },
1774
1775   # Pull down Node binaries for WebUI toolchain.
1776   {
1777     'name': 'node_linux64',
1778     'pattern': '.',
1779     'condition': 'host_os == "linux"',
1780     'action': [ 'python',
1781                 'src/third_party/depot_tools/download_from_google_storage.py',
1782                 '--no_resume',
1783                 '--extract',
1784                 '--no_auth',
1785                 '--bucket', 'chromium-nodejs/8.9.1',
1786                 '-s', 'src/third_party/node/linux/node-linux-x64.tar.gz.sha1',
1787     ],
1788   },
1789   {
1790     'name': 'node_mac',
1791     'pattern': '.',
1792     'condition': 'host_os == "mac"',
1793     'action': [ 'python',
1794                 'src/third_party/depot_tools/download_from_google_storage.py',
1795                 '--no_resume',
1796                 '--extract',
1797                 '--no_auth',
1798                 '--bucket', 'chromium-nodejs/8.9.1',
1799                 '-s', 'src/third_party/node/mac/node-darwin-x64.tar.gz.sha1',
1800     ],
1801   },
1802   {
1803     'name': 'node_win',
1804     'pattern': '.',
1805     'condition': 'host_os == "win"',
1806     'action': [ 'python',
1807                 'src/third_party/depot_tools/download_from_google_storage.py',
1808                 '--no_resume',
1809                 '--no_auth',
1810                 '--bucket', 'chromium-nodejs/8.9.1',
1811                 '-s', 'src/third_party/node/win/node.exe.sha1',
1812     ],
1813   },
1814
1815   # Pull down NPM dependencies for WebUI toolchain.
1816   {
1817     'name': 'webui_node_modules',
1818     'pattern': '.',
1819     'action': [ 'python',
1820                 'src/third_party/depot_tools/download_from_google_storage.py',
1821                 '--no_resume',
1822                 '--extract',
1823                 '--no_auth',
1824                 '--bucket', 'chromium-nodejs',
1825                 '-s', 'src/third_party/node/node_modules.tar.gz.sha1',
1826     ],
1827   },
1828
1829   # Download Telemetry's binary dependencies via conditionals
1830   {
1831     'name': 'checkout_telemetry_binary_dependencies',
1832     'condition': 'checkout_telemetry_dependencies',
1833     'pattern': '.',
1834     'action': [ 'vpython',
1835                 'src/third_party/catapult/telemetry/bin/fetch_telemetry_binary_dependencies',
1836     ],
1837   },
1838         #
1839   # Download Telemetry's benchmark binary dependencies via conditionals
1840   {
1841     'name': 'checkout_telemetry_benchmark_deps',
1842     'condition': 'checkout_telemetry_dependencies',
1843     'pattern': '.',
1844     'action': [ 'vpython',
1845                 'src/tools/perf/fetch_benchmark_deps.py',
1846                 '-f',
1847     ],
1848   },
1849
1850   # This is used to ensure that all network operations are properly
1851   # annotated so we can document what they're for.
1852   {
1853     'name': 'tools_traffic_annotation_linux',
1854     'pattern': '.',
1855     'condition': 'host_os == "linux" and checkout_traffic_annotation_tools',
1856     'action': [ 'python',
1857                 'src/third_party/depot_tools/download_from_google_storage.py',
1858                 '--no_resume',
1859                 '--no_auth',
1860                 '--num_threads=4',
1861                 '--bucket', 'chromium-tools-traffic_annotation',
1862                 '-d', 'src/tools/traffic_annotation/bin/linux64',
1863     ],
1864   },
1865
1866 # This is used to ensure that all network operations are properly
1867 # annotated so we can document what they're for.
1868   {
1869     'name': 'tools_traffic_annotation_windows',
1870     'pattern': '.',
1871     'condition': 'host_os == "win" and checkout_traffic_annotation_tools',
1872     'action': [ 'python',
1873                 'src/third_party/depot_tools/download_from_google_storage.py',
1874                 '--no_resume',
1875                 '--no_auth',
1876                 '--num_threads=4',
1877                 '--bucket', 'chromium-tools-traffic_annotation',
1878                 '-d', 'src/tools/traffic_annotation/bin/win32',
1879     ],
1880   },
1881
1882   # Pull down Zucchini test data.
1883   {
1884     'name': 'zucchini_testdata',
1885     'pattern': '.',
1886     'action': [ 'python',
1887                 'src/third_party/depot_tools/download_from_google_storage.py',
1888                 '--no_resume',
1889                 '--no_auth',
1890                 '--num_threads=4',
1891                 '--bucket', 'chromium-binary-patching/zucchini_testdata',
1892                 '--recursive',
1893                 '-d', 'src/components/zucchini',
1894     ],
1895   },
1896
1897   {
1898     # We used to use src as a CIPD root. We moved it to a different directory
1899     # in crrev.com/c/930178 but left the clobber here to ensure that that CL
1900     # could be reverted safely. This can be safely removed once crbug.com/794764
1901     # is resolved.
1902     'name': 'Android Clobber Deprecated CIPD Root',
1903     'pattern': '.',
1904     'condition': 'checkout_android',
1905     'action': ['src/build/cipd/clobber_cipd_root.py',
1906                '--root', 'src',
1907     ],
1908   },
1909   {
1910     'name': 'Fetch Android AFDO profile',
1911     'pattern': '.',
1912     'condition': 'checkout_android or checkout_linux',
1913     'action': ['vpython', 'src/chrome/android/profiles/update_afdo_profile.py'],
1914   },
1915   {
1916     # This downloads SDK extras and puts them in the
1917     # third_party/android_tools/sdk/extras directory.
1918     'name': 'sdkextras',
1919     'pattern': '.',
1920     'condition': 'checkout_android',
1921     # When adding a new sdk extras package to download, add the package
1922     # directory and zip file to .gitignore in third_party/android_tools.
1923     'action': [ 'python',
1924                 'src/build/android/play_services/update.py',
1925                 'download'
1926     ],
1927   },
1928   # Download checkstyle for use in PRESUBMIT for Java changes.
1929   {
1930     'name': 'checkstyle',
1931     'pattern': '.',
1932     # Must also be downloaded on linux for use on chromium_presubmit.
1933     'condition': 'checkout_android or checkout_linux',
1934     'action': [ 'python',
1935                 'src/third_party/depot_tools/download_from_google_storage.py',
1936                 '--no_resume',
1937                 '--no_auth',
1938                 '--bucket', 'chromium-android-tools/checkstyle',
1939                 '-s', 'src/third_party/checkstyle/checkstyle-8.0-all.jar.sha1'
1940     ],
1941   },
1942   {
1943     'name': 'gvr_static_shim_android_arm',
1944     'pattern': '\\.sha1',
1945     'condition': 'checkout_android',
1946     'action': [ 'python',
1947                 'src/third_party/depot_tools/download_from_google_storage.py',
1948                 '--no_resume',
1949                 '--no_auth',
1950                 '--bucket', 'chromium-gvr-static-shim',
1951                 '-s', 'src/third_party/gvr-android-sdk/libgvr_shim_static_arm.a.sha1',
1952     ],
1953   },
1954   {
1955     'name': 'gvr_static_shim_android_arm64',
1956     'pattern': '\\.sha1',
1957     'condition': 'checkout_android',
1958     'action': [ 'python',
1959                 'src/third_party/depot_tools/download_from_google_storage.py',
1960                 '--no_resume',
1961                 '--no_auth',
1962                 '--bucket', 'chromium-gvr-static-shim',
1963                 '-s', 'src/third_party/gvr-android-sdk/libgvr_shim_static_arm64.a.sha1',
1964       ],
1965   },
1966   {
1967     'name': 'gvr_static_shim_custom_libcxx_android_arm',
1968     'pattern': '\\.sha1',
1969     'condition': 'checkout_android',
1970     'action': [ 'python',
1971                 'src/third_party/depot_tools/download_from_google_storage.py',
1972                 '--no_resume',
1973                 '--no_auth',
1974                 '--bucket', 'chromium-gvr-static-shim',
1975                 '-s', 'src/third_party/gvr-android-sdk/libgvr_shim_static_custom_libcxx_arm.a.sha1',
1976     ],
1977   },
1978   {
1979     'name': 'gvr_static_shim_custom_libcxx_android_arm64',
1980     'pattern': '\\.sha1',
1981     'condition': 'checkout_android',
1982     'action': [ 'python',
1983                 'src/third_party/depot_tools/download_from_google_storage.py',
1984                 '--no_resume',
1985                 '--no_auth',
1986                 '--bucket', 'chromium-gvr-static-shim',
1987                 '-s', 'src/third_party/gvr-android-sdk/libgvr_shim_static_custom_libcxx_arm64.a.sha1',
1988       ],
1989   },
1990   {
1991     'name': 'vr_assets',
1992     'pattern': '.',
1993     'condition': 'checkout_src_internal and checkout_android',
1994     'action': ['python',
1995                'src/third_party/depot_tools/download_from_google_storage.py',
1996                '--bucket', 'chrome-vr-assets',
1997                '--recursive',
1998                '--directory',
1999                'src/chrome/browser/resources/vr/assets/google_chrome',
2000     ],
2001   },
2002   {
2003     'name': 'vr_controller_test_api',
2004     'pattern': '\\.sha1',
2005     'condition': 'checkout_android',
2006     'action': [ 'python',
2007                 'src/third_party/depot_tools/download_from_google_storage.py',
2008                 '--no_resume',
2009                 '--no_auth',
2010                 '--bucket', 'chromium-gvr-static-shim/controller_test_api',
2011                 '-s', 'src/third_party/gvr-android-sdk/test-libraries/controller_test_api.aar.sha1',
2012     ],
2013   },
2014   # Download VR test APKs only if the environment variable is set
2015   {
2016     'name': 'vr_test_apks',
2017     'pattern': '.',
2018     'condition': 'checkout_android',
2019     'action': [ 'python',
2020                 'src/third_party/gvr-android-sdk/test-apks/update.py',
2021     ],
2022   },
2023   # Download Oculus SDK if appropriate.
2024   {
2025     'name': 'libovr',
2026     'pattern': '.',
2027     'condition': 'checkout_oculus_sdk',
2028     'action': ['python',
2029                'src/third_party/depot_tools/download_from_google_storage.py',
2030                '--bucket', 'chrome-oculus-sdk',
2031                '--recursive',
2032                '--num_threads=10',
2033                '--directory',
2034                'src/third_party/libovr/src',
2035     ],
2036   },
2037   {
2038     # Pull doclava binaries if building for Android.
2039     'name': 'doclava',
2040     'pattern': '.',
2041     'condition': 'checkout_android',
2042     'action': [ 'python',
2043                 'src/build/android/download_doclava.py',
2044     ],
2045   },
2046
2047   {
2048     'name': 'fuchsia_sdk',
2049     'pattern': '.',
2050     'condition': 'checkout_fuchsia',
2051     'action': [
2052       'python',
2053       'src/build/fuchsia/update_sdk.py',
2054     ],
2055   },
2056
2057   # Download CrOS simplechrome artifacts. The first hooks is for boards that
2058   # support VM images, the second hook for all other boards.
2059   {
2060     'name': 'cros_simplechrome_artifacts_with_vm',
2061     'pattern': '.',
2062     # Building for CrOS is only supported on linux currently.
2063     'condition': '((checkout_chromeos and host_os == "linux") and cros_download_vm) and ("{cros_board}" != "")',
2064     'action': [
2065       'src/third_party/chromite/bin/cros',
2066       'chrome-sdk',
2067       '--nogoma',
2068       '--use-external-config',
2069       '--nogn-gen',
2070       '--download-vm',
2071       '--board={cros_board}',
2072       '--cache-dir=src/build/cros_cache/',
2073       # TODO(crbug.com/834134): Remove the cache clobber when the sdk is smart
2074       # enough to eject old toolchains from the cache.
2075       '--clear-sdk-cache',
2076       '--log-level=error',
2077       'exit',
2078     ],
2079   },
2080   {
2081     'name': 'cros_simplechrome_artifacts_with_no_vm',
2082     'pattern': '.',
2083     # Building for CrOS is only supported on linux currently.
2084     'condition': '((checkout_chromeos and host_os == "linux") and not cros_download_vm) and ("{cros_board}" != "")',
2085     'action': [
2086       'src/third_party/chromite/bin/cros',
2087       'chrome-sdk',
2088       '--nogoma',
2089       '--use-external-config',
2090       '--nogn-gen',
2091       '--board={cros_board}',
2092       '--cache-dir=src/build/cros_cache/',
2093       '--log-level=error',
2094       'exit',
2095     ],
2096   },
2097
2098   # Download and initialize "vpython" VirtualEnv environment packages.
2099   {
2100     'name': 'vpython_common',
2101     'pattern': '.',
2102     'action': [ 'vpython',
2103                 '-vpython-spec', 'src/.vpython',
2104                 '-vpython-tool', 'install',
2105     ],
2106   },
2107 ]
2108
2109 recursedeps = [
2110   # buildtools provides clang_format, libc++, and libc++abi
2111   'src/buildtools',
2112   # ANGLE manages DEPS that it also owns the build files for, such as dEQP.
2113   "src/third_party/angle",
2114   # src-internal has its own DEPS file to pull additional internal repos
2115   'src-internal',
2116 ]