DEPS 15.9 KB
Newer Older
A
Adam Barth 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
# 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
#   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.

vars = {
  'chromium_git': 'https://chromium.googlesource.com',
A
Adam Barth 已提交
22
  'fuchsia_git': 'https://fuchsia.googlesource.com',
23
  'skia_git': 'https://skia.googlesource.com',
24
  'github_git': 'https://github.com',
C
Chinmay Garde 已提交
25
  'skia_revision': '95db9b3cb1286e2c88e12035fd96fd047ea3582d',
C
Chinmay Garde 已提交
26

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

  'dart_args_tag': '0.13.7',
  'dart_async_tag': 'daf66909019d2aaec1721fc39d94ea648a9fdc1d',
37 38
  'dart_barback_tag': '0.15.2+11',
  'dart_bazel_worker_tag': 'v0.1.4',
39 40 41
  'dart_boringssl_gen_rev': '753224969dbe43dad29343146529727b5066c0f3',
  'dart_boringssl_rev': 'd519bf6be0b447fb80fbc539d4bff4479b5482a2',
  'dart_charcode_tag': 'v1.1.1',
42
  'dart_cli_util_tag': '0.1.0',
43
  'dart_collection_tag': '1.14.3',
44
  'dart_convert_tag': '2.0.1',
45
  'dart_crypto_tag': '2.0.2',
46 47
  'dart_csslib_tag': '0.13.3+1',
  'dart_dart2js_info_tag': '0.5.4+2',
48 49 50
  'dart_dart_style_tag': '1.0.7',
  'dart_dartdoc_tag': 'v0.13.0+1',
  'dart_fixnum_tag': '0.10.5',
51 52
  'dart_glob_tag': '1.1.3',
  'dart_html_tag': '0.13.1',
53 54 55 56 57
  'dart_http_multi_server_tag': '2.0.3',
  'dart_http_parser_tag': '3.1.1',
  'dart_http_tag': '0.11.3+14',
  'dart_http_throttle_tag': '1.0.1',
  'dart_intl_tag': '0.14.0',
58
  'dart_isolate_tag': '1.0.0',
59 60
  'dart_json_rpc_2_tag': '2.0.4',
  'dart_linter_tag': '0.1.35',
61
  'dart_logging_tag': '0.11.3+1',
62 63 64 65
  'dart_markdown_tag': '0.11.3',
  'dart_mime_rev': '75890811d4af5af080351ba8a2853ad4c8df98dd',
  'dart_mustache4dart_tag': 'v1.1.0',
  'dart_oauth2_tag': '1.0.2',
66
  'dart_observatory_pub_packages_rev': 'a4e392521c720d244cd63e067387195d78584b35',
67
  'dart_package_config_tag': '1.0.1',
68
  'dart_package_resolver_tag': '1.0.2+1',
69 70
  'dart_path_tag': '1.4.1',
  'dart_plugin_tag': '0.2.0',
71 72 73
  'dart_pool_tag': '1.3.0',
  'dart_protobuf_tag': '0.5.4',
  'dart_pub_rev': '0f122625f8e607842afe156b9b23a9709e4ce39a',
74
  'dart_pub_semver_tag': '1.3.2',
75 76
  'dart_quiver_tag': '0.22.0',
  'dart_resource_rev': 'a49101ba2deb29c728acba6fb86000a8f730f4b1',
77
  'dart_root_certificates_rev': 'a4c7c6f23a664a37bc1b6f15a819e3f2a292791a',
78 79
  'dart_shelf_tag': '0.6.7+2',
  'dart_shelf_web_socket_tag': '0.2.1',
80
  'dart_source_span_tag': '1.4.0',
81 82
  'dart_stack_trace_tag': '1.7.2',
  'dart_stream_channel_tag': '1.6.1',
83
  'dart_string_scanner_tag': '1.0.1',
84
  'dart_tuple_tag': 'v1.0.1',
85
  'dart_typed_data_tag': '1.1.3',
86
  'dart_usage_tag': '3.3.0',
87 88
  'dart_utf_tag': '0.9.0+3',
  'dart_watcher_tag': '0.9.7+3',
89
  'dart_web_socket_channel_tag': '1.0.4',
90
  'dart_yaml_tag': '2.1.12',
A
Adam Barth 已提交
91

92 93 94
  # Build bot tooling for iOS
  'ios_tools_revision': '69b7c1b160e7107a6a98d948363772dc9caea46f',

95
  'buildtools_revision': 'dae970de6f6d4168fc9b2e005a8d597d55dcf32f',
A
Adam Barth 已提交
96 97 98 99 100 101
}

