Alexander Aprelev 110e6fdd1c Roll dart to 7764e6962e22afcf4b58c4e3cef3147330f3c884. (flutter/engine#4960)
* Roll dart to 7764e6962e22afcf4b58c4e3cef3147330f3c884.

Changes since last roll:

```
7764e6962e Initial API to build analysis contexts (replaces ContextLocator.locateContexts)
5ea271bb01 Clean up documentation of implicit new/const insertions tests.
cf93009caf Removed the magic const feature from implicit-creation.md
bd39320b3b Recover from error on undefined continue label.
5d89a1ac32 Add tests for mixin application constructor forwarding.
e6962790a1 Use import URIs when invalidating files
23c59bd819 Fix compare_failures
290cc58e71 Use actual receiver when error-wrapping a null-aware property get.
34763bc4c9 Reland "[VM] Introduction of type testing stubs - Part 1-4"
a86b864fa9 Handle updated .packages in incremental compiler
f555ae505a Trust type annotations in strong mode
0a4a3bed68 When cloning YieldStatement, copy the flags
91bbc798fa Skip abstract forwarding stubs
7689dc9e06 Bring in the latest pub_semver
f71d204185 Fix expected type in substByContext
5e99872770 Improve missing/invalid type reference recovery
899dbe4dae Forward type arguments in one-shot interceptors.
1fd3011f47 dart2js: Add more whole-program information to dump-info
5e23c2843d Revert "[infra] Temporarily disable Windows SDK builder on CQ"
2471888d4a Serialize any MethodInvocation as possible const.
b430570364 dart2js: handle constant casts with type variable substitutions
3575b810b3 Only add const in a constant context (issue 32819)
09f7d2aee5 dart2js: naive support for instantiations in constants - ignore the actual instantiation
4dd5e6e6ad js_runtime: fix _JsonMap keys list type
71ffe976a9 Correctly handle constant fields when computing constness (take 2)
d58b0e2d44 [VM] Mark bigint test slow after small Smi change
1e997ee6b7 Revert "Reland "[VM] Introduction of type testing stubs - Part 1-4""
00097adce0 Remove reference to deprecated setter
cb065a116f [infra] Update checked-in SDK version to 2.0.0-dev.46.0
0e9a77a360 [VM] Reduce Smi size to 32 bit on 64 bit platforms
34bfefd508 [gardening] Update status file
969c0de335 Avoid crash on EOF error in file with Windows line encoding
8054409a02 Reland "[VM] Introduction of type testing stubs - Part 1-4"
```

* Ignore freetype2 in skia since 'we use our own version'

* Update license hash
2018-04-10 14:09:08 -07:00

480 lines
17 KiB
Python

# 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',
'dart_git': 'https://dart.googlesource.com',
'fuchsia_git': 'https://fuchsia.googlesource.com',
'github_git': 'https://github.com',
'skia_git': 'https://skia.googlesource.com',
'skia_revision': '9874bf1bcecd0113087bd8a51cf838da0efa3bfe',
# 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
# Dart is: https://github.com/dart-lang/sdk/blob/master/DEPS.
# You can use //tools/dart/create_updated_flutter_deps.py to produce
# updated revision list of existing dependencies.
'dart_revision': '7764e6962e22afcf4b58c4e3cef3147330f3c884',
'dart_args_tag': '1.4.1',
'dart_async_tag': '2.0.6',
'dart_barback_tag': '0.15.2+14',
'dart_bazel_worker_tag': 'v0.1.9',
'dart_boolean_selector_tag': '1.0.3',
'dart_boringssl_gen_rev': '344f455fd13d46f054726638e76026156ea73aa9',
'dart_boringssl_rev': '672f6fc2486745d0cabc3aaeb4e0a3cd13b37b12',
'dart_charcode_tag': 'v1.1.1',
'dart_cli_util_tag': '0.1.2+1',
'dart_collection_tag': '1.14.6',
'dart_convert_tag': '2.0.1',
'dart_crypto_tag': '2.0.2+1',
'dart_csslib_tag': '0.14.1',
'dart_dart2js_info_tag': '0.5.6',
'dart_dart_style_tag': '1.0.10',
'dart_dartdoc_tag': 'v0.18.1',
'dart_fixnum_tag': '0.10.5',
'dart_glob_tag': '1.1.5',
'dart_html_tag': '0.13.3',
'dart_http_multi_server_tag': '2.0.4',
'dart_http_parser_tag': '3.1.1',
'dart_http_retry_tag': '0.1.1',
'dart_http_tag': '0.11.3+16',
'dart_http_throttle_tag': '1.0.1',
'dart_intl_tag': '0.15.2',
'dart_isolate_tag': '1.1.0',
'dart_json_rpc_2_tag': '2.0.6',
'dart_linter_tag': '0.1.47',
'dart_logging_tag': '0.11.3+1',
'dart_markdown_tag': '1.1.1',
'dart_matcher_tag': '0.12.1+4',
'dart_mime_tag': '0.9.6',
'dart_mockito_tag': 'a92db054fba18bc2d605be7670aee74b7cadc00a',
'dart_mustache4dart_tag': 'v2.1.0',
'dart_oauth2_tag': '1.1.0',
'dart_observatory_pub_packages_rev': 'd3a3aebefbd35aa30fe7bbc2889b772b398f7d7f',
'dart_package_config_tag': '1.0.3',
'dart_package_resolver_tag': '1.0.2+1',
'dart_path_tag': '1.5.1',
'dart_plugin_tag': '0.2.0+2',
'dart_pool_tag': '1.3.4',
'dart_protobuf_tag': '0.7.1',
'dart_pub_rev': '4947e0b3cb3ec77e4e8fe0d3141ce4dc60f43256',
'dart_pub_semver_tag': '1.3.6',
'dart_quiver_tag': '5aaa3f58c48608af5b027444d561270b53f15dbf',
'dart_resource_rev': 'af5a5bf65511943398146cf146e466e5f0b95cb9',
'dart_root_certificates_rev': '16ef64be64c7dfdff2b9f4b910726e635ccc519e',
'dart_shelf_packages_handler_tag': '1.0.3',
'dart_shelf_static_rev': 'v0.2.7',
'dart_shelf_tag': '0.7.2',
'dart_shelf_web_socket_tag': '0.2.2',
'dart_source_map_stack_trace_tag': '1.1.4',
'dart_source_maps_tag': '0.10.4',
'dart_source_span_tag': '1.4.0',
'dart_stack_trace_tag': '1.9.2',
'dart_stream_channel_tag': '1.6.4',
'dart_string_scanner_tag': '1.0.2',
'dart_test_tag': '0.12.30+1',
'dart_tuple_tag': 'v1.0.1',
'dart_typed_data_tag': '1.1.3',
'dart_usage_tag': '3.3.0',
'dart_utf_tag': '0.9.0+4',
'dart_watcher_tag': '0.9.7+7',
'dart_web_socket_channel_tag': '1.0.7',
'dart_yaml_tag': '2.1.13',
# Build bot tooling for iOS
'ios_tools_revision': '69b7c1b160e7107a6a98d948363772dc9caea46f',
'buildtools_revision': 'ae85410691b10aa2469695c2421b1fe751843e64',
}
# 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',
'fuchsia.googlesource.com',
'github.com',
'skia.googlesource.com',
]
deps = {
'src': 'https://github.com/flutter/buildroot.git' + '@' + '8dddd90bf943a8174913564353b30a3b11ee0f7a',
# 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/garnet':
Var('fuchsia_git') + '/garnet' + '@' + 'b7492b5f34e32248b164eb48ae8e67995aebda67',
'src/topaz':
Var('fuchsia_git') + '/topaz' + '@' + 'e331f910c1003d154a4de6e1b5356f8d785fd6ec',
'src/third_party/benchmark':
Var('fuchsia_git') + '/third_party/benchmark' + '@' + '296537bc48d380adf21567c5d736ab79f5363d22',
'src/third_party/googletest':
Var('fuchsia_git') + '/third_party/googletest' + '@' + '2072b0053d3537fa5e8d222e34c759987aae1320',
'src/third_party/rapidjson':
Var('fuchsia_git') + '/third_party/rapidjson' + '@' + '9defbb0209a534ffeb3a2b79d5ee440a77407292',
'src/third_party/harfbuzz':
Var('fuchsia_git') + '/third_party/harfbuzz' + '@' + '39b423660aacf916f1cb01f24913f78eaacb3baf',
# Chromium-style
#
# As part of integrating with Fuchsia, we should eventually remove all these
# Chromium-style dependencies.
'src/buildtools':
Var('fuchsia_git') + '/buildtools' + '@' + Var('buildtools_revision'),
'src/ios_tools':
Var('chromium_git') + '/chromium/src/ios.git' + '@' + Var('ios_tools_revision'),
'src/third_party/icu':
Var('chromium_git') + '/chromium/deps/icu.git' + '@' + '08cb956852a5ccdba7f9c941728bb833529ba3c6',
'src/third_party/dart':
Var('dart_git') + '/sdk.git' + '@' + Var('dart_revision'),
'src/third_party/boringssl':
Var('github_git') + '/dart-lang/boringssl_gen.git' + '@' + Var('dart_boringssl_gen_rev'),
'src/third_party/boringssl/src':
'https://boringssl.googlesource.com/boringssl.git' + '@' + Var('dart_boringssl_rev'),
'src/third_party/dart/third_party/observatory_pub_packages':
Var('dart_git') + '/observatory_pub_packages.git' + '@' + Var('dart_observatory_pub_packages_rev'),
'src/third_party/dart/third_party/pkg/oauth2':
Var('dart_git') + '/oauth2.git' + '@' + Var('dart_oauth2_tag'),
'src/third_party/dart/third_party/pkg/args':
Var('dart_git') + '/args.git' + '@' + Var('dart_args_tag'),
'src/third_party/dart/third_party/pkg/async':
Var('dart_git') + '/async.git' + '@' + Var('dart_async_tag'),
'src/third_party/dart/third_party/pkg/barback':
Var('dart_git') + '/barback.git' + '@' + Var('dart_barback_tag'),
'src/third_party/dart/third_party/pkg/bazel_worker':
Var('dart_git') + '/bazel_worker.git' + '@' + Var('dart_bazel_worker_tag'),
'src/third_party/dart/third_party/pkg/boolean_selector':
Var('dart_git') + '/boolean_selector.git' + '@' + Var('dart_boolean_selector_tag'),
'src/third_party/dart/third_party/pkg/charcode':
Var('dart_git') + '/charcode.git' + '@' + Var('dart_charcode_tag'),
'src/third_party/dart/third_party/pkg/cli_util':
Var('dart_git') + '/cli_util.git' + '@' + Var('dart_cli_util_tag'),
'src/third_party/dart/third_party/pkg/collection':
Var('dart_git') + '/collection.git' + '@' + Var('dart_collection_tag'),
'src/third_party/dart/third_party/pkg/convert':
Var('dart_git') + '/convert.git' + '@' + Var('dart_convert_tag'),
'src/third_party/dart/third_party/pkg/crypto':
Var('dart_git') + '/crypto.git' + '@' + Var('dart_crypto_tag'),
'src/third_party/dart/third_party/pkg/csslib':
Var('dart_git') + '/csslib.git' + '@' + Var('dart_csslib_tag'),
'src/third_party/dart/third_party/pkg/dart2js_info':
Var('dart_git') + '/dart2js_info.git' + '@' + Var('dart_dart2js_info_tag'),
'src/third_party/dart/third_party/pkg/dartdoc':
Var('dart_git') + '/dartdoc.git' + '@' + Var('dart_dartdoc_tag'),
'src/third_party/dart/third_party/pkg/isolate':
Var('dart_git') + '/isolate.git' + '@' + Var('dart_isolate_tag'),
'src/third_party/dart/third_party/pkg/json_rpc_2':
Var('dart_git') + '/json_rpc_2.git' + '@' + Var('dart_json_rpc_2_tag'),
'src/third_party/dart/third_party/pkg/intl':
Var('dart_git') + '/intl.git' + '@' + Var('dart_intl_tag'),
'src/third_party/dart/third_party/pkg/fixnum':
Var('dart_git') + '/fixnum.git' + '@' + Var('dart_fixnum_tag'),
'src/third_party/dart/third_party/pkg/glob':
Var('dart_git') + '/glob.git' + '@' + Var('dart_glob_tag'),
'src/third_party/dart/third_party/pkg/html':
Var('dart_git') + '/html.git' + '@' + Var('dart_html_tag'),
'src/third_party/dart/third_party/pkg/http':
Var('dart_git') + '/http.git' + '@' + Var('dart_http_tag'),
'src/third_party/dart/third_party/pkg/http_parser':
Var('dart_git') + '/http_parser.git' + '@' + Var('dart_http_parser_tag'),
'src/third_party/dart/third_party/pkg/http_retry':
Var('dart_git') + '/http_retry.git' + '@' + Var('dart_http_retry_tag'),
'src/third_party/dart/third_party/pkg/http_throttle':
Var('dart_git') + '/http_throttle.git' + '@' + Var('dart_http_throttle_tag'),
'src/third_party/dart/third_party/pkg/http_multi_server':
Var('dart_git') + '/http_multi_server.git' + '@' + Var('dart_http_multi_server_tag'),
'src/third_party/dart/third_party/pkg/logging':
Var('dart_git') + '/logging.git' + '@' + Var('dart_logging_tag'),
'src/third_party/dart/third_party/pkg/linter':
Var('dart_git') + '/linter.git' + '@' + Var('dart_linter_tag'),
'src/third_party/dart/third_party/pkg/markdown':
Var('dart_git') + '/markdown.git' + '@' + Var('dart_markdown_tag'),
'src/third_party/dart/third_party/pkg/matcher':
Var('dart_git') + '/matcher.git' + '@' + Var('dart_matcher_tag'),
'src/third_party/dart/third_party/pkg/mime':
Var('dart_git') + '/mime.git' + '@' + Var('dart_mime_tag'),
'src/third_party/dart/third_party/pkg/mockito':
Var('dart_git') + '/mockito.git' + '@' + Var('dart_mockito_tag'),
'src/third_party/dart/third_party/pkg/mustache4dart':
Var('chromium_git') + '/external/github.com/valotas/mustache4dart' + '@' + Var('dart_mustache4dart_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'),
'src/third_party/dart/third_party/pkg/path':
Var('dart_git') + '/path.git' + '@' + Var('dart_path_tag'),
'src/third_party/dart/third_party/pkg/pool':
Var('dart_git') + '/pool.git' + '@' + Var('dart_pool_tag'),
'src/third_party/dart/third_party/pkg/plugin':
Var('dart_git') + '/plugin.git' + '@' + Var('dart_plugin_tag'),
'src/third_party/dart/third_party/pkg/protobuf':
Var('dart_git') + '/protobuf.git' + '@' + Var('dart_protobuf_tag'),
'src/third_party/dart/third_party/pkg/pub_semver':
Var('dart_git') + '/pub_semver.git' + '@' + Var('dart_pub_semver_tag'),
'src/third_party/dart/third_party/pkg/pub':
Var('dart_git') + '/pub.git' + '@' + Var('dart_pub_rev'),
'src/third_party/dart/third_party/pkg/quiver':
Var('chromium_git') + '/external/github.com/google/quiver-dart' + '@' + Var('dart_quiver_tag'),
'src/third_party/dart/third_party/pkg/resource':
Var('dart_git') + '/resource.git' + '@' + Var('dart_resource_rev'),
'src/third_party/dart/third_party/pkg/shelf':
Var('dart_git') + '/shelf.git' + '@' + Var('dart_shelf_tag'),
'src/third_party/dart/third_party/pkg/shelf_packages_handler':
Var('dart_git') + '/shelf_packages_handler.git' + '@' + Var('dart_shelf_packages_handler_tag'),
'src/third_party/dart/third_party/pkg/shelf_static':
Var('dart_git') + '/shelf_static.git' + '@' + Var('dart_shelf_static_rev'),
'src/third_party/dart/third_party/pkg/shelf_web_socket':
Var('dart_git') + '/shelf_web_socket.git' + '@' + Var('dart_shelf_web_socket_tag'),
'src/third_party/dart/third_party/pkg/source_span':
Var('dart_git') + '/source_span.git' + '@' + Var('dart_source_span_tag'),
'src/third_party/dart/third_party/pkg/source_map_stack_trace':
Var('dart_git') + '/source_map_stack_trace.git' + '@' + Var('dart_source_map_stack_trace_tag'),
'src/third_party/dart/third_party/pkg/source_maps':
Var('dart_git') + '/source_maps.git' + '@' + Var('dart_source_maps_tag'),
'src/third_party/dart/third_party/pkg/string_scanner':
Var('dart_git') + '/string_scanner.git' + '@' + Var('dart_string_scanner_tag'),
'src/third_party/dart/third_party/pkg/stream_channel':
Var('dart_git') + '/stream_channel.git' + '@' + Var('dart_stream_channel_tag'),
'src/third_party/dart/third_party/pkg/stack_trace':
Var('dart_git') + '/stack_trace.git' + '@' + Var('dart_stack_trace_tag'),
'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/typed_data':
Var('dart_git') + '/typed_data.git' + '@' + Var('dart_typed_data_tag'),
'src/third_party/dart/third_party/pkg/test':
Var('dart_git') + '/test.git' + '@' + Var('dart_test_tag'),
'src/third_party/dart/third_party/pkg/tuple':
Var('dart_git') + '/tuple.git' + '@' + Var('dart_tuple_tag'),
'src/third_party/dart/third_party/pkg/utf':
Var('dart_git') + '/utf.git' + '@' + Var('dart_utf_tag'),
'src/third_party/dart/third_party/pkg/usage':
Var('dart_git') + '/usage.git' + '@' + Var('dart_usage_tag'),
'src/third_party/dart/third_party/pkg/watcher':
Var('dart_git') + '/watcher.git' + '@' + Var('dart_watcher_tag'),
'src/third_party/dart/third_party/pkg/web_socket_channel':
Var('dart_git') + '/web_socket_channel.git' + '@' + Var('dart_web_socket_channel_tag'),
'src/third_party/dart/third_party/pkg/yaml':
Var('dart_git') + '/yaml.git' + '@' + Var('dart_yaml_tag'),
'src/third_party/colorama/src':
Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',
'src/third_party/freetype2':
Var('fuchsia_git') + '/third_party/freetype2' + '@' + 'e23a030e9b43c648249477fdf7bf5305d2cc8f59',
'src/third_party/root_certificates':
Var('dart_git') + '/root_certificates.git' + '@' + Var('dart_root_certificates_rev'),
'src/third_party/skia':
Var('skia_git') + '/skia.git' + '@' + Var('skia_revision'),
'src/third_party/libjpeg-turbo':
Var('fuchsia_git') + '/third_party/libjpeg-turbo' + '@' + '9587e51cf946f1a1d19bb596bc31ba4e6c9d8893',
'src/third_party/libwebp':
Var('chromium_git') + '/webm/libwebp.git' + '@' + '0.6.0',
'src/third_party/gyp':
Var('chromium_git') + '/external/gyp.git' + '@' + '4801a5331ae62da9769a327f11c4213d32fb0dad',
# Headers for Vulkan 1.0
'src/third_party/vulkan':
Var('github_git') + '/KhronosGroup/Vulkan-Docs.git' + '@' + 'e29c2489e238509c41aeb8c7bce9d669a496344b',
'src/third_party/pkg/when':
Var('dart_git') + '/when.git' + '@' + '0.2.0',
}
recursedeps = [
'src/buildtools',
]
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',
],
},
{
# Update the Windows toolchain if necessary.
'name': 'win_toolchain',
'pattern': '.',
'action': ['python', 'src/build/vs_toolchain.py', 'update'],
},
{
'name': 'download_android_tools',
'pattern': '.',
'action': [
'python',
'src/tools/android/download_android_tools.py',
],
},
{
'name': 'buildtools',
'pattern': '.',
'action': [
'python',
'src/tools/buildtools/update.py',
],
},
{
# Pull dart sdk if needed
'name': 'dart',
'pattern': '.',
'action': ['python', 'src/tools/dart/update.py'],
},
{
'name': 'frontend_server_packages',
'pattern': '.',
'condition': 'host_os == "linux"',
'cwd': 'src/flutter/frontend_server/',
'action': [
'../../../src/third_party/dart/tools/sdks/linux/dart-sdk/bin/pub', 'get',
],
},
{
'name': 'frontend_server_packages',
'pattern': '.',
'condition': 'host_os == "mac"',
'cwd': 'src/flutter/frontend_server/',
'action': [
'../../../src/third_party/dart/tools/sdks/mac/dart-sdk/bin/pub', 'get',
],
},
{
'name': 'frontend_server_packages',
'pattern': '.',
'condition': 'host_os == "win"',
'cwd': 'src/flutter/frontend_server/',
'action': [
'..\\..\\..\\src\\third_party\\dart\\tools\\sdks\\win\\dart-sdk\\bin\\pub.bat', 'get',
],
},
{
# 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',
],
},
{
"name": "7zip",
"pattern": ".",
"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",
],
},
]