DEPS 19.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
  'dart_git': 'https://dart.googlesource.com',
A
Adam Barth 已提交
23
  'fuchsia_git': 'https://fuchsia.googlesource.com',
24
  'github_git': 'https://github.com',
A
amirh 已提交
25
  'skia_git': 'https://skia.googlesource.com',
26
  'skia_revision': 'd41c1876d8341e3486939b93d266975e81950147',
C
Chinmay Garde 已提交
27

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

36 37
  # 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 已提交
38 39
  'dart_args_tag': '1.4.4',
  'dart_async_tag': '2.0.8',
40
  'dart_bazel_worker_tag': '0.1.14',
B
Ben Konyi 已提交
41
  'dart_boolean_selector_tag': '1.0.4',
42 43
  'dart_boringssl_gen_rev': 'bbf52f18f425e29b1185f2f6753bec02ed8c5880',
  'dart_boringssl_rev': '702e2b6d3831486535e958f262a05c75a5cb312e',
B
Ben Konyi 已提交
44 45 46 47 48 49
  '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',
  'dart_csslib_tag': '0.14.4+1',
50 51
  'dart_dart2js_info_tag': '0.5.15',
  'dart_dart_style_tag': '1.2.2',
B
Ben Konyi 已提交
52
  'dart_dartdoc_tag': 'v0.27.0',
53
  'dart_fixnum_tag': '0.10.9',
B
Ben Konyi 已提交
54 55 56
  'dart_glob_tag': '1.1.7',
  'dart_html_tag': '0.13.3+2',
  'dart_http_multi_server_tag': '2.0.5',
57
  'dart_http_parser_tag': '3.1.1',
58
  'dart_http_retry_tag': '0.1.1',
B
Ben Konyi 已提交
59
  'dart_http_tag': '0.12.0',
60
  'dart_http_throttle_tag': '1.0.2',
61
  'dart_intl_tag': '0.15.7',
B
Ben Konyi 已提交
62
  'dart_json_rpc_2_tag': '2.0.9',
B
Ben Konyi 已提交
63
  'dart_linter_tag': '0.1.78',
B
Ben Konyi 已提交
64 65
  'dart_logging_tag': '0.11.3+2',
  'dart_markdown_tag': '2.0.2',
66
  'dart_matcher_tag': '0.12.3',
B
Ben Konyi 已提交
67
  'dart_mime_tag': '0.9.6+2',
68
  'dart_mockito_tag': 'd39ac507483b9891165e422ec98d9fb480037c8b',
69
  'dart_mustache4dart_tag': 'v2.1.2',
70
  'dart_oauth2_tag': '1.2.1',
B
Ben Konyi 已提交
71 72 73 74 75 76
  'dart_observatory_pub_packages_rev': '0894122173b0f98eb08863a7712e78407d4477bc',
  'dart_package_config_tag': '1.0.5',
  'dart_package_resolver_tag': '1.0.4',
  'dart_path_tag': '1.6.2',
  'dart_plugin_tag': 'f5b4b0e32d1406d62daccea030ba6457d14b1c47',
  'dart_pool_tag': '1.3.6',
77
  'dart_protobuf_tag': '0.9.0',
78
  'dart_pub_rev': '9f00679ef47bc79cadc18e143720ade6c06c0100',
B
Ben Konyi 已提交
79
  'dart_pub_semver_tag': '1.4.2',
80
  'dart_quiver_tag': '2.0.0+1',
B
Ben Konyi 已提交
81
  'dart_resource_rev': '2.1.5',
B
Ben Konyi 已提交
82
  'dart_root_certificates_rev': '16ef64be64c7dfdff2b9f4b910726e635ccc519e',
B
Ben Konyi 已提交
83 84 85 86 87 88 89 90 91 92 93
  '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',
  'dart_source_span_tag': '1.4.1',
  'dart_stack_trace_tag': '1.9.3',
  'dart_stream_channel_tag': '1.6.8',
  'dart_string_scanner_tag': '1.0.3',
  'dart_term_glyph_tag': '1.0.1',
94
  'dart_test_reflective_loader_tag': '0.1.8',
95
  'dart_test_tag': '1.3.4',
B
Ben Konyi 已提交
96
  'dart_typed_data_tag': '1.1.6',
97
  'dart_usage_tag': '3.4.0',
B
Ben Konyi 已提交
98
  'dart_utf_tag': '0.9.0+5',
99
  'dart_watcher_rev': '0.9.7+12',
B
Ben Konyi 已提交
100 101
  'dart_web_socket_channel_tag': '1.0.9',
  'dart_yaml_tag': '2.1.15',
102

103 104 105
  # Build bot tooling for iOS
  'ios_tools_revision': '69b7c1b160e7107a6a98d948363772dc9caea46f',

