DEPS 23.5 KB
Newer Older
A
Adam Barth 已提交
1 2 3 4 5 6 7 8 9 10 11
# This file is automatically processed to create .DEPS.git which is the file
# that gclient uses under git.
#
# 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
12
#   gclient sync..
A
Adam Barth 已提交
13 14 15 16 17 18 19 20 21
# 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.

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

I
Ian Hickson 已提交
31 32 33
  # 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
34
  # Dart is: https://github.com/dart-lang/sdk/blob/master/DEPS.
35
  # You can use //tools/dart/create_updated_flutter_deps.py to produce
36
  # updated revision list of existing dependencies.
37
  'dart_revision': '7a2a3968ef53a46ca7c512257a449ea1319e74f2',
38

39 40
  # WARNING: DO NOT EDIT MANUALLY
  # The lines between blank lines above and below are generated by a script. See create_updated_flutter_deps.py
41
  'dart_args_tag': '1.6.0',
42
  'dart_boringssl_gen_rev': '429ccb1877f7987a6f3988228bc2440e61293499',
43
  'dart_boringssl_rev': '4dfd5af70191b068aebe567b8e29ce108cee85ce',
44
  'dart_clock_rev': 'a494269254ba978e7ef8f192c5f7fec3fc05b9d3',
45
  'dart_collection_rev': 'e4bb038ce2d8e66fb15818aa40685c68d53692ab',
46
  'dart_dart_style_tag': '1.3.10',
47
  'dart_http_retry_tag': '0.1.1',
48
  'dart_http_throttle_tag': '1.0.2',
49
  'dart_intl_tag': '0.17.0-nullsafety',
50
  'dart_linter_tag': '0.1.125',
51
  'dart_oauth2_tag': '1.6.0',
52 53
  'dart_protobuf_rev': '0d03fd588df69e9863e2a2efc0059dee8f18d5b2',
  'dart_pub_rev': '228e69e53862879c283c42b98086aa7536012a66',
54
  'dart_resource_rev': '6b79867d0becf5395e5819a75720963b8298e9a7',
55
  'dart_root_certificates_rev': '7e5ec82c99677a2e5b95ce296c4d68b0d3378ed8',
56
  'dart_shelf_packages_handler_tag': '2.0.0',
57
  'dart_shelf_proxy_tag': '0.1.0+7',
58
  'dart_shelf_static_rev': 'a6168f162df88b0eef7e328629bf020122d5039e',
59
  'dart_sse_tag': '9a486d058a17e880afa9cc1c3c0dd8bad726bcbc',
60
  'dart_stack_trace_tag': '6788afc61875079b71b3d1c3e65aeaa6a25cbc2f',
61
  'dart_stagehand_tag': 'v3.3.11',
62
  'dart_stream_channel_tag': 'd7251e61253ec389ee6e045ee1042311bced8f1d',
63
  'dart_test_reflective_loader_tag': '0.1.9',
64
  'dart_typed_data_tag': 'f94fc57b8e8c0e4fe4ff6cfd8290b94af52d3719',
65
  'dart_usage_tag': '16fbfd90c58f16e016a295a880bc722d2547d2c9',
66
  'dart_watcher_rev': '64e254eba16f56d41f10d72c0b1cb24e130e1f8b',
67

68
  'ocmock_tag': 'v3.7.1',
69

70 71 72
  # Build bot tooling for iOS
  'ios_tools_revision': '69b7c1b160e7107a6a98d948363772dc9caea46f',

73 74 75 76 77
  # Checkout Android dependencies only on platforms where we build for Android targets.
  'download_android_deps': 'host_os == "mac" or host_os == "linux"',

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

S
stuartmorgan 已提交
79 80 81
  # Checkout Linux dependencies only when building on Linux.
  'download_linux_deps': 'host_os == "linux"',

82 83 84 85 86 87
  # 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 已提交
88 89
}

90 91 92 93 94
gclient_gn_args_file = 'src/third_party/dart/build/config/gclient_args.gni'
gclient_gn_args = [
  'checkout_llvm'
]

A
Adam Barth 已提交
95 96 97 98
# 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',
A
Adam Barth 已提交
99
  'fuchsia.googlesource.com',