# 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 已提交
102
  'fuchsia.googlesource.com',
J
James Robinson 已提交
103
  'github.com',
104
  'skia.googlesource.com',
A
Adam Barth 已提交
105 106 107
]

deps = {
108
  'src': 'https://github.com/flutter/buildroot.git' + '@' + '56682b07423a1a6fe760fc13d0d1b2af909318d7',
109

A
Adam Barth 已提交
110 111 112 113 114 115 116
   # 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.

  'src/lib/ftl':
117
   Var('fuchsia_git') + '/ftl' + '@' + 'bd6e605513008bc074d0e8022446cea8a06a3ce7',
A
Adam Barth 已提交
118

A
Adam Barth 已提交
119
  'src/lib/tonic':
J
Jason Simmons 已提交
120
   Var('fuchsia_git') + '/tonic' + '@' + '32e37b1478ea334ee215bd909cd35b85a6197c65',
A
Adam Barth 已提交
121

C
Chinmay Garde 已提交
122 123 124
   'src/lib/txt':
   Var('fuchsia_git') + '/txt' + '@' + '10ba0f7fd2fa4dc7ebac2ac085b459db29a83c0f',

A
Adam Barth 已提交
125
  'src/lib/zip':
J
Jason Simmons 已提交
126
   Var('fuchsia_git') + '/zip' + '@' + '92dc87ca645fe8e9f5151ef6dac86d8311a7222f',
A
Adam Barth 已提交
127

128 129 130
   'src/third_party/benchmark':
   Var('fuchsia_git') + '/third_party/benchmark' + '@' + '296537bc48d380adf21567c5d736ab79f5363d22',

A
Adam Barth 已提交
131 132 133
  'src/third_party/gtest':
   Var('fuchsia_git') + '/third_party/gtest' + '@' + 'c00f82917331efbbd27124b537e4ccc915a02b72',

134 135 136
  'src/third_party/rapidjson':
   Var('fuchsia_git') + '/third_party/rapidjson' + '@' + '9defbb0209a534ffeb3a2b79d5ee440a77407292',

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

A
Adam Barth 已提交
142
  'src/buildtools':
143
   Var('fuchsia_git') + '/buildtools' + '@' +  Var('buildtools_revision'),
144

145
  'src/ios_tools':
146
   Var('chromium_git') + '/chromium/src/ios.git' + '@' + Var('ios_tools_revision'),
A
Adam Barth 已提交
147 148

  'src/third_party/icu':
A
Adam Barth 已提交
149
   Var('chromium_git') + '/chromium/deps/icu.git' + '@' + 'c3f79166089e5360c09e3053fce50e6e296c3204',
A
Adam Barth 已提交
150 151

  'src/dart':
152
   Var('chromium_git') + '/external/github.com/dart-lang/sdk.git' + '@' + Var('dart_revision'),
A
Adam Barth 已提交
153

154
  'src/third_party/boringssl':
155
   Var('github_git') + '/dart-lang/boringssl_gen.git' + '@' + Var('dart_boringssl_gen_rev'),
156 157

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

A
Adam Barth 已提交
160
  'src/dart/third_party/observatory_pub_packages':
161 162
   Var('chromium_git') + '/external/github.com/dart-lang/observatory_pub_packages' + '@' + Var('dart_observatory_pub_packages_rev'),

163 164 165
  'src/dart/third_party/pkg/oauth2':
   Var('chromium_git') + '/external/github.com/dart-lang/oauth2' + '@' + Var('dart_oauth2_tag'),

166 167 168 169 170 171
  'src/dart/third_party/pkg/args':
   Var('chromium_git') + '/external/github.com/dart-lang/args' + '@' + Var('dart_args_tag'),

  'src/dart/third_party/pkg/async':
   Var('chromium_git') + '/external/github.com/dart-lang/async' + '@' +   Var('dart_async_tag'),

172 173 174 175 176 177
  'src/dart/third_party/pkg/barback':
   Var('chromium_git') + '/external/github.com/dart-lang/barback' + '@' +   Var('dart_barback_tag'),

  'src/dart/third_party/pkg/bazel_worker':
   Var('chromium_git') + '/external/github.com/dart-lang/bazel_worker' + '@' +   Var('dart_bazel_worker_tag'),

178 179 180
  'src/dart/third_party/pkg/charcode':
   Var('chromium_git') + '/external/github.com/dart-lang/charcode' + '@' + Var('dart_charcode_tag'),

181 182 183
  'src/dart/third_party/pkg/cli_util':
   Var('chromium_git') + '/external/github.com/dart-lang/cli_util' + '@' + Var('dart_cli_util_tag'),

184 185 186 187 188 189 190 191 192 193 194 195 196 197 198
  'src/dart/third_party/pkg/collection':
   Var('chromium_git') + '/external/github.com/dart-lang/collection' + '@' + Var('dart_collection_tag'),

  'src/dart/third_party/pkg/convert':
   Var('chromium_git') + '/external/github.com/dart-lang/convert' + '@' + Var('dart_convert_tag'),

  'src/dart/third_party/pkg/crypto':
   Var('chromium_git') + '/external/github.com/dart-lang/crypto' + '@' + Var('dart_crypto_tag'),

  'src/dart/third_party/pkg/csslib':
   Var('chromium_git') + '/external/github.com/dart-lang/csslib' + '@' + Var('dart_csslib_tag'),

  'src/dart/third_party/pkg/dart2js_info':
   Var('chromium_git') + '/external/github.com/dart-lang/dart2js_info' + '@' + Var('dart_dart2js_info_tag'),

199 200 201
  'src/dart/third_party/pkg/dartdoc':
   Var('chromium_git') + '/external/github.com/dart-lang/dartdoc' + '@' + Var('dart_dartdoc_tag'),

202 203 204
  'src/dart/third_party/pkg/isolate':
   Var('chromium_git') + '/external/github.com/dart-lang/isolate' + '@' + Var('dart_isolate_tag'),

205 206 207 208 209 210 211 212 213
  'src/dart/third_party/pkg/json_rpc_2':
   Var('chromium_git') + '/external/github.com/dart-lang/json_rpc_2' + '@' + Var('dart_json_rpc_2_tag'),

  'src/dart/third_party/pkg/intl':
   Var('chromium_git') + '/external/github.com/dart-lang/intl' + '@' + Var('dart_intl_tag'),

  'src/dart/third_party/pkg/fixnum':
   Var('chromium_git') + '/external/github.com/dart-lang/fixnum' + '@' + Var('dart_fixnum_tag'),

214 215 216 217 218 219
  'src/dart/third_party/pkg/glob':
   Var('chromium_git') + '/external/github.com/dart-lang/glob' + '@' + Var('dart_glob_tag'),

  'src/dart/third_party/pkg/html':
   Var('chromium_git') + '/external/github.com/dart-lang/html' + '@' + Var('dart_html_tag'),

220 221 222 223 224 225 226 227 228 229 230 231
  'src/dart/third_party/pkg/http':
   Var('chromium_git') + '/external/github.com/dart-lang/http' + '@' + Var('dart_http_tag'),

  'src/dart/third_party/pkg/http_parser':
   Var('chromium_git') + '/external/github.com/dart-lang/http_parser' + '@' + Var('dart_http_parser_tag'),

  'src/dart/third_party/pkg/http_throttle':
   Var('chromium_git') + '/external/github.com/dart-lang/http_throttle' + '@' + Var('dart_http_throttle_tag'),

  'src/dart/third_party/pkg/http_multi_server':
   Var('chromium_git') + '/external/github.com/dart-lang/http_multi_server' + '@' + Var('dart_http_multi_server_tag'),

232 233 234
  'src/dart/third_party/pkg/logging':
   Var('chromium_git') + '/external/github.com/dart-lang/logging' + '@' + Var('dart_logging_tag'),

235 236 237 238 239 240 241 242 243 244 245 246
  'src/dart/third_party/pkg/linter':
   Var('chromium_git') + '/external/github.com/dart-lang/linter' + '@' + Var('dart_linter_tag'),

  'src/dart/third_party/pkg/markdown':
   Var('chromium_git') + '/external/github.com/dart-lang/markdown' + '@' + Var('dart_markdown_tag'),

  'src/dart/third_party/pkg/mime':
   Var('chromium_git') + '/external/github.com/dart-lang/mime' + '@' + Var('dart_mime_rev'),

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

247 248 249
  'src/dart/third_party/pkg_tested/package_config':
   Var('chromium_git') + '/external/github.com/dart-lang/package_config' + '@' + Var('dart_package_config_tag'),

250 251 252
  'src/dart/third_party/pkg_tested/package_resolver':
   Var('chromium_git') + '/external/github.com/dart-lang/package_resolver' + '@' + Var('dart_package_resolver_tag'),

253 254 255
  'src/dart/third_party/pkg/path':
   Var('chromium_git') + '/external/github.com/dart-lang/path' + '@' + Var('dart_path_tag'),

256 257 258
  'src/dart/third_party/pkg/pool':
   Var('chromium_git') + '/external/github.com/dart-lang/pool' + '@' + Var('dart_pool_tag'),

259 260 261
  'src/dart/third_party/pkg/plugin':
   Var('chromium_git') + '/external/github.com/dart-lang/plugin' + '@' + Var('dart_plugin_tag'),

262 263 264
  'src/dart/third_party/pkg/protobuf':
   Var('chromium_git') + '/external/github.com/dart-lang/protobuf' + '@' + Var('dart_protobuf_tag'),

265 266 267
  'src/dart/third_party/pkg/pub_semver':
   Var('chromium_git') + '/external/github.com/dart-lang/pub_semver' + '@' + Var('dart_pub_semver_tag'),

268 269 270 271 272 273 274 275 276 277 278 279 280 281 282
  'src/dart/third_party/pkg/pub':
   Var('chromium_git') + '/external/github.com/dart-lang/pub' + '@' + Var('dart_pub_rev'),

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

  'src/dart/third_party/pkg/resource':
   Var('chromium_git') + '/external/github.com/dart-lang/resource' + '@' + Var('dart_resource_rev'),

  'src/dart/third_party/pkg/shelf':
   Var('chromium_git') + '/external/github.com/dart-lang/shelf' + '@' + Var('dart_shelf_tag'),

  'src/dart/third_party/pkg/shelf_web_socket':
   Var('chromium_git') + '/external/github.com/dart-lang/shelf_web_socket' + '@' + Var('dart_shelf_web_socket_tag'),

283 284 285 286 287 288
  'src/dart/third_party/pkg/source_span':
   Var('chromium_git') + '/external/github.com/dart-lang/source_span' + '@' + Var('dart_source_span_tag'),

  'src/dart/third_party/pkg/string_scanner':
   Var('chromium_git') + '/external/github.com/dart-lang/string_scanner' + '@' + Var('dart_string_scanner_tag'),

289 290 291 292 293 294 295 296 297
  'src/dart/third_party/pkg/stream_channel':
   Var('chromium_git') + '/external/github.com/dart-lang/stream_channel' + '@' + Var('dart_stream_channel_tag'),

  'src/dart/third_party/pkg/stack_trace':
   Var('chromium_git') + '/external/github.com/dart-lang/stack_trace' + '@' + Var('dart_stack_trace_tag'),

  'src/dart/third_party/pkg_tested/dart_style':
   Var('chromium_git') + '/external/github.com/dart-lang/dart_style' + '@' + Var('dart_dart_style_tag'),

298 299 300
  'src/dart/third_party/pkg/typed_data':
   Var('chromium_git') + '/external/github.com/dart-lang/typed_data' + '@' + Var('dart_typed_data_tag'),

301 302 303
  'src/dart/third_party/pkg/tuple':
   Var('chromium_git') + '/external/github.com/dart-lang/tuple' + '@' + Var('dart_tuple_tag'),

304 305 306
  'src/dart/third_party/pkg/utf':
   Var('chromium_git') + '/external/github.com/dart-lang/utf' + '@' + Var('dart_utf_tag'),

307 308 309
  'src/dart/third_party/pkg/usage':
   Var('chromium_git') + '/external/github.com/dart-lang/usage' + '@' + Var('dart_usage_tag'),

310 311 312
  'src/dart/third_party/pkg/watcher':
   Var('chromium_git') + '/external/github.com/dart-lang/watcher' + '@' + Var('dart_watcher_tag'),

313 314 315
  'src/dart/third_party/pkg/web_socket_channel':
   Var('chromium_git') + '/external/github.com/dart-lang/web_socket_channel' + '@' + Var('dart_web_socket_channel_tag'),

316 317
  'src/dart/third_party/pkg/yaml':
   Var('chromium_git') + '/external/github.com/dart-lang/yaml' + '@' + Var('dart_yaml_tag'),
A
Adam Barth 已提交
318

319
  'src/third_party/root_certificates':
320
   Var('chromium_git') + '/external/github.com/dart-lang/root_certificates' + '@' + Var('dart_root_certificates_rev'),
C
Chinmay Garde 已提交
321

A
Adam Barth 已提交
322
  'src/third_party/skia':
323
   Var('skia_git') + '/skia.git' + '@' +  Var('skia_revision'),
A
Adam Barth 已提交
324

325 326
  'src/third_party/libjpeg-turbo':
   Var('skia_git') + '/third_party/libjpeg-turbo.git' + '@' + 'debddedc75850bcdeb8a57258572f48b802a4bb3',
327

328
  'src/third_party/gyp':
329
   Var('chromium_git') + '/external/gyp.git' + '@' + '4801a5331ae62da9769a327f11c4213d32fb0dad',
330

331 332 333
   # Headers for Vulkan 1.0
   'src/third_party/vulkan':
   Var('github_git') + '/KhronosGroup/Vulkan-Docs.git' + '@' + 'e29c2489e238509c41aeb8c7bce9d669a496344b',
A
Adam Barth 已提交
334 335
}

