DEPS 22.9 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': '77743492418e9ac19c0c265c162a12d216619e29',
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': 'fd27e795ba73364e1eb0d4122de547444aaf02f6',
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
B
Ben Konyi 已提交
41 42
  'dart_args_tag': '1.4.4',
  'dart_async_tag': '2.0.8',
43
  'dart_bazel_worker_tag': 'bazel_worker-v0.1.20',
B
Ben Konyi 已提交
44
  'dart_boolean_selector_tag': '1.0.4',
45 46
  'dart_boringssl_gen_rev': 'bbf52f18f425e29b1185f2f6753bec02ed8c5880',
  'dart_boringssl_rev': '702e2b6d3831486535e958f262a05c75a5cb312e',
B
Ben Konyi 已提交
47 48 49 50 51
  'dart_charcode_tag': 'v1.1.2',
  'dart_cli_util_rev': '4ad7ccbe3195fd2583b30f86a86697ef61e80f41',
  'dart_collection_tag': '1.14.11',
  'dart_convert_tag': '2.0.2',
  'dart_crypto_tag': '2.0.6',
S
Siva 已提交
52
  'dart_csslib_tag': '0.15.0',
53
  'dart_dart2js_info_tag': '0.6.0',
54
  'dart_dart_style_tag': '1.2.8',
55
  'dart_dartdoc_tag': '0.28.4',
56
  'dart_fixnum_tag': '0.10.9',
B
Ben Konyi 已提交
57
  'dart_glob_tag': '1.1.7',
S
Siva 已提交
58
  'dart_html_tag': '0.14.0+1',
B
Ben Konyi 已提交
59
  'dart_http_multi_server_tag': '2.0.5',
60
  'dart_http_parser_tag': '3.1.3',
61
  'dart_http_retry_tag': '0.1.1',
S
Siva 已提交
62
  'dart_http_tag': '0.12.0+2',
63
  'dart_http_throttle_tag': '1.0.2',
64
  'dart_intl_tag': '0.15.7',
B
Ben Konyi 已提交
65
  'dart_json_rpc_2_tag': '2.0.9',
66
  'dart_linter_tag': '0.1.97+1',
B
Ben Konyi 已提交
67
  'dart_logging_tag': '0.11.3+2',
68
  'dart_markdown_tag': '2.0.3',
69
  'dart_matcher_tag': '0.12.3',
B
Ben Konyi 已提交
70
  'dart_mime_tag': '0.9.6+2',
71
  'dart_mockito_tag': 'd39ac507483b9891165e422ec98d9fb480037c8b',
72
  'dart_mustache_tag': '5e81b12215566dbe2473b2afd01a8a8aedd56ad9',
73
  'dart_oauth2_tag': '1.2.1',
B
Ben Konyi 已提交
74
  'dart_observatory_pub_packages_rev': '0894122173b0f98eb08863a7712e78407d4477bc',
75
  'dart_package_config_tag': '2453cd2e78c2db56ee2669ced17ce70dd00bf576',
76
  'dart_package_resolver_tag': '1.0.10',
B
Ben Konyi 已提交
77
  'dart_path_tag': '1.6.2',
78
  'dart_pedantic_tag': 'v1.8.0',
B
Ben Konyi 已提交
79
  'dart_pool_tag': '1.3.6',
80
  'dart_protobuf_rev': '7d34c9e4e552a4f66acce32e4344ae27756a1949',
81
  'dart_pub_rev': 'df0f72daaa724e29ed6075e0fb5549a6d6dc5daf',
B
Ben Konyi 已提交
82
  'dart_pub_semver_tag': '1.4.2',
B
Ben Konyi 已提交
83
  'dart_quiver-dart_tag': '2.0.0+1',
84
  'dart_resource_rev': 'f8e37558a1c4f54550aa463b88a6a831e3e33cd6',
B
Ben Konyi 已提交
85
  'dart_root_certificates_rev': '16ef64be64c7dfdff2b9f4b910726e635ccc519e',