J
James Robinson 已提交
100
  'github.com',
101
  'skia.googlesource.com',
A
Adam Barth 已提交
102 103 104
]

deps = {
J
Jason Simmons 已提交
105
  'src': 'https://github.com/flutter/buildroot.git' + '@' + '4985b584a430ea3fda9433dccafa5047531e0974',
106

A
Adam Barth 已提交
107 108 109 110 111 112
   # 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.

113
  'src/third_party/benchmark':
114
   Var('fuchsia_git') + '/third_party/benchmark' + '@' + 'a779ffce872b4c811beef482e18bd0b63626aa42',
115

J
Jason Simmons 已提交
116
  'src/third_party/googletest':
117
   Var('fuchsia_git') + '/third_party/googletest' + '@' + '3fef9015bfe7617d57806cd7c73a653b28559fae',
J
Jason Simmons 已提交
118

119
  'src/third_party/rapidjson':
S
stuartmorgan 已提交
120
   Var('fuchsia_git') + '/third_party/rapidjson' + '@' + 'ef3564c5c8824989393b87df25355baf35ff544b',
121

122
  'src/third_party/harfbuzz':
D
Dan Field 已提交
123
   Var('fuchsia_git') + '/third_party/harfbuzz' + '@' + '9c55f4cf3313d68d68f68419e7a57fb0771fcf49',
124

125
  'src/third_party/libcxx':
126
   Var('fuchsia_git') + '/third_party/libcxx' + '@' + '7524ef50093a376f334a62a7e5cebf5d238d4c99',
127 128

  'src/third_party/libcxxabi':
129
   Var('fuchsia_git') + '/third_party/libcxxabi' + '@' + '74d1e602c76350f0760bf6907910e4f3a4fccffe',
130

131 132 133
  'src/third_party/glfw':
   Var('fuchsia_git') + '/third_party/glfw' + '@' + '999f3556fdd80983b10051746264489f2cb1ef16',

A
Adam Barth 已提交
134 135 136 137 138
   # Chromium-style
   #
   # As part of integrating with Fuchsia, we should eventually remove all these
   # Chromium-style dependencies.

139
  'src/ios_tools':
140
   Var('chromium_git') + '/chromium/src/ios.git' + '@' + Var('ios_tools_revision'),
A
Adam Barth 已提交
141 142

  'src/third_party/icu':
143
   Var('chromium_git') + '/chromium/deps/icu.git' + '@' + 'c2a4cae149aae7fd30c4cbe3cf1b30df03b386f1',
A
Adam Barth 已提交
144

S
stuartmorgan 已提交
145 146 147
  'src/third_party/khronos':
   Var('chromium_git') + '/chromium/src/third_party/khronos.git' + '@' + '7122230e90547962e0f0c627f62eeed3c701f275',

148
  'src/third_party/boringssl':
149
   Var('github_git') + '/dart-lang/boringssl_gen.git' + '@' + Var('dart_boringssl_gen_rev'),
150 151

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

154 155 156 157 158
  '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.

159
  'src/third_party/dart/third_party/pkg/args':
160
   Var('dart_git') + '/args.git' + '@' + Var('dart_args_tag'),
161

162
  'src/third_party/dart/third_party/pkg/async':
163
   Var('dart_git') + '/async.git@695b3ac280f107c84adf7488743abfdfaaeea68f',
164

165
  'src/third_party/dart/third_party/pkg/bazel_worker':
166
   Var('dart_git') + '/bazel_worker.git@060c55a933d39798681a4f533b161b81dc48d77e',
167

168
  'src/third_party/dart/third_party/pkg/boolean_selector':
169
   Var('dart_git') + '/boolean_selector.git@665e6921ab246569420376f827bff4585dff0b14',
170

171
  'src/third_party/dart/third_party/pkg/charcode':
172
   Var('dart_git') + '/charcode.git@bcd8a12c315b7a83390e4865ad847ecd9344cba2',
173

174
  'src/third_party/dart/third_party/pkg/cli_util':
175
   Var('dart_git') + '/cli_util.git@50cc840b146615899e97b892578848401b2028d5',
176

177 178 179
  'src/third_party/dart/third_party/pkg/clock':
   Var('dart_git') + '/clock.git' + '@' + Var('dart_clock_rev'),

180
  'src/third_party/dart/third_party/pkg/collection':
181
   Var('dart_git') + '/collection.git' + '@' + Var('dart_collection_rev'),
182

183
  'src/third_party/dart/third_party/pkg/convert':
184
   Var('dart_git') + '/convert.git@dd3bd28f63be7cb8ab961f38bc73229e4473b555',
185

186
  'src/third_party/dart/third_party/pkg/crypto':
187
   Var('dart_git') + '/crypto.git@f7c48b334b1386bc5ab0f706fbcd6df8496a87fc',
188

189
  'src/third_party/dart/third_party/pkg/csslib':
190
   Var('dart_git') + '/csslib.git@6f77b3dcee957d3e2d5083f666221a220e9ed1f1',
191

192
  'src/third_party/dart/third_party/pkg/dart2js_info':
193
   Var('dart_git') + '/dart2js_info.git@83504e459e13862cc6a61c147147ef7892a0d285',
194

195
  'src/third_party/dart/third_party/pkg/dartdoc':
196
   Var('dart_git') + '/dartdoc.git@d79877d0764ce23ffea7055049f8da5dffce0308',
197

198
  'src/third_party/dart/third_party/pkg/ffi':
199
   Var('dart_git') + '/ffi.git@a5d4232cd38562c75a3ed847baa340e399538028',
D
Daco Harkes 已提交
200 201 202
  
  'src/third_party/dart/third_party/pkg/file':
   Var("dart_git") + '/file.dart.git@0e09370f581ab6388d46fda4cdab66638c0171a1',
203

204
  'src/third_party/dart/third_party/pkg/fixnum':
205
   Var('dart_git') + '/fixnum.git@16d3890c6dc82ca629659da1934e412292508bba',
206

207
  'src/third_party/dart/third_party/pkg/glob':
208
   Var('dart_git') + '/glob.git@e9f4e6b7ae8abe5071461cf8f47191bb19cf7ef6',
209

210
  'src/third_party/dart/third_party/pkg/html':
211
   Var('dart_git') + '/html.git@22f17e97fedeacaa1e945cf84d8016284eed33a6',
212

213
  'src/third_party/dart/third_party/pkg/http':
214
   Var('dart_git') + '/http.git@1617b728fc48f64fb0ed7dc16078c03adcc64179',
215

216
  'src/third_party/dart/third_party/pkg/http_multi_server':
217
   Var('dart_git') + '/http_multi_server.git@f1d1c9c024a293ab0a0e16f8b7632e87c708b448',
218

219
  'src/third_party/dart/third_party/pkg/http_parser':
220
   Var('dart_git') + '/http_parser.git@5dd4d16693242049dfb43b5efa429fedbf932e98',
221

222
  'src/third_party/dart/third_party/pkg/http_retry':
223
   Var('dart_git') + '/http_retry.git' + '@' + Var('dart_http_retry_tag'),
224

225
  'src/third_party/dart/third_party/pkg/http_throttle':
226
   Var('dart_git') + '/http_throttle.git' + '@' + Var('dart_http_throttle_tag'),
227

228 229
  'src/third_party/dart/third_party/pkg/intl':
   Var('dart_git') + '/intl.git' + '@' + Var('dart_intl_tag'),
230

231
  'src/third_party/dart/third_party/pkg/json_rpc_2':
232
   Var('dart_git') + '/json_rpc_2.git@b8dfe403fd8528fd14399dee3a6527b55802dd4d',
233

234
  'src/third_party/dart/third_party/pkg/linter':
235
   Var('dart_git') + '/linter.git' + '@' + Var('dart_linter_tag'),
236

237
  'src/third_party/dart/third_party/pkg/logging':
238
   Var('dart_git') + '/logging.git@e2f633b543ef89c54688554b15ca3d7e425b86a2',
239

240
  'src/third_party/dart/third_party/pkg/markdown':
241
   Var('dart_git') + '/markdown.git@6f89681d59541ddb1cf3a58efbdaa2304ffc3f51',
242

243
  'src/third_party/dart/third_party/pkg/matcher':
244
   Var('dart_git') + '/matcher.git@9cae8faa7868bf3a88a7ba45eb0bd128e66ac515',
245

246
  'src/third_party/dart/third_party/pkg/mime':
247
   Var('dart_git') + '/mime.git@07635f7774447503248fbc6afb3911e9000a477e',
248

249
  'src/third_party/dart/third_party/pkg/mockito':
250
   Var('dart_git') + '/mockito.git@d39ac507483b9891165e422ec98d9fb480037c8b',
251

252
  'src/third_party/dart/third_party/pkg/mustache':
253
   Var('dart_git') + '/external/github.com/xxgreg/mustache@664737ecad027e6b96d0d1e627257efa0e46fcb1',
254

255 256
  'src/third_party/dart/third_party/pkg/oauth2':
   Var('dart_git') + '/oauth2.git' + '@' + Var('dart_oauth2_tag'),
257

258
  'src/third_party/dart/third_party/pkg/path':
259
   Var('dart_git') + '/path.git@62ecd5a78ffe5734d14ed0df76d20309084cd04a',
260

S
Siva 已提交
261
  'src/third_party/dart/third_party/pkg/pedantic':
262
   Var('dart_git') + '/pedantic.git@a884ea2db943b8756cc94385990bd750aec06928',
S
Siva 已提交
263

264
  'src/third_party/dart/third_party/pkg/pool':
265
   Var('dart_git') + '/pool.git@7abe634002a1ba8a0928eded086062f1307ccfae',
266

267
  'src/third_party/dart/third_party/pkg/protobuf':
268
   Var('dart_git') + '/protobuf.git' + '@' + Var('dart_protobuf_rev'),
269

270
  'src/third_party/dart/third_party/pkg/pub':
271
   Var('dart_git') + '/pub.git' + '@' + Var('dart_pub_rev'),
272

273
  'src/third_party/dart/third_party/pkg/pub_semver':
274
   Var('dart_git') + '/pub_semver.git@10569a1e867e909cf5db201f73118020453e5db8',
275

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

279
  'src/third_party/dart/third_party/pkg/shelf':
280
   Var('dart_git') + '/shelf.git@289309adc6c39aab0a63db676d550c517fc1cc2d',
281

282
  'src/third_party/dart/third_party/pkg/shelf_packages_handler':
283
   Var('dart_git') + '/shelf_packages_handler.git' + '@' + Var('dart_shelf_packages_handler_tag'),
284

285 286 287
  'src/third_party/dart/third_party/pkg/shelf_proxy':
   Var('dart_git') + '/shelf_proxy.git' + '@' + Var('dart_shelf_proxy_tag'),

288
  'src/third_party/dart/third_party/pkg/shelf_static':
289
   Var('dart_git') + '/shelf_static.git' + '@' + Var('dart_shelf_static_rev'),
290

291
  'src/third_party/dart/third_party/pkg/shelf_web_socket':
292
   Var('dart_git') + '/shelf_web_socket.git@8050a55b16faa5052a3e5d7dcdc170c59b6644f2',
293

294
  'src/third_party/dart/third_party/pkg/source_map_stack_trace':
295
   Var('dart_git') + '/source_map_stack_trace.git@1c3026f69d9771acf2f8c176a1ab750463309cce',
296

297
  'src/third_party/dart/third_party/pkg/source_maps':
298
   Var('dart_git') + '/source_maps.git@53eb92ccfe6e64924054f83038a534b959b12b3e',
299

300
  'src/third_party/dart/third_party/pkg/source_span':
301
   Var('dart_git') + '/source_span.git@49ff31eabebed0da0ae6634124f8ba5c6fbf57f1',
302

B
Ben Konyi 已提交
303 304 305
  'src/third_party/dart/third_party/pkg/sse':
   Var('dart_git') + '/sse.git' + '@' + Var('dart_sse_tag'),

306
  'src/third_party/dart/third_party/pkg/stack_trace':
307
   Var('dart_git') + '/stack_trace.git' + '@' + Var('dart_stack_trace_tag'),
308

309 310 311
  'src/third_party/dart/third_party/pkg/stagehand':
   Var('dart_git') + '/stagehand.git' + '@' + Var('dart_stagehand_tag'),

312 313
  'src/third_party/dart/third_party/pkg/stream_channel':
   Var('dart_git') + '/stream_channel.git' + '@' + Var('dart_stream_channel_tag'),
314

315
  'src/third_party/dart/third_party/pkg/string_scanner':
316
   Var('dart_git') + '/string_scanner.git@1b63e6e5db5933d7be0a45da6e1129fe00262734',
317

318
  'src/third_party/dart/third_party/pkg/term_glyph':
319
   Var('dart_git') + '/term_glyph.git@6a0f9b6fb645ba75e7a00a4e20072678327a0347',
320

321
  'src/third_party/dart/third_party/pkg/test':
322
   Var('dart_git') + '/test.git@e37a93bbeae23b215972d1659ac865d71287ff6a',
323

B
Ben Konyi 已提交
324 325 326
  'src/third_party/dart/third_party/pkg/test_reflective_loader':
   Var('dart_git') + '/test_reflective_loader.git' + '@' + Var('dart_test_reflective_loader_tag'),

327 328
  'src/third_party/dart/third_party/pkg/typed_data':
   Var('dart_git') + '/typed_data.git' + '@' + Var('dart_typed_data_tag'),
329

330
  'src/third_party/dart/third_party/pkg/usage':
331
   Var('dart_git') + '/usage.git' + '@' + Var('dart_usage_tag'),
332

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

336
  'src/third_party/dart/third_party/pkg/web_socket_channel':
337
   Var('dart_git') + '/web_socket_channel.git@490061ef0e22d3c8460ad2802f9948219365ad6b',
338

339
  'src/third_party/dart/third_party/pkg/yaml':
340
   Var('dart_git') + '/yaml.git@cca02c9e4f6826d62644901ed65c6d72b90a0713',
A
Adam Barth 已提交
341

342 343 344 345
  'src/third_party/dart/third_party/pkg_tested/dart_style':
   Var('dart_git') + '/dart_style.git' + '@' + Var('dart_dart_style_tag'),

  'src/third_party/dart/third_party/pkg_tested/package_config':
346
   Var('dart_git') + '/package_config.git@9c586d04bd26fef01215fd10e7ab96a3050cfa64',
347

348
  'src/third_party/dart/tools/sdks':
349
   {'packages': [{'version': 'version:2.12.0-0.0.dev', 'package': 'dart/dart-sdk/${{platform}}'}], 'dep_type': 'cipd'},
350

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

353 354 355 356
  'src/third_party/colorama/src':
   Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',

  'src/third_party/freetype2':
357
   Var('fuchsia_git') + '/third_party/freetype2' + '@' + 'edab12c07ac05d1185616688f338b1ad15936796',
358

359
  'src/third_party/root_certificates':
360
   Var('dart_git') + '/root_certificates.git' + '@' + Var('dart_root_certificates_rev'),
C
Chinmay Garde 已提交
361

A
Adam Barth 已提交
362
  'src/third_party/skia':
363
   Var('skia_git') + '/skia.git' + '@' +  Var('skia_revision'),
A
Adam Barth 已提交
364

365 366 367
  'src/third_party/ocmock':
   Var('ocmock_git') + '@' +  Var('ocmock_tag'),

368
  'src/third_party/libjpeg-turbo':
369
   Var('fuchsia_git') + '/third_party/libjpeg-turbo' + '@' + '0fb821f3b2e570b2783a94ccd9a2fb1f4916ae9f',
370

A
amirh 已提交
371 372 373
  'src/third_party/libwebp':
   Var('chromium_git') + '/webm/libwebp.git' + '@' + '0.6.0',

374
  'src/third_party/wuffs':
375
   Var('skia_git') + '/external/github.com/google/wuffs.git' + '@' +  '00cc8a50aa0c86b6bcb37e9ece8fb100047cc17b',
376

377 378 379
  'src/third_party/fontconfig/src':
   Var('chromium_git') + '/external/fontconfig.git' + '@' + 'c336b8471877371f0190ba06f7547c54e2b890ba',

380
  'src/third_party/gyp':
381
   Var('chromium_git') + '/external/gyp.git' + '@' + '4801a5331ae62da9769a327f11c4213d32fb0dad',
382

383
   # Headers for Vulkan 1.1
384
   'src/third_party/vulkan':
385
   Var('github_git') + '/KhronosGroup/Vulkan-Docs.git' + '@' + 'v1.1.91',
386

387
   'src/third_party/swiftshader':
388
   Var('swiftshader_git') + '/SwiftShader.git' + '@' + '5d1e8540407c138f47028d64684f3da599430aa4',
389

390
   'src/third_party/angle':
391 392 393 394 395 396 397
   Var('github_git') + '/google/angle.git' + '@' + 'ed90c9917b1b7fc6def319184b10609c11b2bd84',

   'src/third_party/angle/third_party/vulkan-headers/src':
   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',
398

399
  'src/third_party/pkg/when':
400
   Var('dart_git') + '/when.git' + '@' + '0.2.0',
401 402 403 404 405

   'src/third_party/android_tools/ndk': {
     'packages': [
       {
        'package': 'flutter/android/ndk/${{platform}}',
406
        'version': 'version:r21.0.6113669'
407 408 409 410 411 412
       }
     ],
     'condition': 'download_android_deps',
     'dep_type': 'cipd',
   },

413 414 415 416 417 418 419 420 421 422 423 424 425 426
   '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',
   },

