DEPS 26.9 KB
Newer Older
1 2
# This file is automatically processed to create .DEPS.git which is the file
# that gclient uses under git.
A
Adam Barth 已提交
3
#
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
# See http://code.google.com/p/chromium/wiki/UsingGit
#
# To test manually, run:
#   python tools/deps2git/deps2git.py -o .DEPS.git -w <gclientdir>
# where <gcliendir> is the absolute path to the directory containing the
# .gclient file (the parent of 'src').
#
# Then commit .DEPS.git locally (gclient doesn't like dirty trees) and run
#   gclient sync..
# Verify the thing happened you wanted. Then revert your .DEPS.git change
# DO NOT CHECK IN CHANGES TO .DEPS.git upstream. It will be automatically
# updated by a bot when you modify this one.
#
# When adding a new dependency, please update the top-level .gitignore file
# to list the dependency's destination directory.
A
Adam Barth 已提交
19 20 21

vars = {
  'chromium_git': 'https://chromium.googlesource.com',
22
  'swiftshader_git': 'https://swiftshader.googlesource.com',
23
  'dart_git': 'https://dart.googlesource.com',
J
Jason Simmons 已提交
24
  'flutter_git': 'https://flutter.googlesource.com',
A
Adam Barth 已提交
25
  'fuchsia_git': 'https://fuchsia.googlesource.com',
26
  'github_git': 'https://github.com',
A
amirh 已提交
27
  'skia_git': 'https://skia.googlesource.com',
28 29
  # OCMock is for testing only so there is no google clone
  'ocmock_git': 'https://github.com/erikdoe/ocmock.git',
30
  'skia_revision': '398ef4487b2ae98bb8bf726300087e78ebe3e95b',
C
Chinmay Garde 已提交
31

32 33 34 35
  # WARNING: DO NOT EDIT canvaskit_cipd_instance MANUALLY
  # See `lib/web_ui/README.md` for how to roll CanvasKit to a new version.
  'canvaskit_cipd_instance': 'srPdrAoUIWOde-KMPE5S8koi64mejhae7NzvfR_7m3gC',

I
Ian Hickson 已提交
36 37 38
  # When updating the Dart revision, ensure that all entries that are
  # dependencies of Dart are also updated to match the entries in the
  # Dart SDK's DEPS file for that revision of Dart. The DEPS file for
39
  # Dart is: https://github.com/dart-lang/sdk/blob/master/DEPS.
40
  # You can use //tools/dart/create_updated_flutter_deps.py to produce
41
  # updated revision list of existing dependencies.
42
  'dart_revision': '05661056d15329cba3032b423af4ebecef58b926',
43

44 45
  # WARNING: DO NOT EDIT MANUALLY
  # The lines between blank lines above and below are generated by a script. See create_updated_flutter_deps.py
46 47
  'dart_boringssl_gen_rev': '7322fc15cc065d8d2957fccce6b62a509dc4d641',
  'dart_boringssl_rev': '1607f54fed72c6589d560254626909a64124f091',
48
  'dart_browser_launcher_rev': 'c6cc1025d6901926cf022e144ba109677e3548f1',
49
  'dart_clock_rev': 'a494269254ba978e7ef8f192c5f7fec3fc05b9d3',
50
  'dart_collection_rev': 'a4c941ab94044d118b2086a3f261c30377604127',
51
  'dart_devtools_rev': '2b47d9ed486479153ca2fd038000950674ed1beb',
52
  'dart_intl_tag': '0.17.0-nullsafety',
53
  'dart_linter_tag': '1.11.0',
54
  'dart_protobuf_rev': 'c1eb6cb51af39ccbaa1a8e19349546586a5c8e31',
55
  'dart_pub_rev': 'cafadd17ba285dad9ebe6d34c617bc0d70d096b3',
56
  'dart_resource_rev': '6b79867d0becf5395e5819a75720963b8298e9a7',
57
  'dart_root_certificates_rev': '692f6d6488af68e0121317a9c2c9eb393eb0ee50',
58
  'dart_shelf_proxy_tag': 'v1.0.0',
59
  'dart_shelf_static_rev': '202ec1a53c9a830c17cf3b718d089cf7eba568ad',
60
  'dart_watcher_rev': '3924194385fb215cef483193ed2879a618a3d69c',
61
  'dart_webdev_rev': '832b096c0c24798d3df46faa7b7661fe930573c2',
62
  'dart_webkit_inspection_protocol_rev': 'dd6fb5d8b536e19cedb384d0bbf1f5631923f1e8',
63

64
  'ocmock_tag': 'v3.7.1',
65

66 67 68
  # Build bot tooling for iOS
  'ios_tools_revision': '69b7c1b160e7107a6a98d948363772dc9caea46f',

69
  # Checkout Android dependencies only on platforms where we build for Android targets.
70
  'download_android_deps': 'host_cpu == "x64" and (host_os == "mac" or host_os == "linux")',
71 72 73

  # Checkout Windows dependencies only if we are building on Windows.
  'download_windows_deps' : 'host_os == "win"',
74

S
stuartmorgan 已提交
75 76 77
  # Checkout Linux dependencies only when building on Linux.
  'download_linux_deps': 'host_os == "linux"',

78 79 80 81 82 83
  # An LLVM backend needs LLVM binaries and headers. To avoid build time
  # increases we can use prebuilts. We don't want to download this on every
  # CQ/CI bot nor do we want the average Dart developer to incur that cost.
  # So by default we will not download prebuilts. This varible is needed in
  # the flutter engine to ensure that Dart gn has access to it as well.
  "checkout_llvm": False,
A
Adam Barth 已提交
84 85
}

