blob: fa34ece717016e487daea006513684580da65de2 [file] [log] [blame]
# 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',
'swiftshader_git': 'https://swiftshader.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',
# OCMock is for testing only so there is no google clone
'ocmock_git': 'https://github.com/erikdoe/ocmock.git',
'skia_revision': 'afd8a6c6ae87d9462b0094e8c0009b226cc45f1f',
# 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': '65113fd73decdf78060c39677919240f498e0a35',
# WARNING: DO NOT EDIT MANUALLY
# The lines between blank lines above and below are generated by a script. See create_updated_flutter_deps.py
'dart_args_tag': '1.6.0',
'dart_async_tag': '2.4.1',
'dart_bazel_worker_tag': 'v0.1.22',
'dart_boolean_selector_tag': '1309eabed510cc3b7536fd4367d39b97ebee3d69',
'dart_boringssl_gen_rev': 'b9e27cff1ff0803e97ab1f88764a83be4aa94a6d',
'dart_boringssl_rev': '4dfd5af70191b068aebe567b8e29ce108cee85ce',
'dart_charcode_tag': '9085e6b6127f084d66c0a94810a808121459012a',
'dart_collection_tag': '7be42e03d427cc19571cd7f9fc628a5913a6b757',
'dart_convert_tag': '49bde5b371eb5c2c8e721557cf762f17c75e49fc',
'dart_crypto_tag': '7422fb2f6584fe1839eb30bc4ca56e9f9760b801',
'dart_csslib_tag': 'bf372d4fdc6dfa232ad93f77a0a3de0891edd04c',
'dart_dart2js_info_tag': '0.6.0',
'dart_dart_style_tag': '1.3.6',
'dart_ffi_tag': '454ab0f9ea6bd06942a983238d8a6818b1357edb',
'dart_fixnum_tag': 'eb3748663dc979271ff6a3d014fbe522543b1d91',
'dart_glob_tag': 'e9f4e6b7ae8abe5071461cf8f47191bb19cf7ef6',
'dart_html_tag': '083a36cd801a4b787ba156b7c6e4c8b2e2daed4a',
'dart_http_parser_tag': '6e63a97b5aaa2b4d1215fe01683e51fb73258e54',
'dart_http_retry_tag': '0.1.1',
'dart_http_tag': 'a131e563c09349f624d5421237183a06fb10552d',
'dart_http_throttle_tag': '1.0.2',
'dart_intl_tag': '0.16.1',
'dart_json_rpc_2_tag': 'd589e635d8ccb7cda6a804bd571f88abbabab146',
'dart_linter_tag': '0.1.115',
'dart_logging_tag': '9561ba016ae607747ae69b846c0e10958ca58ed4',
'dart_markdown_tag': 'dd150bb64c5f3b41d31f20f399ae2a855f7f8c00',
'dart_matcher_tag': 'af4fe7daf8e94a46981e4f072872be550a6969e9',
'dart_mime_tag': '179b5e6a88f4b63f36dc1b8fcbc1e83e5e0cd3a7',
'dart_mockito_tag': 'd39ac507483b9891165e422ec98d9fb480037c8b',
'dart_mustache_tag': '664737ecad027e6b96d0d1e627257efa0e46fcb1',
'dart_oauth2_tag': '1.6.0',
'dart_package_config_tag': '9c586d04bd26fef01215fd10e7ab96a3050cfa64',
'dart_path_tag': '4b8c83cd5ccfcc8101acd2940ffb5a44d24ec57e',
'dart_pedantic_tag': 'v1.9.0',
'dart_pool_tag': '86fbb2cde9bbc66c8d159909d2f65a5981ea5b50',
'dart_protobuf_rev': '3746c8fd3f2b0147623a8e3db89c3ff4330de760',
'dart_pub_rev': 'a4bc2dd08630f85a94f506eab037fcaaedb42222',
'dart_pub_semver_tag': 'v1.4.4',
'dart_quiver-dart_tag': '2.0.0+1',
'dart_resource_rev': 'f8e37558a1c4f54550aa463b88a6a831e3e33cd6',
'dart_root_certificates_rev': '16ef64be64c7dfdff2b9f4b910726e635ccc519e',
'dart_shelf_packages_handler_tag': '2.0.0',
'dart_shelf_proxy_tag': '0.1.0+7',
'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': '2.0.0',
'dart_source_maps_tag': '87b4fd9027378bbd51b02e9d7df794eee8a82b7a',
'dart_source_span_tag': '1.7.0',
'dart_stack_trace_tag': '1.9.3',
'dart_stagehand_tag': 'v3.3.7',
'dart_stream_channel_tag': '2.0.0',
'dart_string_scanner_tag': 'a918e7371af6b6e73bfd534ff9da6084741c1f99',
'dart_term_glyph_tag': 'b3da31e9684a99cfe5f192b89914492018b44da7',
'dart_test_reflective_loader_tag': '0.1.9',
'dart_test_tag': '988e38ff3051f24607ad0aaf4e780835785f2ab5',
'dart_tflite_native_rev': '3c777c40608a2a9f1427bfe0028ab48e7116b4c1',
'dart_typed_data_tag': '1.1.6',
'dart_usage_tag': '3.4.0',
'dart_watcher_rev': 'fc3c9aae5d31d707b3013b42634dde8d8a1161b4',
'dart_web_socket_channel_tag': '490061ef0e22d3c8460ad2802f9948219365ad6b',
'dart_yaml_tag': '62e9f6b3a933b1f76dd3007d1a5ce0be8e429b2d',
'ocmock_tag': 'v3.4.3',
# Build bot tooling for iOS
'ios_tools_revision': '69b7c1b160e7107a6a98d948363772dc9caea46f',
# 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"',
# Checkout Linux dependencies only when building on Linux.
'download_linux_deps': 'host_os == "linux"',
# 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,
}
gclient_gn_args_file = 'src/third_party/dart/build/config/gclient_args.gni'
gclient_gn_args = [
'checkout_llvm'
]
# 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' + '@' + 'a4f3c4d5023e080ee50596e6623d179e9c5f839b',
# 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/third_party/benchmark':
Var('fuchsia_git') + '/third_party/benchmark' + '@' + 'a779ffce872b4c811beef482e18bd0b63626aa42',
'src/third_party/googletest':
Var('fuchsia_git') + '/third_party/googletest' + '@' + '3fef9015bfe7617d57806cd7c73a653b28559fae',
'src/third_party/rapidjson':
Var('fuchsia_git') + '/third_party/rapidjson' + '@' + 'ef3564c5c8824989393b87df25355baf35ff544b',
'src/third_party/harfbuzz':
Var('fuchsia_git') + '/third_party/harfbuzz' + '@' + 'f5c000538699a4e40649508a44f41d37035e6c35',
'src/third_party/libcxx':
Var('fuchsia_git') + '/third_party/libcxx' + '@' + '7524ef50093a376f334a62a7e5cebf5d238d4c99',
'src/third_party/libcxxabi':
Var('fuchsia_git') + '/third_party/libcxxabi' + '@' + '74d1e602c76350f0760bf6907910e4f3a4fccffe',
'src/third_party/glfw':
Var('fuchsia_git') + '/third_party/glfw' + '@' + '999f3556fdd80983b10051746264489f2cb1ef16',
# Chromium-style
#
# As part of integrating with Fuchsia, we should eventually remove all these
# Chromium-style dependencies.
'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' + '@' + '5005010d694e16571b8dfbf07d70817841f80a69',
'src/third_party/khronos':
Var('chromium_git') + '/chromium/src/third_party/khronos.git' + '@' + '7122230e90547962e0f0c627f62eeed3c701f275',
'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':
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.
'src/third_party/dart/pkg/analysis_server/language_model':
{'packages': [{'version': 'lIRt14qoA1Cocb8j3yw_Fx5cfYou2ddam6ArBm4AI6QC', 'package': 'dart/language_model'}], 'dep_type': 'cipd'},
'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/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@0.1.4',
'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@v0.32.0',
'src/third_party/dart/third_party/pkg/ffi':
Var('dart_git') + '/ffi.git' + '@' + Var('dart_ffi_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_multi_server':
Var('dart_git') + '/http_multi_server.git@ea269f79321d659208402088f3297e8920a88ee6',
'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/intl':
Var('dart_git') + '/intl.git' + '@' + Var('dart_intl_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/linter':
Var('dart_git') + '/linter.git' + '@' + Var('dart_linter_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/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/mustache':
Var('dart_git') + '/external/github.com/xxgreg/mustache' + '@' + Var('dart_mustache_tag'),
'src/third_party/dart/third_party/pkg/oauth2':
Var('dart_git') + '/oauth2.git' + '@' + Var('dart_oauth2_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/pedantic':
Var('dart_git') + '/pedantic.git' + '@' + Var('dart_pedantic_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/protobuf':
Var('dart_git') + '/protobuf.git' + '@' + Var('dart_protobuf_rev'),
'src/third_party/dart/third_party/pkg/pub':
Var('dart_git') + '/pub.git' + '@' + Var('dart_pub_rev'),
'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/quiver':
Var('chromium_git') + '/external/github.com/google/quiver-dart.git' + '@' + Var('dart_quiver-dart_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_proxy':
Var('dart_git') + '/shelf_proxy.git' + '@' + Var('dart_shelf_proxy_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_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/source_span':
Var('dart_git') + '/source_span.git' + '@' + Var('dart_source_span_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/stagehand':
Var('dart_git') + '/stagehand.git' + '@' + Var('dart_stagehand_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/string_scanner':
Var('dart_git') + '/string_scanner.git' + '@' + Var('dart_string_scanner_tag'),
'src/third_party/dart/third_party/pkg/term_glyph':
Var('dart_git') + '/term_glyph.git' + '@' + Var('dart_term_glyph_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/test_reflective_loader':
Var('dart_git') + '/test_reflective_loader.git' + '@' + Var('dart_test_reflective_loader_tag'),
'src/third_party/dart/third_party/pkg/tflite_native':
Var('dart_git') + '/tflite_native.git' + '@' + Var('dart_tflite_native_rev'),
'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/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_rev'),
'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/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/tools/sdks':
{'packages': [{'version': 'version:2.9.0-4.0.dev', 'package': 'dart/dart-sdk/${{platform}}'}], 'dep_type': 'cipd'},
# WARNING: end of dart dependencies list that is cleaned up automatically - see create_updated_flutter_deps.py.
'src/third_party/colorama/src':
Var('chromium_git') + '/external/colorama.git' + '@' + '799604a1041e9b3bc5d2789ecbd7e8db2e18e6b8',
'src/third_party/freetype2':
Var('fuchsia_git') + '/third_party/freetype2' + '@' + 'edab12c07ac05d1185616688f338b1ad15936796',
'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/ocmock':
Var('ocmock_git') + '@' + Var('ocmock_tag'),
'src/third_party/libjpeg-turbo':
Var('fuchsia_git') + '/third_party/libjpeg-turbo' + '@' + '0fb821f3b2e570b2783a94ccd9a2fb1f4916ae9f',
'src/third_party/libwebp':
Var('chromium_git') + '/webm/libwebp.git' + '@' + '0.6.0',
'src/third_party/wuffs':
Var('skia_git') + '/external/github.com/google/wuffs.git' + '@' + '4080840928c0b05a80cda0d14ac2e2615f679f1a',
'src/third_party/fontconfig/src':
Var('chromium_git') + '/external/fontconfig.git' + '@' + 'c336b8471877371f0190ba06f7547c54e2b890ba',
'src/third_party/gyp':
Var('chromium_git') + '/external/gyp.git' + '@' + '4801a5331ae62da9769a327f11c4213d32fb0dad',
# Headers for Vulkan 1.1
'src/third_party/vulkan':
Var('github_git') + '/KhronosGroup/Vulkan-Docs.git' + '@' + 'v1.1.91',
'src/third_party/swiftshader':
Var('swiftshader_git') + '/SwiftShader.git' + '@' + '5d1e8540407c138f47028d64684f3da599430aa4',
'src/third_party/angle':
Var('github_git') + '/google/angle.git' + '@' + '3ea90d609720b7b9b9d05ca094860382f2425294',
'src/third_party/pkg/when':
Var('dart_git') + '/when.git' + '@' + '0.2.0',
'src/third_party/android_tools/ndk': {
'packages': [
{
'package': 'flutter/android/ndk/${{platform}}',
'version': 'version:r21.0.6113669'
}
],
'condition': 'download_android_deps',
'dep_type': 'cipd',
},
'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',
},
'src/third_party/android_tools/sdk/build-tools': {
'packages': [
{
'package': 'flutter/android/sdk/build-tools/${{platform}}',
'version': 'version:29.0.1'
}
],
'condition': 'download_android_deps',
'dep_type': 'cipd',
},
'src/third_party/android_tools/sdk/platform-tools': {
'packages': [
{
'package': 'flutter/android/sdk/platform-tools/${{platform}}',
'version': 'version:29.0.2'
}
],
'condition': 'download_android_deps',
'dep_type': 'cipd',
},
'src/third_party/android_tools/sdk/platforms': {
'packages': [
{
'package': 'flutter/android/sdk/platforms',
'version': 'version:29r1'
}
],
'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',
},
'src/third_party/android_embedding_dependencies': {
'packages': [
{
'package': 'flutter/android/embedding_bundle',
'version': 'last_updated:2020-05-20T01:36:16-0700'
}
],
'condition': 'download_android_deps',
'dep_type': 'cipd',
},
'src/flutter/third_party/gn': {
'packages': [
{
'package': 'gn/gn/${{platform}}',
'version': 'git_revision:152c5144ceed9592c20f0c8fd55769646077569b'
},
],
'dep_type': 'cipd',
},
'src/buildtools/{host_os}-x64/clang': {
'packages': [
{
'package': 'fuchsia/third_party/clang/${{platform}}',
'version': 'git_revision:7e9747b50bcb1be28d4a3236571e8050835497a6'
}
],
'condition': 'host_os == "mac" or host_os == "linux"',
'dep_type': 'cipd',
},
# 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',
},
# 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',
'version': 'Oz016vraFzYw7QyDxNv99gRiCpTTm8aQ_XR6qRUVtTkC'
}
],
'condition': 'host_os == "mac"',
'dep_type': 'cipd',
},
'src/fuchsia/toolchain/mac': {
'packages': [
{
'package': 'fuchsia/clang/mac-amd64',
'version': 'OzTZOKkICT0yD82Dbx0jvVn5hN5eOSi6ByVTDseE7i0C'
}
],
'condition': 'host_os == "mac"',
'dep_type': 'cipd',
},
'src/fuchsia/sdk/linux': {
'packages': [
{
'package': 'fuchsia/sdk/core/linux-amd64',
'version': 'DzG49P5SYWDWfRA76uNw_sV2vJxXpyTSCJRNkSKRX08C'
}
],
'condition': 'host_os == "linux"',
'dep_type': 'cipd',
},
'src/fuchsia/toolchain/linux': {
'packages': [
{
'package': 'fuchsia/clang/linux-amd64',
'version': 'OT6p30bQQhyCzRSy7xPsSbZ88J3PWOnneenkMZ0j7kIC'
}
],
'condition': 'host_os == "linux"',
'dep_type': 'cipd',
},
}
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',
'condition': 'download_windows_deps',
'pattern': '.',
'action': ['python', 'src/build/vs_toolchain.py', 'update'],
},
{
'name': 'generate_package_files',
'pattern': '.',
'cwd': 'src/',
'action': ['python', 'flutter/tools/generate_package_files.py'],
},
{
# 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': '.',
'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',
],
},
{
'name': 'dia_dll',
'pattern': '.',
'condition': 'download_windows_deps',
'action': [
'python',
'src/flutter/tools/dia_dll.py',
],
},
{
'name': 'linux_sysroot',
'pattern': '.',
'condition': 'download_linux_deps',
'action': [
'python',
'src/build/linux/sysroot_scripts/install-sysroot.py',
'--arch=x64'],
},
]