B
Ben Konyi 已提交
86 87 88 89 90 91
  'dart_shelf_packages_handler_tag': '1.0.4',
  'dart_shelf_static_rev': 'v0.2.8',
  'dart_shelf_tag': '0.7.3+3',
  'dart_shelf_web_socket_tag': '0.2.2+3',
  'dart_source_map_stack_trace_tag': '1.1.5',
  'dart_source_maps_tag': '8af7cc1a1c3a193c1fba5993ce22a546a319c40e',
92
  'dart_source_span_tag': '1.5.5',
B
Ben Konyi 已提交
93
  'dart_stack_trace_tag': '1.9.3',
S
Siva 已提交
94
  'dart_stream_channel_tag': '2.0.0',
B
Ben Konyi 已提交
95 96
  'dart_string_scanner_tag': '1.0.3',
  'dart_term_glyph_tag': '1.0.1',
97
  'dart_test_reflective_loader_tag': '0.1.8',
98
  'dart_test_tag': 'test-v1.6.4',
99
  'dart_tflite_native_rev': '06e533a9747306d1114c53427cc67eda080f51f9',
B
Ben Konyi 已提交
100
  'dart_typed_data_tag': '1.1.6',
101
  'dart_usage_tag': '3.4.0',
102
  'dart_watcher_rev': '0.9.7+12-pub',
B
Ben Konyi 已提交
103 104
  'dart_web_socket_channel_tag': '1.0.9',
  'dart_yaml_tag': '2.1.15',
105

106 107
  'ocmock_tag': 'v3.4.3',

108 109 110
  # Build bot tooling for iOS
  'ios_tools_revision': '69b7c1b160e7107a6a98d948363772dc9caea46f',

111 112 113 114 115
  # 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"',
116 117 118 119 120 121 122

  # 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 已提交
123 124
}

125 126 127 128 129
gclient_gn_args_file = 'src/third_party/dart/build/config/gclient_args.gni'
gclient_gn_args = [
  'checkout_llvm'
]

A
Adam Barth 已提交
130 131 132 133
# 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 已提交
134
  'fuchsia.googlesource.com',
J
James Robinson 已提交
135
  'github.com',
136
  'skia.googlesource.com',
A
Adam Barth 已提交
137 138 139
]