427 428 429 430
  'src/third_party/android_tools/sdk/build-tools': {
     'packages': [
       {
        'package': 'flutter/android/sdk/build-tools/${{platform}}',
431
        'version': 'version:30.0.1'
432 433 434 435 436 437 438 439 440 441
       }
     ],
     'condition': 'download_android_deps',
     'dep_type': 'cipd',
   },

  'src/third_party/android_tools/sdk/platform-tools': {
     'packages': [
       {
        'package': 'flutter/android/sdk/platform-tools/${{platform}}',
442
        'version': 'version:30.0.4'
443 444 445 446 447 448 449 450 451 452
       }
     ],
     'condition': 'download_android_deps',
     'dep_type': 'cipd',
   },

  'src/third_party/android_tools/sdk/platforms': {
     'packages': [
       {
        'package': 'flutter/android/sdk/platforms',
G
Gary Qian 已提交
453
        'version': 'version:30r3'
454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469
       }
     ],
     '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',
   },
470

471 472 473
  'src/third_party/android_tools/sdk/licenses': {
     'packages': [
       {
474
        'package': 'flutter/android/sdk/licenses',
475 476 477 478 479 480 481
        'version': 'latest',
       }
     ],
    'condition': 'download_android_deps',
    'dep_type': 'cipd',
  },