106
  'buildtools_revision': 'bac220c15490dcf7b7d8136f75100bbc77e8d217',
A
Adam Barth 已提交
107 108 109 110 111 112
}

# 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 已提交
113
  'fuchsia.googlesource.com',
J
James Robinson 已提交
114
  'github.com',
115
  'skia.googlesource.com',
A
Adam Barth 已提交
116 117 118
]

deps = {
119
  'src': 'https://github.com/flutter/buildroot.git' + '@' + '85da9493a0584289b0b392ff2fb8d30e6b44e6a6',
120

A
Adam Barth 已提交
121 122 123 124 125 126
   # 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.

127
  'src/third_party/tonic':
128
   Var('fuchsia_git') + '/tonic' + '@' + '02f9d8dd18dd259e3c5efe1fbe713819a730b6e0',
A
Adam Barth 已提交
129

130
  'src/third_party/benchmark':
131
   Var('fuchsia_git') + '/third_party/benchmark' + '@' + '21f1eb3fe269ea43eba862bf6b699cde46587ade',
132

J
Jason Simmons 已提交
133 134 135
  'src/third_party/googletest':
   Var('fuchsia_git') + '/third_party/googletest' + '@' + '2072b0053d3537fa5e8d222e34c759987aae1320',

136
  'src/third_party/rapidjson':
137
   Var('fuchsia_git') + '/third_party/rapidjson' + '@' + '32d07c55db1bb6c2ae17cba4033491a667647753',
138

139
  'src/third_party/harfbuzz':
140
   Var('fuchsia_git') + '/third_party/harfbuzz' + '@' + '02caec6c1c6ad996666788b8e920ccaec8b385e5',
141

142 143 144 145 146 147
  'src/third_party/libcxx':
   Var('fuchsia_git') + '/third_party/libcxx' + '@' + 'c5a5fa59789213c7dae68d2e51cb28ef681d8257',

  'src/third_party/libcxxabi':
   Var('fuchsia_git') + '/third_party/libcxxabi' + '@' + '1a9753522f1ae8d72848d365902f39e0d3d59a39',

A
Adam Barth 已提交
148 149 150 151 152
   # Chromium-style
   #
   # As part of integrating with Fuchsia, we should eventually remove all these
   # Chromium-style dependencies.

A
Adam Barth 已提交
153
  'src/buildtools':
154
   Var('fuchsia_git') + '/buildtools' + '@' +  Var('buildtools_revision'),
155

156
  'src/ios_tools':
157
   Var('chromium_git') + '/chromium/src/ios.git' + '@' + Var('ios_tools_revision'),
A
Adam Barth 已提交
158 159

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

162
  'src/third_party/dart':
163
   Var('dart_git') + '/sdk.git' + '@' + Var('dart_revision'),
A
Adam Barth 已提交
164

165
  'src/third_party/boringssl':
166
   Var('github_git') + '/dart-lang/boringssl_gen.git' + '@' + Var('dart_boringssl_gen_rev'),
167 168

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

171
  'src/third_party/dart/third_party/observatory_pub_packages':
172
   Var('dart_git') + '/observatory_pub_packages.git' + '@' + Var('dart_observatory_pub_packages_rev'),
173

174
  'src/third_party/dart/third_party/pkg/oauth2':
175
   Var('dart_git') + '/oauth2.git' + '@' + Var('dart_oauth2_tag'),
176

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

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

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

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

189
  'src/third_party/dart/third_party/pkg/charcode':
190
   Var('dart_git') + '/charcode.git' + '@' + Var('dart_charcode_tag'),
191

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

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

198
  'src/third_party/dart/third_party/pkg/convert':
199
   Var('dart_git') + '/convert.git' + '@' + Var('dart_convert_tag'),
200

201
  'src/third_party/dart/third_party/pkg/crypto':
202
   Var('dart_git') + '/crypto.git' + '@' + Var('dart_crypto_tag'),
203

204
  'src/third_party/dart/third_party/pkg/csslib':
205
   Var('dart_git') + '/csslib.git' + '@' + Var('dart_csslib_tag'),
206

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

210
  'src/third_party/dart/third_party/pkg/dartdoc':
211
   Var('dart_git') + '/dartdoc.git' + '@' + Var('dart_dartdoc_tag'),
212

213
  'src/third_party/dart/third_party/pkg/json_rpc_2':
214
   Var('dart_git') + '/json_rpc_2.git' + '@' + Var('dart_json_rpc_2_tag'),
215

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

219
  'src/third_party/dart/third_party/pkg/fixnum':
220
   Var('dart_git') + '/fixnum.git' + '@' + Var('dart_fixnum_tag'),
221

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

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

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

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

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

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

240
  'src/third_party/dart/third_party/pkg/http_multi_server':
241
   Var('dart_git') + '/http_multi_server.git' + '@' + Var('dart_http_multi_server_tag'),
242

243
  'src/third_party/dart/third_party/pkg/logging':
244
   Var('dart_git') + '/logging.git' + '@' + Var('dart_logging_tag'),
245

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

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

252
  'src/third_party/dart/third_party/pkg/matcher':
253
   Var('dart_git') + '/matcher.git' + '@' + Var('dart_matcher_tag'),
254

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

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

261
  'src/third_party/dart/third_party/pkg/mustache4dart':
262 263
   Var('chromium_git') + '/external/github.com/valotas/mustache4dart' + '@' + Var('dart_mustache4dart_tag'),

264
  'src/third_party/dart/third_party/pkg_tested/package_config':
265
   Var('dart_git') + '/package_config.git' + '@' + Var('dart_package_config_tag'),
266

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

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

273
  'src/third_party/dart/third_party/pkg/pool':
274
   Var('dart_git') + '/pool.git' + '@' + Var('dart_pool_tag'),
275

276
  'src/third_party/dart/third_party/pkg/plugin':
277
   Var('dart_git') + '/plugin.git' + '@' + Var('dart_plugin_tag'),
278

279
  'src/third_party/dart/third_party/pkg/protobuf':
280
   Var('dart_git') + '/protobuf.git' + '@' + Var('dart_protobuf_tag'),
281

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

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

288
  'src/third_party/dart/third_party/pkg/quiver':
289 290
   Var('chromium_git') + '/external/github.com/google/quiver-dart' + '@' + Var('dart_quiver_tag'),

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

294
  'src/third_party/dart/third_party/pkg/shelf':
295
   Var('dart_git') + '/shelf.git' + '@' + Var('dart_shelf_tag'),
296

297
  'src/third_party/dart/third_party/pkg/shelf_packages_handler':
298
   Var('dart_git') + '/shelf_packages_handler.git' + '@' + Var('dart_shelf_packages_handler_tag'),
299

300
  'src/third_party/dart/third_party/pkg/shelf_static':
301
   Var('dart_git') + '/shelf_static.git' + '@' + Var('dart_shelf_static_rev'),
302

303
  'src/third_party/dart/third_party/pkg/shelf_web_socket':
304
   Var('dart_git') + '/shelf_web_socket.git' + '@' + Var('dart_shelf_web_socket_tag'),
305

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

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

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

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

318
  'src/third_party/dart/third_party/pkg/stream_channel':
319
   Var('dart_git') + '/stream_channel.git' + '@' + Var('dart_stream_channel_tag'),
320

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

324
  'src/third_party/dart/third_party/pkg_tested/dart_style':
325
   Var('dart_git') + '/dart_style.git' + '@' + Var('dart_dart_style_tag'),
326

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

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

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

336
  'src/third_party/dart/third_party/pkg/test':
337
   Var('dart_git') + '/test.git' + '@' + Var('dart_test_tag'),
338

339
  'src/third_party/dart/third_party/pkg/utf':
340
   Var('dart_git') + '/utf.git' + '@' + Var('dart_utf_tag'),
341

342
  'src/third_party/dart/third_party/pkg/usage':
343
   Var('dart_git') + '/usage.git' + '@' + Var('dart_usage_tag'),
344

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

348
  'src/third_party/dart/third_party/pkg/web_socket_channel':
349
   Var('dart_git') + '/web_socket_channel.git' + '@' + Var('dart_web_socket_channel_tag'),
350

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

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

  'src/third_party/freetype2':
358
   Var('fuchsia_git') + '/third_party/freetype2' + '@' + 'a10b062df0c8958d69377aa04ea6554a9961a111',
359

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

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

366
  'src/third_party/libjpeg-turbo':
367
   Var('fuchsia_git') + '/third_party/libjpeg-turbo' + '@' + '9587e51cf946f1a1d19bb596bc31ba4e6c9d8893',
368

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

372
  'src/third_party/gyp':
373
   Var('chromium_git') + '/external/gyp.git' + '@' + '4801a5331ae62da9769a327f11c4213d32fb0dad',
374

375
   # Headers for Vulkan 1.1
376
   'src/third_party/vulkan':
377
   Var('github_git') + '/KhronosGroup/Vulkan-Docs.git' + '@' + 'v1.1.91',
378 379

  'src/third_party/pkg/when':
380
   Var('dart_git') + '/when.git' + '@' + '0.2.0',
A
Adam Barth 已提交
381 382
}