86 87 88 89 90
gclient_gn_args_file = 'src/third_party/dart/build/config/gclient_args.gni'
gclient_gn_args = [
  'checkout_llvm'
]

A
Adam Barth 已提交
91 92 93 94
# Only these hosts are allowed for dependencies in this DEPS file.
# If you need to add a new host, contact chrome infrastructure team.
allowed_hosts = [
  'chromium.googlesource.com',
J
Jason Simmons 已提交
95
  'flutter.googlesource.com',
A
Adam Barth 已提交
96
  'fuchsia.googlesource.com',
J
James Robinson 已提交
97
  'github.com',
98
  'skia.googlesource.com',
A
Adam Barth 已提交
99 100 101
]

deps = {
102
  'src': 'https://github.com/flutter/buildroot.git' + '@' + 'bd712c9a76385678918c9579a418a088696079bc',
103

A
Adam Barth 已提交
104 105 106 107 108 109
   # Fuchsia compatibility
   #
   # The dependencies in this section should match the layout in the Fuchsia gn
   # build. Eventually, we'll manage these dependencies together with Fuchsia
   # and not have to specific specific hashes.

110
  'src/third_party/benchmark':
111
   Var('fuchsia_git') + '/third_party/benchmark' + '@' + 'a779ffce872b4c811beef482e18bd0b63626aa42',
112

113
  'src/third_party/rapidjson':
S
stuartmorgan 已提交
114
   Var('fuchsia_git') + '/third_party/rapidjson' + '@' + 'ef3564c5c8824989393b87df25355baf35ff544b',
115

116
  'src/third_party/harfbuzz':
117
   Var('fuchsia_git') + '/third_party/harfbuzz' + '@' + '9a15acd28cf9c62a5820b6ed1013c4a7f8717d8c',
118

119
  'src/third_party/libcxx':
120
   Var('fuchsia_git') + '/third_party/libcxx' + '@' + '7524ef50093a376f334a62a7e5cebf5d238d4c99',
121 122

  'src/third_party/libcxxabi':
123
   Var('fuchsia_git') + '/third_party/libcxxabi' + '@' + '74d1e602c76350f0760bf6907910e4f3a4fccffe',
124

125 126 127
  'src/third_party/glfw':
   Var('fuchsia_git') + '/third_party/glfw' + '@' + '999f3556fdd80983b10051746264489f2cb1ef16',

128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143
  'src/third_party/shaderc':
   Var('github_git') + '/google/shaderc.git' + '@' + '948660cccfbbc303d2590c7f44a4cee40b66fdd6',

  'src/third_party/glslang':
   Var('github_git') + '/KhronosGroup/glslang.git' + '@' + '9431c53c84c14fa9e9cd37678262ebba55c62c87',

  'src/third_party/spirv_tools':
   Var('github_git') + '/KhronosGroup/SPIRV-Tools.git' + '@' + '1020e394cb1267332d58497150d2b024371a8e41',

  'src/third_party/spirv_headers':
   Var('github_git') + '/KhronosGroup/SPIRV-Headers.git' + '@' + '85b7e00c7d785962ffe851a177c84353d037dcb6',

  'src/third_party/spirv_cross':
   Var('github_git') + '/KhronosGroup/SPIRV-Cross.git' + '@' + '418542eaefdb609f548d25a1e3962fb69d80da63',


A
Adam Barth 已提交
144 145 146 147 148
   # Chromium-style
   #
   # As part of integrating with Fuchsia, we should eventually remove all these
   # Chromium-style dependencies.

149
  'src/ios_tools':
150
   Var('chromium_git') + '/chromium/src/ios.git' + '@' + Var('ios_tools_revision'),
A
Adam Barth 已提交
151 152

  'src/third_party/icu':
153
   Var('chromium_git') + '/chromium/deps/icu.git' + '@' + 'a38aef9142ace942a8bf166020c569f4cda0f8d3',
A
Adam Barth 已提交
154

S
stuartmorgan 已提交
155 156
  'src/third_party/khronos':
   Var('chromium_git') + '/chromium/src/third_party/khronos.git' + '@' + '7122230e90547962e0f0c627f62eeed3c701f275',
157

158 159
  'src/third_party/googletest':
   Var('github_git') + '/google/googletest' + '@' + 'f5e592d8ee5ffb1d9af5be7f715ce3576b8bf9c4',
S
stuartmorgan 已提交
160

161
  'src/third_party/boringssl':
162
   Var('github_git') + '/dart-lang/boringssl_gen.git' + '@' + Var('dart_boringssl_gen_rev'),
163 164

  'src/third_party/boringssl/src':
165
   'https://boringssl.googlesource.com/boringssl.git' + '@' + Var('dart_boringssl_rev'),
166

167 168 169 170 171
  'src/third_party/dart':
   Var('dart_git') + '/sdk.git' + '@' + Var('dart_revision'),

  # WARNING: Unused Dart dependencies in the list below till "WARNING:" marker are removed automatically - see create_updated_flutter_deps.py.

B
Ben Konyi 已提交
172
  'src/third_party/dart/third_party/devtools':
173
   {'packages': [{'version': 'git_revision:2b47d9ed486479153ca2fd038000950674ed1beb', 'package': 'dart/third_party/flutter/devtools'}], 'dep_type': 'cipd'},
B
Ben Konyi 已提交
174

175
  'src/third_party/dart/third_party/pkg/args':
176
   Var('dart_git') + '/args.git@3b3f55766af13d895d2020ec001a28e8dc147f91',
177

178
  'src/third_party/dart/third_party/pkg/async':
179
   Var('dart_git') + '/async.git@c64220396e0fa2f7b380590abfedbd25635cd7a0',
180

181
  'src/third_party/dart/third_party/pkg/bazel_worker':
182
   Var('dart_git') + '/bazel_worker.git@0885637b037979afbf5bcd05fd748b309fd669c0',
183

184
  'src/third_party/dart/third_party/pkg/boolean_selector':
185
   Var('dart_git') + '/boolean_selector.git@665e6921ab246569420376f827bff4585dff0b14',
186

187 188 189
  'src/third_party/dart/third_party/pkg/browser_launcher':
   Var('dart_git') + '/browser_launcher.git' + '@' + Var('dart_browser_launcher_rev'),

190
  'src/third_party/dart/third_party/pkg/charcode':
191
   Var('dart_git') + '/charcode.git@84ea427711e24abf3b832923959caa7dd9a8514b',
192

193
  'src/third_party/dart/third_party/pkg/cli_util':
194
   Var('dart_git') + '/cli_util.git@8c504de5deb08fe32ecf51f9662bb37d8c708e57',
195

196 197 198
  'src/third_party/dart/third_party/pkg/clock':
   Var('dart_git') + '/clock.git' + '@' + Var('dart_clock_rev'),

199
  'src/third_party/dart/third_party/pkg/collection':
200
   Var('dart_git') + '/collection.git' + '@' + Var('dart_collection_rev'),
201

202
  'src/third_party/dart/third_party/pkg/convert':
203
   Var('dart_git') + '/convert.git@e063fdca4bebffecbb5e6aa5525995120982d9ce',
204

205
  'src/third_party/dart/third_party/pkg/crypto':
206
   Var('dart_git') + '/crypto.git@b5024e4de2b1c474dd558bef593ddbf0bfade152',
207

208
  'src/third_party/dart/third_party/pkg/csslib':
209
   Var('dart_git') + '/csslib.git@6338de25a09d098a62c9a1992c175e9ceb5b994a',
210

211
  'src/third_party/dart/third_party/pkg/dartdoc':
212
   Var('dart_git') + '/dartdoc.git@7fd237db737752800505eff510bf3fa8d3e00eb7',
213

214
  'src/third_party/dart/third_party/pkg/ffi':
215
   Var('dart_git') + '/ffi.git@4dd32429880a57b64edaf54c9d5af8a9fa9a4ffb',
216

D
Daco Harkes 已提交
217
  'src/third_party/dart/third_party/pkg/file':
218
   Var('dart_git') + '/external/github.com/google/file.dart/@0e09370f581ab6388d46fda4cdab66638c0171a1',
219

220
  'src/third_party/dart/third_party/pkg/fixnum':
221
   Var('dart_git') + '/fixnum.git@16d3890c6dc82ca629659da1934e412292508bba',
222

223
  'src/third_party/dart/third_party/pkg/glob':
224
   Var('dart_git') + '/glob.git@a62acf590598f458d3198d9f2930c1c9dd4b1379',
225

226
  'src/third_party/dart/third_party/pkg/html':
227
   Var('dart_git') + '/html.git@00cd3c22dac0e68e6ed9e7e4945101aedb1b3109',
228

229
  'src/third_party/dart/third_party/pkg/http':
230
   Var('dart_git') + '/http.git@778174bca2c13becd88ef3353309190b1e8b9479',
231

232
  'src/third_party/dart/third_party/pkg/http_multi_server':
233
   Var('dart_git') + '/http_multi_server.git@de1b312164c24a1690b46c6e97bd47eff40c4649',
234

235
  'src/third_party/dart/third_party/pkg/http_parser':
236
   Var('dart_git') + '/http_parser.git@202391286ddc13c4c3c284ac5b511f04697250ed',
237

238 239
  'src/third_party/dart/third_party/pkg/intl':
   Var('dart_git') + '/intl.git' + '@' + Var('dart_intl_tag'),
240

241
  'src/third_party/dart/third_party/pkg/json_rpc_2':
242
   Var('dart_git') + '/json_rpc_2.git@7e00f893440a72de0637970325e4ea44bd1e8c8e',
243

244
  'src/third_party/dart/third_party/pkg/linter':
245
   Var('dart_git') + '/linter.git' + '@' + Var('dart_linter_tag'),
246

247
  'src/third_party/dart/third_party/pkg/logging':
248
   Var('dart_git') + '/logging.git@575781ef196e4fed4fb737e38fb4b73d62727187',
249

250
  'src/third_party/dart/third_party/pkg/markdown':
251
   Var('dart_git') + '/markdown.git@9c4beaac96d8f008078e00b027915f81b665d2de',
252

253
  'src/third_party/dart/third_party/pkg/matcher':
254
   Var('dart_git') + '/matcher.git@6ba4a6d68bdfacff3d572c9ea98333dfc66fd6bf',
255

256
  'src/third_party/dart/third_party/pkg/mime':
257
   Var('dart_git') + '/mime.git@c931f4bed87221beaece356494b43731445ce7b8',
258

259
  'src/third_party/dart/third_party/pkg/mockito':
260
   Var('dart_git') + '/mockito.git@d39ac507483b9891165e422ec98d9fb480037c8b',
261

262
  'src/third_party/dart/third_party/pkg/oauth2':
263
   Var('dart_git') + '/oauth2.git@7cd3284049fe5badbec9f2bea2afc41d14c01057',
264

265
  'src/third_party/dart/third_party/pkg/path':
266
   Var('dart_git') + '/path.git@c20d73c3516d3a0061c90f14b761ff532b9bf707',
267

S
Siva 已提交
268
  'src/third_party/dart/third_party/pkg/pedantic':
269
   Var('dart_git') + '/pedantic.git@66f2f6c27581c7936482e83be80b27be2719901c',
S
Siva 已提交
270

271
  'src/third_party/dart/third_party/pkg/pool':
272
   Var('dart_git') + '/pool.git@7abe634002a1ba8a0928eded086062f1307ccfae',
273

274
  'src/third_party/dart/third_party/pkg/protobuf':
275
   Var('dart_git') + '/protobuf.git' + '@' + Var('dart_protobuf_rev'),
276

277
  'src/third_party/dart/third_party/pkg/pub':
278
   Var('dart_git') + '/pub.git' + '@' + Var('dart_pub_rev'),
279

280
  'src/third_party/dart/third_party/pkg/pub_semver':
281
   Var('dart_git') + '/pub_semver.git@a43ad72fb6b7869607581b5fedcb186d1e74276a',
282

283
  'src/third_party/dart/third_party/pkg/resource':
B
Ben Konyi 已提交
284
   Var('dart_git') + '/resource.git' + '@' + Var('dart_resource_rev'),
285

286
  'src/third_party/dart/third_party/pkg/shelf':
287
   Var('dart_git') + '/shelf.git@46483f896cc4308ee3d8e997030ae799b72aa16a',
288

289
  'src/third_party/dart/third_party/pkg/shelf_packages_handler':
290
   Var('dart_git') + '/shelf_packages_handler.git@78302e67c035047e6348e692b0c1182131f0fe35',
291

292 293 294
  'src/third_party/dart/third_party/pkg/shelf_proxy':
   Var('dart_git') + '/shelf_proxy.git' + '@' + Var('dart_shelf_proxy_tag'),

295
  'src/third_party/dart/third_party/pkg/shelf_static':
296
   Var('dart_git') + '/shelf_static.git' + '@' + Var('dart_shelf_static_rev'),
297

298
  'src/third_party/dart/third_party/pkg/shelf_web_socket':
299
   Var('dart_git') + '/shelf_web_socket.git@24fb8a04befa75a94ac63a27047b231d1a22aab4',
300

301
  'src/third_party/dart/third_party/pkg/source_map_stack_trace':
302
   Var('dart_git') + '/source_map_stack_trace.git@1c3026f69d9771acf2f8c176a1ab750463309cce',
303

304
  'src/third_party/dart/third_party/pkg/source_maps':
305
   Var('dart_git') + '/source_maps.git@53eb92ccfe6e64924054f83038a534b959b12b3e',
306

307
  'src/third_party/dart/third_party/pkg/source_span':
308
   Var('dart_git') + '/source_span.git@1be3c44045a06dff840d2ed3a13e6082d7a03a23',
309

B
Ben Konyi 已提交
310
  'src/third_party/dart/third_party/pkg/sse':
311
   Var('dart_git') + '/sse.git@9084339389eb441d0c0518cddac211a097e78657',
B
Ben Konyi 已提交
312

313
  'src/third_party/dart/third_party/pkg/stack_trace':
314
   Var('dart_git') + '/stack_trace.git@6788afc61875079b71b3d1c3e65aeaa6a25cbc2f',
315

316
  'src/third_party/dart/third_party/pkg/stream_channel':
317
   Var('dart_git') + '/stream_channel.git@d7251e61253ec389ee6e045ee1042311bced8f1d',
318

319
  'src/third_party/dart/third_party/pkg/string_scanner':
320
   Var('dart_git') + '/string_scanner.git@1b63e6e5db5933d7be0a45da6e1129fe00262734',
321

322
  'src/third_party/dart/third_party/pkg/term_glyph':
323
   Var('dart_git') + '/term_glyph.git@6a0f9b6fb645ba75e7a00a4e20072678327a0347',
324

325
  'src/third_party/dart/third_party/pkg/test':
326
   Var('dart_git') + '/test.git@099dcc4d052a30c6921489cfbefa1c8531d12975',
327

B
Ben Konyi 已提交
328
  'src/third_party/dart/third_party/pkg/test_reflective_loader':
329
   Var('dart_git') + '/test_reflective_loader.git@fcfce37666672edac849d2af6dffc0f8df236a94',
B
Ben Konyi 已提交
330

331
  'src/third_party/dart/third_party/pkg/typed_data':
332
   Var('dart_git') + '/typed_data.git@29ce5a92b03326d0b8035916ac04f528874994bd',
333

334
  'src/third_party/dart/third_party/pkg/usage':
335
   Var('dart_git') + '/usage.git@e0780cd8b2f8af69a28dc52678ffe8492da27d06',
336

337
  'src/third_party/dart/third_party/pkg/watcher':
B
Ben Konyi 已提交
338
   Var('dart_git') + '/watcher.git' + '@' + Var('dart_watcher_rev'),
339

340
  'src/third_party/dart/third_party/pkg/web_socket_channel':
341
   Var('dart_git') + '/web_socket_channel.git@6448ce532445a8a458fa191d9346df071ae0acad',
342

343 344 345
  'src/third_party/dart/third_party/pkg/webdev':
   Var('dart_git') + '/webdev.git' + '@' + Var('dart_webdev_rev'),

346 347 348
  'src/third_party/dart/third_party/pkg/webkit_inspection_protocol':
   Var('dart_git') + '/external/github.com/google/webkit_inspection_protocol.dart.git' + '@' + Var('dart_webkit_inspection_protocol_rev'),

349
  'src/third_party/dart/third_party/pkg/yaml':
350
   Var('dart_git') + '/yaml.git@2af44871f684c89e973a96e39026b8b88dda1987',
A
Adam Barth 已提交
351

352
  'src/third_party/dart/third_party/pkg_tested/dart_style':
353
   Var('dart_git') + '/dart_style.git@14d9b6fd58cc4744676c12be3cc5eee2a779db82',
354 355

  'src/third_party/dart/third_party/pkg_tested/package_config':
356
   Var('dart_git') + '/package_config.git@fb736aa12316dd2d882b202a438a6946a4b4bea0',
357

358
  'src/third_party/dart/tools/sdks':
359
   {'packages': [{'version': 'version:2.15.0-82.0.dev', 'package': 'dart/dart-sdk/${{platform}}'}], 'dep_type': 'cipd'},
360

361 362
  # WARNING: end of dart dependencies list that is cleaned up automatically - see create_updated_flutter_deps.py.

363 364 365
  'src/third_party/colorama/src':
   Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',

366 367 368
  'src/third_party/expat':
   Var('flutter_git') + '/third_party/expat' + '@' + '1441fc5252746e53b285d15be7e65e4cd74d97eb',

369
  'src/third_party/freetype2':
J
Jason Simmons 已提交
370
   Var('flutter_git') + '/third_party/freetype2' + '@' + '1f03c1b2d7f2ae832a4fbe9d12bd96c3c15bbece',
371

372
  'src/third_party/root_certificates':
373
   Var('dart_git') + '/root_certificates.git' + '@' + Var('dart_root_certificates_rev'),
C
Chinmay Garde 已提交
374

A
Adam Barth 已提交
375
  'src/third_party/skia':
376
   Var('skia_git') + '/skia.git' + '@' +  Var('skia_revision'),
A
Adam Barth 已提交
377

378 379 380
  'src/third_party/ocmock':
   Var('ocmock_git') + '@' +  Var('ocmock_tag'),

381
  'src/third_party/libjpeg-turbo':
382
   Var('fuchsia_git') + '/third_party/libjpeg-turbo' + '@' + '0fb821f3b2e570b2783a94ccd9a2fb1f4916ae9f',
383

384
  'src/third_party/libpng':
385
   Var('flutter_git') + '/third_party/libpng' + '@' + '45c760458b4a83d567cc42d21bd79a3b3fe21815',
386

A
amirh 已提交
387
  'src/third_party/libwebp':
D
Dan Field 已提交
388
   Var('chromium_git') + '/webm/libwebp.git' + '@' + '1.2.0',
A
amirh 已提交
389

390
  'src/third_party/wuffs':
391
   Var('skia_git') + '/external/github.com/google/wuffs.git' + '@' +  '1b9a6cb85b9f359595bd264d4c95da5d1291adc5',
392

393 394 395
  'src/third_party/fontconfig/src':
   Var('chromium_git') + '/external/fontconfig.git' + '@' + 'c336b8471877371f0190ba06f7547c54e2b890ba',

396 397 398
  'src/third_party/pyyaml':
   Var('fuchsia_git') + '/third_party/pyyaml.git' + '@' + '25e97546488eee166b1abb229a27856cecd8b7ac',

399
   # Headers for Vulkan 1.1
400
   'src/third_party/vulkan':
401
   Var('github_git') + '/KhronosGroup/Vulkan-Docs.git' + '@' + 'v1.1.91',
402

403
   'src/third_party/swiftshader':
404
   Var('swiftshader_git') + '/SwiftShader.git' + '@' + '5d1e8540407c138f47028d64684f3da599430aa4',
405

406
   'src/third_party/angle':
407
   Var('github_git') + '/google/angle.git' + '@' + '06d194e2ae7b1d7e0eda0c0c911eff92dec7d3d1',
408

S
stuartmorgan 已提交
409
   'src/third_party/angle/third_party/vulkan-deps/vulkan-headers/src':
410 411 412 413
   Var('fuchsia_git') + '/third_party/Vulkan-Headers.git' + '@' + '5de4e8fab88ef0bd6994d9ddbcc864e3179b9e79',

   'src/third_party/abseil-cpp':
   Var('chromium_git') + '/chromium/src/third_party/abseil-cpp.git' + '@' + '2d8c1340f0350828f1287c4eaeebefcf317bcfc9',
414

415 416 417 418
   # Dart packages
  'src/third_party/pkg/archive':
  Var('github_git') + '/brendan-duncan/archive.git' + '@' + '3.1.2',

419 420 421
  'src/third_party/pkg/equatable':
  Var('github_git') + '/felangel/equatable.git' + '@' + '0ba67c72db8bed75877fc1caafa74112ee0bd921', # 2.0.2

422 423 424
  'src/third_party/pkg/file':
  Var('github_git') + '/google/file.dart.git' + '@' + '427bb20ccc852425d67f2880da2a9b4707c266b4', # 6.1.0

425 426 427 428 429 430 431 432 433
  'src/third_party/pkg/flutter_packages':
  Var('github_git') + '/flutter/packages.git' + '@' + '5617d089f26dd52da3bf05c9fa4620ef11a7419b', # various

  'src/third_party/pkg/gcloud':
  Var('github_git') + '/dart-lang/gcloud.git' + '@' + '92a33a9d95ea94a4354b052a28b98088d660e0e7', # 0.8.0-dev

  'src/third_party/pkg/googleapis':
  Var('github_git') + '/google/googleapis.dart.git' + '@' + '07f01b7aa6985e4cafd0fd4b98724841bc9e85a1', # various

434 435 436 437 438 439
  'src/third_party/pkg/platform':
  Var('github_git') + '/google/platform.dart.git' + '@' + 'f63fd0bc3021354a0687dc935962c9acc003f47e', # 3.0.1

  'src/third_party/pkg/process':
  Var('github_git') + '/google/process.dart.git' + '@' + '0c9aeac86dcc4e3a6cf760b76fed507107e244d5', # 4.2.1

440 441 442
  'src/third_party/pkg/process_runner':
  Var('github_git') + '/google/process_runner.git' + '@' + 'd632ea0bfd814d779fcc53a361ed33eaf3620a0b', # 4.0.1

443 444 445
  'src/third_party/pkg/vector_math':
  Var('github_git') + '/google/vector_math.dart.git' + '@' + 'v2.1.0',

446
  'src/third_party/pkg/when':
447
  Var('dart_git') + '/when.git' + '@' + '0.2.0',
448

449 450 451 452 453 454 455 456 457 458 459
  'src/gradle': {
    'packages': [
      {
        'version': 'version:7.0.2',
        'package': 'flutter/gradle'
      }
    ],
    'condition': 'download_android_deps',
    'dep_type': 'cipd'
  },

460
  'src/third_party/android_tools/ndk': {
461 462 463
     'packages': [
       {
        'package': 'flutter/android/ndk/${{platform}}',
B
Brandon DeRosier 已提交
464
        'version': 'version:r22.0.7026061'
465 466 467 468 469 470
       }
     ],
     'condition': 'download_android_deps',
     'dep_type': 'cipd',
   },

471 472 473 474 475 476 477 478 479 480 481 482 483 484
   'src/third_party/android_tools/google-java-format': {
     'packages': [
       {
        'package': 'flutter/android/google-java-format',
        'version': 'version:1.7-1'
       }
     ],
     # We want to be able to format these as part of CI, and the CI step that
     # checks formatting runs without downloading the rest of the Android build
     # tooling. Therefore unlike all the other Android-related tools, we want to
     # download this every time.
     'dep_type': 'cipd',
   },

485 486 487 488
  'src/third_party/android_tools/sdk/build-tools': {
     'packages': [
       {
        'package': 'flutter/android/sdk/build-tools/${{platform}}',
489
        'version': 'version:31.0.0S'
490 491 492 493 494 495 496 497 498 499
       }
     ],
     'condition': 'download_android_deps',
     'dep_type': 'cipd',
   },

  'src/third_party/android_tools/sdk/platform-tools': {
     'packages': [
       {
        'package': 'flutter/android/sdk/platform-tools/${{platform}}',
500
        'version': 'version:31.0.2S'
501 502 503 504 505 506 507 508 509 510
       }
     ],
     'condition': 'download_android_deps',
     'dep_type': 'cipd',
   },

  'src/third_party/android_tools/sdk/platforms': {
     'packages': [
       {
        'package': 'flutter/android/sdk/platforms',
511
        'version': 'version:31S'
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527
       }
     ],
     'condition': 'download_android_deps',
     'dep_type': 'cipd',
   },

  'src/third_party/android_tools/sdk/tools': {
     'packages': [
       {
        'package': 'flutter/android/sdk/tools/${{platform}}',
        'version': 'version:26.1.1'
       }
     ],
     'condition': 'download_android_deps',
     'dep_type': 'cipd',
   },
528

529 530 531 532 533 534 535 536 537 538 539
  'src/third_party/android_tools/sdk/cmdline-tools': {
     'packages': [
       {
        'package': 'flutter/android/sdk/cmdline-tools',
        'version': 'latest',
       }
     ],
    'condition': 'download_android_deps',
    'dep_type': 'cipd',
  },

540 541 542
  'src/third_party/android_tools/sdk/licenses': {
     'packages': [
       {
543
        'package': 'flutter/android/sdk/licenses',
544 545 546 547 548 549 550
        'version': 'latest',
       }
     ],
    'condition': 'download_android_deps',
    'dep_type': 'cipd',
  },

551
  'src/third_party/android_embedding_dependencies': {
552 553
     'packages': [
       {
554
        'package': 'flutter/android/embedding_bundle',
555
        'version': 'last_updated:2021-08-10T22:12:57-0700'
E
Emmanuel Garcia 已提交
556 557 558 559 560 561
       }
     ],
     'condition': 'download_android_deps',
     'dep_type': 'cipd',
   },

562 563 564 565 566 567 568 569 570 571
  'src/third_party/web_dependencies': {
     'packages': [
       {
         'package': 'flutter/web/canvaskit_bundle',
         'version': Var('canvaskit_cipd_instance')
       }
     ],
     'dep_type': 'cipd',
   },

E
Emmanuel Garcia 已提交
572 573 574 575 576
  'src/third_party/java/openjdk': {
     'packages': [
       {
        'package': 'flutter/java/openjdk/${{platform}}',
        'version': 'version:11'
577 578 579 580 581 582
       }
     ],
     'condition': 'download_android_deps',
     'dep_type': 'cipd',
   },

D
Dan Field 已提交
583 584 585 586
  'src/flutter/third_party/gn': {
    'packages': [
      {
        'package': 'gn/gn/${{platform}}',
587
        'version': 'git_revision:24e2f7df92641de0351a96096fb2c490b2436bb8'
D
Dan Field 已提交
588 589 590 591 592
      },
    ],
    'dep_type': 'cipd',
  },

593 594 595
  # Clang on mac and linux are expected to typically be the same revision.
  # They are separated out so that the autoroller can more easily manage them.
  'src/buildtools/mac-x64/clang': {
D
Dan Field 已提交
596 597
    'packages': [
      {
598
        'package': 'fuchsia/third_party/clang/mac-amd64',
599
        'version': 'OWP5QAE8i_HQjJnecLNDjqzhX6Rcuy2ujvfiQ4ZLxRkC'
D
Dan Field 已提交
600 601
      }
    ],
602 603 604 605 606 607 608 609
    'condition': 'host_os == "mac"',
    'dep_type': 'cipd',
  },

  'src/buildtools/linux-x64/clang': {
    'packages': [
      {
        'package': 'fuchsia/third_party/clang/linux-amd64',
610
        'version': 'KK8UQefBW5faV9ukp57RggyEACXjJV3Nb5xnvHdXL8MC'
611 612 613
      }
    ],
    'condition': 'host_os == "linux"',
D
Dan Field 已提交
614 615 616
    'dep_type': 'cipd',
  },

D
Dan Field 已提交
617 618 619 620 621 622 623 624 625 626 627 628
  # TODO(fxb/4443): Remove this when Fuchsia can provide the Windows Clang Toolchain
  'src/third_party/llvm-build/Release+Asserts': {
    'packages': [
      {
        'package': 'flutter/clang/win-amd64',
        'version': 'git_revision:5ec206df8534d2dd8cb9217c3180e5ddba587393'
      }
    ],
    'condition': 'download_windows_deps',
    'dep_type': 'cipd',
  },

629 630 631 632 633 634 635
   # Get the SDK from https://chrome-infra-packages.appspot.com/p/fuchsia/sdk/core at the 'latest' tag
   # Get the toolchain from https://chrome-infra-packages.appspot.com/p/fuchsia/clang at the 'goma' tag

   'src/fuchsia/sdk/mac': {
     'packages': [
       {
        'package': 'fuchsia/sdk/core/mac-amd64',
636
        'version': 'OVVg7oNPIs5UzPNXbOSbJnsX8IdxkFo2xn3ns1kkadIC'
637 638 639 640 641 642 643 644 645
       }
     ],
     'condition': 'host_os == "mac"',
     'dep_type': 'cipd',
   },
   'src/fuchsia/sdk/linux': {
     'packages': [
       {
        'package': 'fuchsia/sdk/core/linux-amd64',
646
        'version': 'vM2cIvcGjqcqcxkdueKLoyLAtJEyqzQfbFPNyUJF-zMC'
647 648 649 650 651
       }
     ],
     'condition': 'host_os == "linux"',
     'dep_type': 'cipd',
   },
652

653 654 655 656 657 658 659 660 661 662 663
  # Windows SDK
  'src/third_party/windows_sdk': {
    'packages': [
      {
        'package': 'flutter/windows/windows-sdk',
        'version': 'build:10.0.19041.0'
      }
    ],
    'condition': 'download_windows_deps',
    'dep_type': 'cipd',
  },
664 665 666 667 668
  # CppWinRT tooling for UWP builds
  'src/third_party/cppwinrt': {
    'packages': [
      {
        'package': 'flutter/cppwinrt/win-amd64',
669
        'version': 'build:2.0.210505.3'
670 671 672 673 674 675
      }
    ],
    'condition': 'download_windows_deps',
    'dep_type': 'cipd',
  },

A
Adam Barth 已提交
676 677 678
}