482
  'src/third_party/android_embedding_dependencies': {
483 484
     'packages': [
       {
485
        'package': 'flutter/android/embedding_bundle',
486
        'version': 'last_updated:2020-09-11T17:57:41-0700'
487 488 489 490 491 492
       }
     ],
     'condition': 'download_android_deps',
     'dep_type': 'cipd',
   },

D
Dan Field 已提交
493 494 495 496
  'src/flutter/third_party/gn': {
    'packages': [
      {
        'package': 'gn/gn/${{platform}}',
497
        'version': 'git_revision:1e3fd10c5df6b704fc764ee388149e4f32862823'
D
Dan Field 已提交
498 499 500 501 502 503 504 505
      },
    ],
    'dep_type': 'cipd',
  },

  'src/buildtools/{host_os}-x64/clang': {
    'packages': [
      {
D
Dan Field 已提交
506 507
        'package': 'fuchsia/third_party/clang/${{platform}}',
        'version': 'git_revision:7e9747b50bcb1be28d4a3236571e8050835497a6'
D
Dan Field 已提交
508 509 510 511 512 513
      }
    ],
    'condition': 'host_os == "mac" or host_os == "linux"',
    'dep_type': 'cipd',
  },

D
Dan Field 已提交
514 515 516 517 518 519 520 521 522 523 524 525
  # 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',
  },