383 384 385 386
recursedeps = [
  'src/buildtools',
]

A
Adam Barth 已提交
387 388 389 390 391 392 393 394 395 396 397 398
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',
    ],
  },
399 400 401 402 403 404
  {
    # Update the Windows toolchain if necessary.
    'name': 'win_toolchain',
    'pattern': '.',
    'action': ['python', 'src/build/vs_toolchain.py', 'update'],
  },
405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435
  {
    # Pull dart sdk if needed
    # this will be used by android_tools
    'name': 'dart',
    'pattern': '.',
    'action': ['python', 'src/tools/dart/update.py'],
  },
  {
    'name': 'prepare_android_downloader',
    'pattern': '.',
    'cwd': 'src/tools/android/android_sdk_downloader',
    'condition': 'host_os == "linux" or host_os == "mac"',
    'action': [
        '../../../third_party/dart/tools/sdks/dart-sdk/bin/pub', # this hook _must_ be run _after_ the dart hook.
        'get'
    ],
  },
  # TODO(dnfield): This can be enabled when we actually support building
  # the android engine on windows.  For now there's no sense in having
  # windows clients download bits they don't need.
  # see: https://github.com/flutter/flutter/issues/13841
  # {
  #   'name': 'prepare_android_downloader_win',
  #   'pattern': '.',
  #   'cwd': 'src\\tools\\android\\android_sdk_downloader',
  #   'condition': 'host_os == "win"',
  #   'action': [
  #       '..\\..\\..\\third_party\\dart\\tools\\sdks\\dart-sdk\\bin\\pub.bat', # this hook _must_ be run _after_ the dart hook.
  #       'get'
  #   ],
  # },