hooks = [
679 680 681
  {
    # Update the Windows toolchain if necessary.
    'name': 'win_toolchain',
682
    'condition': 'download_windows_deps',
683
    'pattern': '.',
684
    'action': ['python3', 'src/build/vs_toolchain.py', 'update'],
685
  },
A
Adam Barth 已提交
686 687 688 689 690 691
  {
    # Ensure that we don't accidentally reference any .pyc files whose
    # corresponding .py files have already been deleted.
    'name': 'remove_stale_pyc_files',
    'pattern': 'src/tools/.*\\.py',
    'action': [
692
        'python3',
A
Adam Barth 已提交
693 694 695 696
        'src/tools/remove_stale_pyc_files.py',
        'src/tools',
    ],
  },
D
Dan Field 已提交
697 698 699 700 701
  {
    'name': 'dia_dll',
    'pattern': '.',
    'condition': 'download_windows_deps',
    'action': [
702
      'python3',
D
Dan Field 已提交
703 704 705
      'src/flutter/tools/dia_dll.py',
    ],
  },
S
stuartmorgan 已提交
706
  {
707
    'name': 'linux_sysroot_x64',
S
stuartmorgan 已提交
708 709 710
    'pattern': '.',
    'condition': 'download_linux_deps',
    'action': [
711
      'python3',
S
stuartmorgan 已提交
712 713 714
      'src/build/linux/sysroot_scripts/install-sysroot.py',
      '--arch=x64'],
  },
715 716 717 718 719
  {
    'name': 'linux_sysroot_arm64',
    'pattern': '.',
    'condition': 'download_linux_deps',
    'action': [
720
      'python3',
721 722 723
      'src/build/linux/sysroot_scripts/install-sysroot.py',
      '--arch=arm64'],
  },
724
  {
725
    'name': 'pub get --offline',
726 727
    'pattern': '.',
    'action': [
728
      'python3',
729
      'src/flutter/tools/pub_get_offline.py',
730
    ]
731 732 733 734 735 736 737 738
  },
  {
    # This must run whenever the cppwinrt dependency is updated
    # to regenerate winrt headers
    'name': 'Generate winrt headers',
    'pattern': '.',
    'condition': 'download_windows_deps',
    'action': [
739
      'python3',
740 741
      'src/build/win/generate_winrt_headers.py',
    ]
742
  },
743 744 745 746 747 748 749 750
  {
    'name': 'Download prebuilt Dart SDK',
    'pattern': '.',
    'action': [
      'python3',
      'src/flutter/tools/download_dart_sdk.py',
    ]
  },
751 752 753 754 755 756 757
  {
    'name': 'Setup githooks',
    'pattern': '.',
    'action': [
      'python3',
      'src/flutter/tools/githooks/setup.py',
    ]
758
  }
A
Adam Barth 已提交
759
]