336 337 338 339
recursedeps = [
  'src/buildtools',
]

A
Adam Barth 已提交
340 341 342 343 344
deps_os = {
  'android': {
    'src/third_party/colorama/src':
     Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',

345
    'src/third_party/freetype2':
346
       Var('fuchsia_git') + '/third_party/freetype2' + '@' + 'e23a030e9b43c648249477fdf7bf5305d2cc8f59',
A
Adam Barth 已提交
347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362
  },
}


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',
    ],
  },
363 364 365 366 367 368
  {
    # Update the Windows toolchain if necessary.
    'name': 'win_toolchain',
    'pattern': '.',
    'action': ['python', 'src/build/vs_toolchain.py', 'update'],
  },
369 370 371 372 373 374 375 376
  {
    'name': 'download_android_tools',
    'pattern': '.',
    'action': [
        'python',
        'src/tools/android/download_android_tools.py',
    ],
  },
A
Adam Barth 已提交
377
  {
378
    'name': 'buildtools',
A
Adam Barth 已提交
379
    'pattern': '.',
380 381 382 383
    'action': [
      'python',
      'src/tools/buildtools/update.py',
    ],
A
Adam Barth 已提交
384
  },
385 386 387 388 389 390
  {
    # Pull dart sdk if needed
    'name': 'dart',
    'pattern': '.',
    'action': ['python', 'src/tools/dart/update.py'],
  },
A
Adam Barth 已提交
391 392 393 394 395 396 397 398 399 400 401
  {
    # 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',
    ],
  },
402 403 404 405 406 407 408 409 410 411 412 413 414 415 416
  {
    "name": "7zip",
    "pattern": ".",
    "action": [
      "download_from_google_storage",
      "--no_auth",
      "--no_resume",
      "--bucket",
      "dart-dependencies",
      "--platform=win32",
      "--extract",
      "-s",
      "src/dart/third_party/7zip.tar.gz.sha1",
    ],
  },
A
Adam Barth 已提交
417
]