436 437 438
  {
    'name': 'download_android_tools',
    'pattern': '.',
439
    'condition': 'host_os == "mac" or host_os == "linux"',
440
    'action': [
441 442 443 444 445 446 447 448 449 450 451
        'src/third_party/dart/tools/sdks/dart-sdk/bin/dart', # this hook _must_ be run _after_ the dart hook.
        '--enable-asserts',
        'src/tools/android/android_sdk_downloader/lib/main.dart',
        '-y', # Accept licenses
        '--out=src/third_party/android_tools',
        '--platform=28',
        '--platform-revision=6',
        '--build-tools-version=28.0.3',
        '--platform-tools-version=28.0.1',
        '--tools-version=26.1.1',
        '--ndk-version=19.0.5232133'
452 453
    ],
  },
454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475
  # TODO(dnfield): This can be enabled when we actually support building
  # the android engine on windows.  For now there's no sense in having
  # windows clients download bits they don't need.
  # see: https://github.com/flutter/flutter/issues/13841
  # {
  #   'name': 'download_android_tools_win',
  #   'pattern': '.',
  #   'condition': 'host_os == "win"',
  #   'action': [
  #       'src\\third_party\\dart\\tools\\sdks\\dart-sdk\\bin\\dart.exe', # this hook _must_ be run _after_ the dart hook.
  #       '--enable-asserts',
  #       'src\\tools\\android\\android_sdk_downloader\\lib\\main.dart',
  #       '-y', # Accept licenses
  #       '--out=src\\third_party\\android_tools',
  #       '--platform=28',
  #       '--platform-revision=6',
  #       '--build-tools-version=28.0.3',
  #       '--platform-tools-version=28.0.1',
  #       '--tools-version=26.1.1',
  #       '--ndk-version=19.0.5232133'
  #   ],
  # },
476 477 478 479 480 481 482 483
  {
    'name': 'download_android_support',
    'pattern': '.',
    'action': [
        'python',
        'src/flutter/tools/android_support/download_android_support.py',
    ],
  },
A
Adam Barth 已提交
484
  {
485
    'name': 'buildtools',
A
Adam Barth 已提交
486
    'pattern': '.',
487 488 489 490
    'action': [
      'python',
      'src/tools/buildtools/update.py',
    ],
A
Adam Barth 已提交
491
  },
492
  {
493
    'name': 'generate_package_files',
494
    'pattern': '.',
495 496
    'cwd': 'src/',
    'action': ['python', 'flutter/tools/generate_package_files.py'],
497
  },
A
Adam Barth 已提交
498 499 500 501 502 503 504 505 506 507 508
  {
    # 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',
    ],
  },
509 510 511 512 513 514 515 516 517 518 519 520
  {
    "name": "7zip",
    "pattern": ".",
    "action": [
      "download_from_google_storage",
      "--no_auth",
      "--no_resume",
      "--bucket",
      "dart-dependencies",
      "--platform=win32",
      "--extract",
      "-s",
521
      "src/third_party/dart/third_party/7zip.tar.gz.sha1",
522 523
    ],
  },
A
Adam Barth 已提交
524
]