526 527 528 529 530 531 532
   # 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',
533
        'version': 'qpkZl0s5J-NwdmoguE8Zs6cNBNWCMLoBsAsR9-L60T8C'
534 535 536 537 538 539 540 541 542
       }
     ],
     'condition': 'host_os == "mac"',
     'dep_type': 'cipd',
   },
   'src/fuchsia/toolchain/mac': {
     'packages': [
       {
        'package': 'fuchsia/clang/mac-amd64',
543
        'version': 'OzTZOKkICT0yD82Dbx0jvVn5hN5eOSi6ByVTDseE7i0C'
544 545 546 547 548 549 550 551 552
       }
     ],
     'condition': 'host_os == "mac"',
     'dep_type': 'cipd',
   },
   'src/fuchsia/sdk/linux': {
     'packages': [
       {
        'package': 'fuchsia/sdk/core/linux-amd64',
553
        'version': 'Bnaeivv073toX9buVcBemk-hh-JEa4SYA2t0zNHdZLkC'
554 555 556 557 558 559 560 561 562
       }
     ],
     'condition': 'host_os == "linux"',
     'dep_type': 'cipd',
   },
   'src/fuchsia/toolchain/linux': {
     'packages': [
       {
        'package': 'fuchsia/clang/linux-amd64',
563
        'version': 'OT6p30bQQhyCzRSy7xPsSbZ88J3PWOnneenkMZ0j7kIC'
564 565 566 567 568
       }
     ],
     'condition': 'host_os == "linux"',
     'dep_type': 'cipd',
   },