deps = {
140
  'src': 'https://github.com/flutter/buildroot.git' + '@' + '58d85da77cf1d5c668d185570fa8ed3d2e1a1ab5',
141

A
Adam Barth 已提交
142 143 144 145 146 147
   # 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.

148
  'src/third_party/tonic':
149
   Var('fuchsia_git') + '/tonic' + '@' + 'bd27b4549199df72fcaeefd259ebc12a31c2e4ee',
A
Adam Barth 已提交
150

151
  'src/third_party/benchmark':
152
   Var('fuchsia_git') + '/third_party/benchmark' + '@' + 'a779ffce872b4c811beef482e18bd0b63626aa42',
153

J
Jason Simmons 已提交
154
  'src/third_party/googletest':
155
   Var('fuchsia_git') + '/third_party/googletest' + '@' + '46d66506083fc3333d84c260e7bd2eb3816a917a',
J
Jason Simmons 已提交
156

157
  'src/third_party/rapidjson':
158
   Var('fuchsia_git') + '/third_party/rapidjson' + '@' + '32d07c55db1bb6c2ae17cba4033491a667647753',
159

160
  'src/third_party/harfbuzz':
161
   Var('fuchsia_git') + '/third_party/harfbuzz' + '@' + '2f8d51731d6502765aec2f93143c57bf13234358',
162

163
  'src/third_party/libcxx':
164
   Var('fuchsia_git') + '/third_party/libcxx' + '@' + '7524ef50093a376f334a62a7e5cebf5d238d4c99',
165 166

  'src/third_party/libcxxabi':
167
   Var('fuchsia_git') + '/third_party/libcxxabi' + '@' + '74d1e602c76350f0760bf6907910e4f3a4fccffe',
168

169 170 171
  'src/third_party/glfw':
   Var('fuchsia_git') + '/third_party/glfw' + '@' + '999f3556fdd80983b10051746264489f2cb1ef16',

A
Adam Barth 已提交
172 173 174 175 176
   # Chromium-style
   #
   # As part of integrating with Fuchsia, we should eventually remove all these
   # Chromium-style dependencies.

177
  'src/ios_tools':
178
   Var('chromium_git') + '/chromium/src/ios.git' + '@' + Var('ios_tools_revision'),
A
Adam Barth 已提交
179 180

  'src/third_party/icu':
181
   Var('chromium_git') + '/chromium/deps/icu.git' + '@' + 'c56c671998902fcc4fc9ace88c83daa99f980793',
A
Adam Barth 已提交
182

183
  'src/third_party/boringssl':
184
   Var('github_git') + '/dart-lang/boringssl_gen.git' + '@' + Var('dart_boringssl_gen_rev'),
185 186

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

189 190 191 192 193
  '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.

194
  'src/third_party/dart/pkg/analysis_server/language_model':
195
   {'packages': [{'version': 'EFtZ0Z5T822s4EUOOaWeiXUppRGKp5d9Z6jomJIeQYcC', 'package': 'dart/language_model'}], 'dep_type': 'cipd'},
196

197
  'src/third_party/dart/third_party/observatory_pub_packages':
198
   Var('dart_git') + '/observatory_pub_packages.git' + '@' + Var('dart_observatory_pub_packages_rev'),
199

200
  'src/third_party/dart/third_party/pkg/args':
201
   Var('dart_git') + '/args.git' + '@' + Var('dart_args_tag'),
202

203
  'src/third_party/dart/third_party/pkg/async':
204
   Var('dart_git') + '/async.git' + '@' + Var('dart_async_tag'),
205

206
  'src/third_party/dart/third_party/pkg/bazel_worker':
207
   Var('dart_git') + '/bazel_worker.git' + '@' + Var('dart_bazel_worker_tag'),
208

209
  'src/third_party/dart/third_party/pkg/boolean_selector':
210
   Var('dart_git') + '/boolean_selector.git' + '@' + Var('dart_boolean_selector_tag'),
211

212
  'src/third_party/dart/third_party/pkg/charcode':
213
   Var('dart_git') + '/charcode.git' + '@' + Var('dart_charcode_tag'),
214

215
  'src/third_party/dart/third_party/pkg/cli_util':
B
Ben Konyi 已提交
216
   Var('dart_git') + '/cli_util.git' + '@' + Var('dart_cli_util_rev'),
217

218
  'src/third_party/dart/third_party/pkg/collection':
219
   Var('dart_git') + '/collection.git' + '@' + Var('dart_collection_tag'),
220

221
  'src/third_party/dart/third_party/pkg/convert':
222
   Var('dart_git') + '/convert.git' + '@' + Var('dart_convert_tag'),
223

224
  'src/third_party/dart/third_party/pkg/crypto':
225
   Var('dart_git') + '/crypto.git' + '@' + Var('dart_crypto_tag'),
226

227
  'src/third_party/dart/third_party/pkg/csslib':
228
   Var('dart_git') + '/csslib.git' + '@' + Var('dart_csslib_tag'),
229

230
  'src/third_party/dart/third_party/pkg/dart2js_info':
231
   Var('dart_git') + '/dart2js_info.git' + '@' + Var('dart_dart2js_info_tag'),
232

233
  'src/third_party/dart/third_party/pkg/dartdoc':
234
   Var('dart_git') + '/dartdoc.git' + '@' + Var('dart_dartdoc_tag'),
235

236
  'src/third_party/dart/third_party/pkg/fixnum':
237
   Var('dart_git') + '/fixnum.git' + '@' + Var('dart_fixnum_tag'),
238

239
  'src/third_party/dart/third_party/pkg/glob':
240
   Var('dart_git') + '/glob.git' + '@' + Var('dart_glob_tag'),
241

242
  'src/third_party/dart/third_party/pkg/html':
243
   Var('dart_git') + '/html.git' + '@' + Var('dart_html_tag'),
244

245
  'src/third_party/dart/third_party/pkg/http':
246
   Var('dart_git') + '/http.git' + '@' + Var('dart_http_tag'),
247

248 249 250
  'src/third_party/dart/third_party/pkg/http_multi_server':
   Var('dart_git') + '/http_multi_server.git' + '@' + Var('dart_http_multi_server_tag'),

251
  'src/third_party/dart/third_party/pkg/http_parser':
252
   Var('dart_git') + '/http_parser.git' + '@' + Var('dart_http_parser_tag'),
253

254
  'src/third_party/dart/third_party/pkg/http_retry':
255
   Var('dart_git') + '/http_retry.git' + '@' + Var('dart_http_retry_tag'),
256

257
  'src/third_party/dart/third_party/pkg/http_throttle':
258
   Var('dart_git') + '/http_throttle.git' + '@' + Var('dart_http_throttle_tag'),
259

260 261
  'src/third_party/dart/third_party/pkg/intl':
   Var('dart_git') + '/intl.git' + '@' + Var('dart_intl_tag'),
262

263 264
  'src/third_party/dart/third_party/pkg/json_rpc_2':
   Var('dart_git') + '/json_rpc_2.git' + '@' + Var('dart_json_rpc_2_tag'),
265

266
  'src/third_party/dart/third_party/pkg/linter':
267
   Var('dart_git') + '/linter.git' + '@' + Var('dart_linter_tag'),
268

269 270 271
  'src/third_party/dart/third_party/pkg/logging':
   Var('dart_git') + '/logging.git' + '@' + Var('dart_logging_tag'),

272
  'src/third_party/dart/third_party/pkg/markdown':
273
   Var('dart_git') + '/markdown.git' + '@' + Var('dart_markdown_tag'),
274

275
  'src/third_party/dart/third_party/pkg/matcher':
276
   Var('dart_git') + '/matcher.git' + '@' + Var('dart_matcher_tag'),
277

278
  'src/third_party/dart/third_party/pkg/mime':
279
   Var('dart_git') + '/mime.git' + '@' + Var('dart_mime_tag'),
280

281
  'src/third_party/dart/third_party/pkg/mockito':
282
   Var('dart_git') + '/mockito.git' + '@' + Var('dart_mockito_tag'),
283

284 285
  'src/third_party/dart/third_party/pkg/mustache':
   Var('dart_git') + '/external/github.com/xxgreg/mustache' + '@' + Var('dart_mustache_tag'),
286

287 288
  'src/third_party/dart/third_party/pkg/oauth2':
   Var('dart_git') + '/oauth2.git' + '@' + Var('dart_oauth2_tag'),
289

290
  'src/third_party/dart/third_party/pkg/path':
291
   Var('dart_git') + '/path.git' + '@' + Var('dart_path_tag'),
292

S
Siva 已提交
293 294 295
  'src/third_party/dart/third_party/pkg/pedantic':
   Var('dart_git') + '/pedantic.git' + '@' + Var('dart_pedantic_tag'),

296
  'src/third_party/dart/third_party/pkg/pool':
297
   Var('dart_git') + '/pool.git' + '@' + Var('dart_pool_tag'),
298

299
  'src/third_party/dart/third_party/pkg/protobuf':
300
   Var('dart_git') + '/protobuf.git' + '@' + Var('dart_protobuf_rev'),
301

302
  'src/third_party/dart/third_party/pkg/pub':
303
   Var('dart_git') + '/pub.git' + '@' + Var('dart_pub_rev'),
304

305 306 307
  'src/third_party/dart/third_party/pkg/pub_semver':
   Var('dart_git') + '/pub_semver.git' + '@' + Var('dart_pub_semver_tag'),

308
  'src/third_party/dart/third_party/pkg/quiver':
309
   Var('chromium_git') + '/external/github.com/google/quiver-dart.git' + '@' + Var('dart_quiver-dart_tag'),
310

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

314
  'src/third_party/dart/third_party/pkg/shelf':
315
   Var('dart_git') + '/shelf.git' + '@' + Var('dart_shelf_tag'),
316

317
  'src/third_party/dart/third_party/pkg/shelf_packages_handler':
318
   Var('dart_git') + '/shelf_packages_handler.git' + '@' + Var('dart_shelf_packages_handler_tag'),
319

320
  'src/third_party/dart/third_party/pkg/shelf_static':
321
   Var('dart_git') + '/shelf_static.git' + '@' + Var('dart_shelf_static_rev'),
322

323
  'src/third_party/dart/third_party/pkg/shelf_web_socket':
324
   Var('dart_git') + '/shelf_web_socket.git' + '@' + Var('dart_shelf_web_socket_tag'),
325

326
  'src/third_party/dart/third_party/pkg/source_map_stack_trace':
327
   Var('dart_git') + '/source_map_stack_trace.git' + '@' + Var('dart_source_map_stack_trace_tag'),
328

329
  'src/third_party/dart/third_party/pkg/source_maps':
330
   Var('dart_git') + '/source_maps.git' + '@' + Var('dart_source_maps_tag'),
331

332 333
  'src/third_party/dart/third_party/pkg/source_span':
   Var('dart_git') + '/source_span.git' + '@' + Var('dart_source_span_tag'),
334

335
  'src/third_party/dart/third_party/pkg/stack_trace':
336
   Var('dart_git') + '/stack_trace.git' + '@' + Var('dart_stack_trace_tag'),
337

338 339
  'src/third_party/dart/third_party/pkg/stream_channel':
   Var('dart_git') + '/stream_channel.git' + '@' + Var('dart_stream_channel_tag'),
340

341 342
  'src/third_party/dart/third_party/pkg/string_scanner':
   Var('dart_git') + '/string_scanner.git' + '@' + Var('dart_string_scanner_tag'),
343

344 345 346
  'src/third_party/dart/third_party/pkg/term_glyph':
   Var('dart_git') + '/term_glyph.git' + '@' + Var('dart_term_glyph_tag'),

347 348 349
  'src/third_party/dart/third_party/pkg/test':
   Var('dart_git') + '/test.git' + '@' + Var('dart_test_tag'),

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

353 354 355
  'src/third_party/dart/third_party/pkg/tflite_native':
   Var('dart_git') + '/tflite_native.git' + '@' + Var('dart_tflite_native_rev'),

356 357
  'src/third_party/dart/third_party/pkg/typed_data':
   Var('dart_git') + '/typed_data.git' + '@' + Var('dart_typed_data_tag'),
358

359
  'src/third_party/dart/third_party/pkg/usage':
360
   Var('dart_git') + '/usage.git' + '@' + Var('dart_usage_tag'),
361

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

365
  'src/third_party/dart/third_party/pkg/web_socket_channel':
366
   Var('dart_git') + '/web_socket_channel.git' + '@' + Var('dart_web_socket_channel_tag'),
367

368
  'src/third_party/dart/third_party/pkg/yaml':
369
   Var('dart_git') + '/yaml.git' + '@' + Var('dart_yaml_tag'),
A
Adam Barth 已提交
370

371 372 373 374 375 376 377 378 379
  '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':
   Var('dart_git') + '/package_config.git' + '@' + Var('dart_package_config_tag'),

  'src/third_party/dart/third_party/pkg_tested/package_resolver':
   Var('dart_git') + '/package_resolver.git' + '@' + Var('dart_package_resolver_tag'),

380
  'src/third_party/dart/tools/sdks':
381
   {'packages': [{'version': 'version:2.5.0-dev.1.0', 'package': 'dart/dart-sdk/${{platform}}'}], 'dep_type': 'cipd'},
382

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

385 386 387 388
  'src/third_party/colorama/src':
   Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',

  'src/third_party/freetype2':
389
   Var('fuchsia_git') + '/third_party/freetype2' + '@' + 'edab12c07ac05d1185616688f338b1ad15936796',
390

391
  'src/third_party/root_certificates':
392
   Var('dart_git') + '/root_certificates.git' + '@' + Var('dart_root_certificates_rev'),
C
Chinmay Garde 已提交
393

A
Adam Barth 已提交
394
  'src/third_party/skia':
395
   Var('skia_git') + '/skia.git' + '@' +  Var('skia_revision'),
A
Adam Barth 已提交
396

397 398 399
  'src/third_party/ocmock':
   Var('ocmock_git') + '@' +  Var('ocmock_tag'),

400
  'src/third_party/libjpeg-turbo':
401
   Var('fuchsia_git') + '/third_party/libjpeg-turbo' + '@' + '0fb821f3b2e570b2783a94ccd9a2fb1f4916ae9f',
402

A
amirh 已提交
403 404 405
  'src/third_party/libwebp':
   Var('chromium_git') + '/webm/libwebp.git' + '@' + '0.6.0',

406
  'src/third_party/wuffs':
J
Jason Simmons 已提交
407
   Var('skia_git') + '/external/github.com/google/wuffs.git' + '@' +  '6ad7d00a262e862549e4963b4a43d148a8285e50',
408

409 410 411
  'src/third_party/fontconfig/src':
   Var('chromium_git') + '/external/fontconfig.git' + '@' + 'c336b8471877371f0190ba06f7547c54e2b890ba',

412
  'src/third_party/gyp':
413
   Var('chromium_git') + '/external/gyp.git' + '@' + '4801a5331ae62da9769a327f11c4213d32fb0dad',
414

415
   # Headers for Vulkan 1.1
416
   'src/third_party/vulkan':
417
   Var('github_git') + '/KhronosGroup/Vulkan-Docs.git' + '@' + 'v1.1.91',
418

419
   'src/third_party/swiftshader':
S
stuartmorgan 已提交
420
   Var('swiftshader_git') + '/SwiftShader.git' + '@' + 'd70129a3d3409dac58e14f819b62620393afb652',
421

422
   'src/third_party/angle':
S
stuartmorgan 已提交
423
   Var('github_git') + '/google/angle.git' + '@' + '3ea90d609720b7b9b9d05ca094860382f2425294',
424

425
  'src/third_party/pkg/when':
426
   Var('dart_git') + '/when.git' + '@' + '0.2.0',
427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442

   'src/third_party/android_tools/ndk': {
     'packages': [
       {
        'package': 'flutter/android/ndk/${{platform}}',
        'version': 'version:r19b'
       }
     ],
     'condition': 'download_android_deps',
     'dep_type': 'cipd',
   },

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

  'src/third_party/android_tools/sdk/platform-tools': {
     'packages': [
       {
        'package': 'flutter/android/sdk/platform-tools/${{platform}}',
454
        'version': 'version:29.0.2'
455 456 457 458 459 460 461 462 463 464
       }
     ],
     'condition': 'download_android_deps',
     'dep_type': 'cipd',
   },

  'src/third_party/android_tools/sdk/platforms': {
     'packages': [
       {
        'package': 'flutter/android/sdk/platforms',
465
        'version': 'version:29r1'
466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481
       }
     ],
     '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',
   },
482

483 484 485 486
  'src/third_party/robolectric': {
     'packages': [
       {
        'package': 'flutter/android/robolectric_bundle',
487
        'version': 'last_updated:2019-08-02T16:01:27-0700'
488 489 490 491 492 493
       }
     ],
     'condition': 'download_android_deps',
     'dep_type': 'cipd',
   },

D
Dan Field 已提交
494 495 496 497
   'src/third_party/dart/tools/sdks': {
     'packages': [
       {
         'package': 'dart/dart-sdk/${{platform}}',
498
         'version': 'version:2.4.0'
D
Dan Field 已提交
499 500 501 502 503
       }
     ],
     'dep_type': 'cipd',
   },

504 505 506 507
   'src/third_party/dart/pkg/analysis_server/language_model': {
     'packages': [
       {
        'package': 'dart/language_model',
508
        'version': 'EFtZ0Z5T822s4EUOOaWeiXUppRGKp5d9Z6jomJIeQYcC',
509 510 511 512 513
       }
     ],
     'dep_type': 'cipd',
   },

D
Dan Field 已提交
514 515 516 517
  'src/flutter/third_party/gn': {
    'packages': [
      {
        'package': 'gn/gn/${{platform}}',
518
        'version': 'git_revision:152c5144ceed9592c20f0c8fd55769646077569b'
D
Dan Field 已提交
519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534
      },
    ],
    'dep_type': 'cipd',
  },

  'src/buildtools/{host_os}-x64/clang': {
    'packages': [
      {
        'package': 'fuchsia/clang/${{platform}}',
        'version': 'git_revision:de39621f0f03f20633bdfa50bde97a3908bf6e98'
      }
    ],
    'condition': 'host_os == "mac" or host_os == "linux"',
    'dep_type': 'cipd',
  },

535 536 537 538 539 540 541
   # 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',
542
        'version': 'dRCdbFWSZ50dNyaOj79yp-NiCMhTsdImLwQZc3koTxEC'
543 544 545 546 547 548 549 550 551
       }
     ],
     'condition': 'host_os == "mac"',
     'dep_type': 'cipd',
   },
   'src/fuchsia/toolchain/mac': {
     'packages': [
       {
        'package': 'fuchsia/clang/mac-amd64',
552
        'version': 'CGYQgli6H-WLIw2OAh_ki6f3Hv1OS6pj7VgczzVeUZ0C'
553 554 555 556 557 558 559 560 561
       }
     ],
     'condition': 'host_os == "mac"',
     'dep_type': 'cipd',
   },
   'src/fuchsia/sdk/linux': {
     'packages': [
       {
        'package': 'fuchsia/sdk/core/linux-amd64',
562
        'version': 'BR_-u42YNVpjKfwFkHanjabAqWkfXGnPAfg-8KvmtaAC'
563 564 565 566 567 568 569 570 571
       }
     ],
     'condition': 'host_os == "linux"',
     'dep_type': 'cipd',
   },
   'src/fuchsia/toolchain/linux': {
     'packages': [
       {
        'package': 'fuchsia/clang/linux-amd64',
572
        'version': '-mnHlaPaPgvt5sKjF7jhV88hKIn7NDHU6Bh4YZX7u_8C'
573 574 575 576 577
       }
     ],
     'condition': 'host_os == "linux"',
     'dep_type': 'cipd',
   },
A
Adam Barth 已提交
578 579 580 581 582 583 584 585 586 587 588 589 590 591
}

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',
    ],
  },
592 593 594
  {
    # Update the Windows toolchain if necessary.
    'name': 'win_toolchain',
595
    'condition': 'download_windows_deps',
596 597 598
    'pattern': '.',
    'action': ['python', 'src/build/vs_toolchain.py', 'update'],
  },
599 600 601
  {
    'name': 'download_android_support',
    'pattern': '.',
602
    'condition': 'download_android_deps',
603 604 605 606 607
    'action': [
        'python',
        'src/flutter/tools/android_support/download_android_support.py',
    ],
  },
608
  {
609
    'name': 'generate_package_files',
610
    'pattern': '.',
611 612
    'cwd': 'src/',
    'action': ['python', 'flutter/tools/generate_package_files.py'],
613
  },
A
Adam Barth 已提交
614 615 616 617 618 619 620 621 622 623 624
  {
    # 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',
    ],
  },
625
  {
626 627 628 629 630 631 632 633 634 635 636 637 638
    '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',
639 640
    ],
  },
A
Adam Barth 已提交
641
]