A
Adam Barth 已提交
569 570 571 572 573 574 575 576 577 578 579 580 581 582
}

hooks = [
  {
    # This clobbers when necessary (based on get_landmines.py). It must be the
    # first hook so that other things that get/generate into the output
    # directory will not subsequently be clobbered.
    'name': 'landmines',
    'pattern': '.',
    'action': [
        'python',
        'src/build/landmines.py',
    ],
  },
583 584 585
  {
    # Update the Windows toolchain if necessary.
    'name': 'win_toolchain',
586
    'condition': 'download_windows_deps',
587 588 589
    'pattern': '.',
    'action': ['python', 'src/build/vs_toolchain.py', 'update'],
  },
590
  {
591
    'name': 'generate_package_files',
592
    'pattern': '.',
593 594
    'cwd': 'src/',
    'action': ['python', 'flutter/tools/generate_package_files.py'],
595
  },
A
Adam Barth 已提交
596 597 598 599 600 601 602 603 604 605 606
  {
    # 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': [
        'python',
        'src/tools/remove_stale_pyc_files.py',
        'src/tools',
    ],
  },
607
  {
608 609 610 611 612 613 614 615 616 617 618 619 620
    'name': '7zip',
    'pattern': '.',
    'condition': 'download_windows_deps',
    'action': [
      'download_from_google_storage',
      '--no_auth',
      '--no_resume',
      '--bucket',
      'dart-dependencies',
      '--platform=win32',
      '--extract',
      '-s',
      'src/third_party/dart/third_party/7zip.tar.gz.sha1',
621 622
    ],
  },
D
Dan Field 已提交
623 624 625 626 627 628 629 630 631
  {
    'name': 'dia_dll',
    'pattern': '.',
    'condition': 'download_windows_deps',
    'action': [
      'python',
      'src/flutter/tools/dia_dll.py',
    ],
  },
S
stuartmorgan 已提交
632
  {
633
    'name': 'linux_sysroot_x64',
S
stuartmorgan 已提交
634 635 636 637 638 639 640
    'pattern': '.',
    'condition': 'download_linux_deps',
    'action': [
      'python',
      'src/build/linux/sysroot_scripts/install-sysroot.py',
      '--arch=x64'],
  },
641 642 643 644 645 646 647 648 649
  {
    'name': 'linux_sysroot_arm64',
    'pattern': '.',
    'condition': 'download_linux_deps',
    'action': [
      'python',
      'src/build/linux/sysroot_scripts/install-sysroot.py',
      '--arch=arm64'],
  },
650 651 652 653 654 655 656 657
  {
    'name': 'dart package config',
    'pattern': '.',
    'action': [
      'python',
      'src/flutter/tools/run_third_party_dart.py',
    ]
  }
A
Adam Barth 已提交
658
]