# Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file # for details. All rights reserved. Use of this source code is governed by a # BSD-style license that can be found in the LICENSE file. # IMPORTANT: # Before adding or updating dependencies, please review the documentation here: # https://github.com/dart-lang/sdk/wiki/Adding-and-Updating-Dependencies # # Packages can be rolled to the latest version with `tools/manage_deps.dart`. # # For example # # dart tools/manage_deps.dart bump third_party/pkg/dart_style allowed_hosts = [ 'android.googlesource.com', 'boringssl.googlesource.com', 'chrome-infra-packages.appspot.com', 'chromium.googlesource.com', 'dart.googlesource.com', 'dart-internal.googlesource.com', 'fuchsia.googlesource.com', 'llvm.googlesource.com', ] vars = { # The dart_root is the root of our sdk checkout. This is normally # simply sdk, but if using special gclient specs it can be different. "dart_root": "sdk", # We use mirrors of all github repos to guarantee reproducibility and # consistency between what users see and what the bots see. # We need the mirrors to not have 100+ bots pulling github constantly. # We mirror our github repos on Dart's git servers. # DO NOT use this var if you don't see a mirror here: # https://dart.googlesource.com/ "dart_git": "https://dart.googlesource.com/", "dart_internal_git": "https://dart-internal.googlesource.com", # If the repo you want to use is at github.com/dart-lang, but not at # dart.googlesource.com, please file an issue # on github and add the label 'area-infrastructure'. # When the repo is mirrored, you can add it to this DEPS file. # Chromium git "android_git": "https://android.googlesource.com", "chromium_git": "https://chromium.googlesource.com", "fuchsia_git": "https://fuchsia.googlesource.com", "llvm_git": "https://llvm.googlesource.com", # Checked-in SDK version. The checked-in SDK is a Dart SDK distribution # in a cipd package used to run Dart scripts in the build and test # infrastructure, which is automatically built on the release commits. # Use a published dev version to support unstable platforms. "sdk_tag": "version:3.2.0-150.0.dev", # co19 is a cipd package. Use update.sh in tests/co19[_2] to update these # hashes. "co19_rev": "3011a2e78f407ba3f9a3cf543fe17f5e8f2cc294", # This line prevents conflicts when both packages are rolled simultaneously. "co19_2_rev": "d87f9096ec0a14cd7c32c33316fb2378b89d6a45", # The internal benchmarks to use. See go/dart-benchmarks-internal "benchmarks_internal_rev": "f048a4a853e3062056d39c3db100acdde42f16d6", "checkout_benchmarks_internal": False, # Checkout the flute benchmark only when benchmarking. "checkout_flute": False, # Checkout Android dependencies only on Mac and Linux. "download_android_deps": "host_os == mac or (host_os == linux and host_cpu == x64)", # Checkout extra javascript engines for testing or benchmarking. # d8, the V8 shell, is always checked out. "checkout_javascript_engines": False, "d8_tag": "version:11.9.95", "jsshell_tag": "version:95.0", # https://chrome-infra-packages.appspot.com/p/fuchsia/third_party/clang "clang_version": "git_revision:00396e6a1a0b79fda008cb4e86b616d7952b33c8", # https://chrome-infra-packages.appspot.com/p/gn/gn "gn_version": "git_revision:e4702d7409069c4f12d45ea7b7f0890717ca3f4b", "reclient_version": "git_revision:81e819b39d4743462857cc55430d898b9fcca1af", # Update from https://chrome-infra-packages.appspot.com/p/fuchsia/sdk/gn "fuchsia_sdk_version": "version:15.20231018.3.4", "download_fuchsia_deps": False, # Ninja, runs the build based on files generated by GN. "ninja_tag": "version:2@1.11.1.chromium.7", # Scripts that make 'git cl format' work. "clang_format_scripts_rev": "bb994c6f067340c1135eb43eed84f4b33cfa7397", ### /third_party/ dependencies # Prefer to use hashes of binaryen that have been reviewed & rolled into g3. "binaryen_rev" : "a51bd6df919a5b79574f0996a760cc20cb05697e", "boringssl_gen_rev": "a468ba9fec3f59edf46a7db98caaca893e1e4d96", "boringssl_rev": "74646566e93de7551bfdfc5f49de7462f13d1d05", "browser-compat-data_tag": "ac8cae697014da1ff7124fba33b0b4245cc6cd1b", # v1.0.22 "devtools_rev": "f73b42303c9715f5659130f8f1b6dc91fa12d82f", "icu_rev": "81d656878ec611cb0b42d52c82e9dae93920d9ba", "jinja2_rev": "2222b31554f03e62600cd7e383376a7c187967a1", "libcxx_rev": "44079a4cc04cdeffb9cfe8067bfb3c276fb2bab0", "libcxxabi_rev": "2ce528fb5e0f92e57c97ec3ff53b75359d33af12", "libprotobuf_rev": "24487dd1045c7f3d64a21f38a3f0c06cc4cf2edb", "markupsafe_rev": "8f45f5cfa0009d2a70589bcda0349b8cb2b72783", "perfetto_rev": "13ce0c9e13b0940d2476cd0cff2301708a9a2e2b", "ply_rev": "604b32590ffad5cbb82e4afef1d305512d06ae93", "protobuf_gn_rev": "ca669f79945418f6229e4fef89b666b2a88cbb10", "root_certificates_rev": "692f6d6488af68e0121317a9c2c9eb393eb0ee50", "WebCore_rev": "bcb10901266c884e7b3740abc597ab95373ab55c", "zlib_rev": "14dd4c4455602c9b71a1a89b5cafd1f4030d2e3f", ### /third_party/pkg dependencies # 'tools/rev_sdk_deps.dart' can rev pkg dependencies to their latest; put an # EOL comment after a dependency to disable this and pin it at its current # revision. "args_rev": "df9b428e53e889835257c8475538e09834ffd022", "async_rev": "992457079da78dede35a56257d698288c467dc91", "bazel_worker_rev": "b1b6a6605f0255eb1bf4aaf5aaf36f0d635e1b20", "benchmark_harness_rev": "59aea9583e9cc760776ff686cd79bcc4e5a36669", "boolean_selector_rev": "7f523c392056bea55176530a7b1434aa99549e0f", "browser_launcher_rev": "4f9e7843b683c9e9357aaf263a929ec6ecf959c8", "characters_rev": "7633a16a22c626e19ca750223237396315268a06", "cli_util_rev": "500dffab6e00332c4c0b814359f06c8a9c3a5573", "clock_rev": "f975668839f45bad561d6227f88297bbbcff03fa", "collection_rev": "d27bfaf7994ee690be6ed424b8ee288c7aa672f6", "convert_rev": "f24afa75d065fa3fe70f30300a1570c11e461713", "crypto_rev": "f3e64d234416466683e29a4b20cf751684cbae6a", "csslib_rev": "17346e528b19c09b2d20589e0ffa0f01a5ad54ad", # Note: Updates to dart_style have to be coordinated with the infrastructure # team so that the internal formatter `tools/sdks/dart-sdk/bin/dart format` # matches the version here. Please follow this process to make updates: # # * Create a commit that updates the version here to the desired version and # adds any appropriate CHANGELOG text. # * Send that to eng-prod to review. They will update the checked-in SDK # and land the review. # # For more details, see https://github.com/dart-lang/sdk/issues/30164. "dart_style_rev": "2cee560f2025f8bd5dce3fd5f4c4b5cf5335a10b", # disable rev_sdk_deps.dart "dartdoc_rev": "53da3e1dd1802c5899352fce251ea0c385a827b0", # https://github.com/dart-lang/dartdoc/issues/3562 "ecosystem_rev": "dda788671e943525b7393f7e2430de38e73c03dc", "ffi_rev": "c926657618443ff4821411ede01684096b503f84", "file_rev": "e7c03aa61789cf57063660b99e6310a1f96a3553", "fixnum_rev": "3279f5d2a7b01eb315dc0f6cbae57cae8cee35e4", "flute_rev": "f42b09f77132210499ec8ed819a60c260af03db6", "glob_rev": "00465333cc4110e077cb256b4fa7eff4797bc856", "html_rev": "06bc148600b1d1a70f2256bdf788c213f1f60f55", "http_rev": "b9389fea7e52b5b783912f80b17cee429d3b2d62", "http_multi_server_rev": "03041aabc9ffa4c730c4221bf6ff1ef8bcd27cef", "http_parser_rev": "c557f570fd53fed11914fe98c9dc20872e6eeca6", "intl_rev": "5d65e3808ce40e6282e40881492607df4e35669f", "json_rpc_2_rev": "0521afb58b9aeb90beda8fa5b00b98b998ec9ba6", "leak_tracker_rev": "098bafcf99a5220e3c352d895d991e163568ee03", # b/299640139 "lints_rev": "f58fd77bbff4ff4a62826a7bbfb9a72f0f03dd3c", "logging_rev": "324a0b5fd2b49b80ea4fbe2b48aac7794000e25a", "markdown_rev": "efb73b3db22f47925d942d3ad1a0cdcd6dece944", "matcher_rev": "3d03fa1a3e8f166b9e2ec8557c5d5e83ae1c85bc", "material_color_utilities_rev": "799b6ba2f3f1c28c67cc7e0b4f18e0c7d7f3c03e", "mime_rev": "8ebf9463a7a230213cee0adc3c019dad78d364ac", "mockito_rev": "b7d752e7f696ac0a1b1567a7abb8073b9d581a07", "native_rev": "de9d59e4dbdd25321ab59ad5e60a55b197c573e4", "package_config_rev": "100533d2f836583f281c9dfa11a00d6842c176d4", "path_rev": "18ec71f7dde21d8518702d77215fb0b2fa45e970", "pool_rev": "c78cef414f86f41879e9eef22caeaf97520a01fe", "protobuf_rev": "dcec2eda9db4e6728e900928aa2e46944ba4fa6f", "pub_rev": "fca927ae2662204805e1646c0c0687369001a41a", # disable rev_sdk_deps.dart "pub_semver_rev": "f9e94ee38d5dd881afd06308e34dcef717b04e39", "shelf_rev": "b3adc7c5264b448a77427c6aacd67eedfb16dce2", "source_map_stack_trace_rev": "220962658bf67304207aedc7eeedca6ef64a7c72", "source_maps_rev": "87dc58736b5bd334502005cdbd4d325aba9bc696", "source_span_rev": "ed16e0d1323f15e478027430b53e0ef0dbc25a83", "sse_rev": "8ddb95fbe7c07d91aee92f35f70ac5c839f82c35", "stack_trace_rev": "6496ff88cf5c168c2548a454160c27004d176009", "stream_channel_rev": "178104d0f1316b0120cf0031b8dbae0cbfec4c26", "string_scanner_rev": "a7105ef03ed8373c7d995461fcf4994a6f4e781d", "sync_http_rev": "8233f74cd8a87707c13beceb59b56bca41b52966", "tar_rev": "3383397b082c084c327587a293591fac74bc8af3", "term_glyph_rev": "7c1eb9d799a3cbbc554c3a283af4d6cee9043297", "test_rev": "4341470a2b844cd9a6692647639d652f617dd302", # https://github.com/dart-lang/test/issues/2126 "test_descriptor_rev": "c417cbb6498ba6d3ac6f7b14fdc43aefc212ab2e", "test_process_rev": "c21e40d7c06c862d14b1f53651ae0bd3cf81ca44", "test_reflective_loader_rev": "17d40bb06f55f727a79c0f0016d7510294f5db03", "tools_rev": "dd91cb6a2c09c9c499be74ccb8a83cd6f50484bb", "typed_data_rev": "0b16bd26c90bc9ac08e8b4b259aa3d7bead34feb", "usage_rev": "d7d2964433f26b9a3c60dc9c6677f00c005ee9fb", "vector_math_rev": "294896dedc6da2a736f47c3c6a19643df934641c", "watcher_rev": "b2b278ae4198b4c431a145ddcfdab1460d5f9ec5", "web_socket_channel_rev": "82ac73fef05c474095c740a9525b4cfb61611c3d", "webdev_rev": "5ad79c240b000a50057612d6af4573f6e649f65c", # https://github.com/dart-lang/webdev/issues/2276 "webdriver_rev": "43ed1dbefc39866ebccc31d3704a0e71400ef4a2", "webkit_inspection_protocol_rev": "2c6f8b6b7dbcbd207d345ebaa0337a3b8de70244", "yaml_rev": "98a3aab54b09d355e094fdb4e5abd9083a2876b8", "yaml_edit_rev": "9b9d33c5255798c950e843efe19e6f81a225ad28", # Windows deps "crashpad_rev": "bf327d8ceb6a669607b0dbab5a83a275d03f99ed", "minichromium_rev": "8d641e30a8b12088649606b912c2bc4947419ccc", "googletest_rev": "f854f1d27488996dc8a6db3c9453f80b02585e12", # Pinned browser versions used by the testing infrastructure. These are not # meant to be downloaded by users for local testing. "download_chrome": False, "chrome_tag": "119.0.6045.9", # Beta version with WasmGC final encodings. "download_firefox": False, "firefox_tag": "112.0.2", # Emscripten is used in dart2wasm tests. "download_emscripten": False, "emsdk_rev": "e41b8c68a248da5f18ebd03bd0420953945d52ff", "emsdk_ver": "3.1.3", } gclient_gn_args_file = Var("dart_root") + '/build/config/gclient_args.gni' gclient_gn_args = [ ] deps = { # Stuff needed for GN build. Var("dart_root") + "/buildtools/clang_format/script": Var("chromium_git") + "/chromium/llvm-project/cfe/tools/clang-format.git" + "@" + Var("clang_format_scripts_rev"), Var("dart_root") + "/benchmarks-internal": { "url": Var("dart_internal_git") + "/benchmarks-internal.git" + "@" + Var("benchmarks_internal_rev"), "condition": "checkout_benchmarks_internal", }, Var("dart_root") + "/tools/sdks/dart-sdk": { "packages": [{ "package": "dart/dart-sdk/${{platform}}", "version": Var("sdk_tag"), }], "dep_type": "cipd", }, Var("dart_root") + "/third_party/d8": { "packages": [{ "package": "dart/d8", "version": Var("d8_tag"), }], "dep_type": "cipd", }, Var("dart_root") + "/third_party/firefox_jsshell": { "packages": [{ "package": "dart/third_party/jsshell/${{platform}}", "version": Var("jsshell_tag"), }], "condition": "checkout_javascript_engines", "dep_type": "cipd", }, Var("dart_root") + "/third_party/devtools": { "packages": [{ "package": "dart/third_party/flutter/devtools", "version": "git_revision:" + Var("devtools_rev"), }], "dep_type": "cipd", }, Var("dart_root") + "/tests/co19/src": { "packages": [{ "package": "dart/third_party/co19", "version": "git_revision:" + Var("co19_rev"), }], "dep_type": "cipd", }, Var("dart_root") + "/tests/co19_2/src": { "packages": [{ "package": "dart/third_party/co19/legacy", "version": "git_revision:" + Var("co19_2_rev"), }], "dep_type": "cipd", }, Var("dart_root") + "/third_party/markupsafe": Var("chromium_git") + "/chromium/src/third_party/markupsafe.git" + "@" + Var("markupsafe_rev"), Var("dart_root") + "/third_party/babel": { "packages": [{ "package": "dart/third_party/babel", "version": "version:7.4.5", }], "dep_type": "cipd", }, Var("dart_root") + "/third_party/zlib": Var("chromium_git") + "/chromium/src/third_party/zlib.git" + "@" + Var("zlib_rev"), Var("dart_root") + "/third_party/libcxx": Var("llvm_git") + "/llvm-project/libcxx" + "@" + Var("libcxx_rev"), Var("dart_root") + "/third_party/libcxxabi": Var("llvm_git") + "/llvm-project/libcxxabi" + "@" + Var("libcxxabi_rev"), Var("dart_root") + "/third_party/boringssl": Var("dart_git") + "boringssl_gen.git" + "@" + Var("boringssl_gen_rev"), Var("dart_root") + "/third_party/boringssl/src": "https://boringssl.googlesource.com/boringssl.git" + "@" + Var("boringssl_rev"), Var("dart_root") + "/third_party/binaryen/src" : Var("chromium_git") + "/external/github.com/WebAssembly/binaryen.git" + "@" + Var("binaryen_rev"), Var("dart_root") + "/third_party/gsutil": { "packages": [{ "package": "infra/3pp/tools/gsutil", "version": "version:2@5.5", }], "dep_type": "cipd", }, Var("dart_root") + "/third_party/root_certificates": Var("dart_git") + "root_certificates.git" + "@" + Var("root_certificates_rev"), Var("dart_root") + "/third_party/emsdk": Var("dart_git") + "external/github.com/emscripten-core/emsdk.git" + "@" + Var("emsdk_rev"), Var("dart_root") + "/third_party/jinja2": Var("chromium_git") + "/chromium/src/third_party/jinja2.git" + "@" + Var("jinja2_rev"), Var("dart_root") + "/third_party/perfetto": Var("android_git") + "/platform/external/perfetto" + "@" + Var("perfetto_rev"), Var("dart_root") + "/third_party/ply": Var("chromium_git") + "/chromium/src/third_party/ply.git" + "@" + Var("ply_rev"), Var("dart_root") + "/build/secondary/third_party/protobuf": Var("fuchsia_git") + "/protobuf-gn" + "@" + Var("protobuf_gn_rev"), Var("dart_root") + "/third_party/protobuf": Var("fuchsia_git") + "/third_party/protobuf" + "@" + Var("libprotobuf_rev"), Var("dart_root") + "/third_party/icu": Var("chromium_git") + "/chromium/deps/icu.git" + "@" + Var("icu_rev"), Var("dart_root") + "/third_party/WebCore": Var("dart_git") + "webcore.git" + "@" + Var("WebCore_rev"), Var("dart_root") + "/third_party/mdn/browser-compat-data/src": Var('chromium_git') + '/external/github.com/mdn/browser-compat-data' + "@" + Var("browser-compat-data_tag"), Var("dart_root") + "/third_party/pkg/args": Var("dart_git") + "args.git" + "@" + Var("args_rev"), Var("dart_root") + "/third_party/pkg/async": Var("dart_git") + "async.git" + "@" + Var("async_rev"), Var("dart_root") + "/third_party/pkg/bazel_worker": Var("dart_git") + "bazel_worker.git" + "@" + Var("bazel_worker_rev"), Var("dart_root") + "/third_party/pkg/benchmark_harness": Var("dart_git") + "benchmark_harness.git" + "@" + Var("benchmark_harness_rev"), Var("dart_root") + "/third_party/pkg/boolean_selector": Var("dart_git") + "boolean_selector.git" + "@" + Var("boolean_selector_rev"), Var("dart_root") + "/third_party/pkg/browser_launcher": Var("dart_git") + "browser_launcher.git" + "@" + Var("browser_launcher_rev"), Var("dart_root") + "/third_party/pkg/characters": { # Contact athom@ or ensure that license requirements are met before using # this dependency in other parts of the Dart SDK. "url": Var("dart_git") + "characters.git" + "@" + Var("characters_rev"), "condition": "checkout_flute", }, Var("dart_root") + "/third_party/pkg/cli_util": Var("dart_git") + "cli_util.git" + "@" + Var("cli_util_rev"), Var("dart_root") + "/third_party/pkg/clock": Var("dart_git") + "clock.git" + "@" + Var("clock_rev"), Var("dart_root") + "/third_party/pkg/collection": Var("dart_git") + "collection.git" + "@" + Var("collection_rev"), Var("dart_root") + "/third_party/pkg/convert": Var("dart_git") + "convert.git" + "@" + Var("convert_rev"), Var("dart_root") + "/third_party/pkg/crypto": Var("dart_git") + "crypto.git" + "@" + Var("crypto_rev"), Var("dart_root") + "/third_party/pkg/csslib": Var("dart_git") + "csslib.git" + "@" + Var("csslib_rev"), Var("dart_root") + "/third_party/pkg/dart_style": Var("dart_git") + "dart_style.git" + "@" + Var("dart_style_rev"), Var("dart_root") + "/third_party/pkg/dartdoc": Var("dart_git") + "dartdoc.git" + "@" + Var("dartdoc_rev"), Var("dart_root") + "/third_party/pkg/ecosystem": Var("dart_git") + "ecosystem.git" + "@" + Var("ecosystem_rev"), Var("dart_root") + "/third_party/pkg/ffi": Var("dart_git") + "ffi.git" + "@" + Var("ffi_rev"), Var("dart_root") + "/third_party/pkg/fixnum": Var("dart_git") + "fixnum.git" + "@" + Var("fixnum_rev"), Var("dart_root") + "/third_party/flute": { "url": Var("dart_git") + "flute.git" + "@" + Var("flute_rev"), "condition": "checkout_flute", }, Var("dart_root") + "/third_party/pkg/file": Var("dart_git") + "external/github.com/google/file.dart" + "@" + Var("file_rev"), Var("dart_root") + "/third_party/pkg/glob": Var("dart_git") + "glob.git" + "@" + Var("glob_rev"), Var("dart_root") + "/third_party/pkg/html": Var("dart_git") + "html.git" + "@" + Var("html_rev"), Var("dart_root") + "/third_party/pkg/http": Var("dart_git") + "http.git" + "@" + Var("http_rev"), Var("dart_root") + "/third_party/pkg/http_multi_server": Var("dart_git") + "http_multi_server.git" + "@" + Var("http_multi_server_rev"), Var("dart_root") + "/third_party/pkg/http_parser": Var("dart_git") + "http_parser.git" + "@" + Var("http_parser_rev"), Var("dart_root") + "/third_party/pkg/intl": Var("dart_git") + "intl.git" + "@" + Var("intl_rev"), Var("dart_root") + "/third_party/pkg/json_rpc_2": Var("dart_git") + "json_rpc_2.git" + "@" + Var("json_rpc_2_rev"), Var("dart_root") + "/third_party/pkg/leak_tracker": Var("dart_git") + "leak_tracker.git" + "@" + Var("leak_tracker_rev"), Var("dart_root") + "/third_party/pkg/lints": Var("dart_git") + "lints.git" + "@" + Var("lints_rev"), Var("dart_root") + "/third_party/pkg/logging": Var("dart_git") + "logging.git" + "@" + Var("logging_rev"), Var("dart_root") + "/third_party/pkg/markdown": Var("dart_git") + "markdown.git" + "@" + Var("markdown_rev"), Var("dart_root") + "/third_party/pkg/matcher": Var("dart_git") + "matcher.git" + "@" + Var("matcher_rev"), Var("dart_root") + "/third_party/pkg/material_color_utilities": { "url": Var("dart_git") + "external/github.com/material-foundation/material-color-utilities.git" + "@" + Var("material_color_utilities_rev"), "condition": "checkout_flute", }, Var("dart_root") + "/third_party/pkg/mime": Var("dart_git") + "mime.git" + "@" + Var("mime_rev"), Var("dart_root") + "/third_party/pkg/mockito": Var("dart_git") + "mockito.git" + "@" + Var("mockito_rev"), Var("dart_root") + "/third_party/pkg/native": Var("dart_git") + "native.git" + "@" + Var("native_rev"), Var("dart_root") + "/third_party/pkg/package_config": Var("dart_git") + "package_config.git" + "@" + Var("package_config_rev"), Var("dart_root") + "/third_party/pkg/path": Var("dart_git") + "path.git" + "@" + Var("path_rev"), Var("dart_root") + "/third_party/pkg/pool": Var("dart_git") + "pool.git" + "@" + Var("pool_rev"), Var("dart_root") + "/third_party/pkg/protobuf": Var("dart_git") + "protobuf.git" + "@" + Var("protobuf_rev"), Var("dart_root") + "/third_party/pkg/pub_semver": Var("dart_git") + "pub_semver.git" + "@" + Var("pub_semver_rev"), Var("dart_root") + "/third_party/pkg/pub": Var("dart_git") + "pub.git" + "@" + Var("pub_rev"), Var("dart_root") + "/third_party/pkg/shelf": Var("dart_git") + "shelf.git" + "@" + Var("shelf_rev"), Var("dart_root") + "/third_party/pkg/source_maps": Var("dart_git") + "source_maps.git" + "@" + Var("source_maps_rev"), Var("dart_root") + "/third_party/pkg/source_span": Var("dart_git") + "source_span.git" + "@" + Var("source_span_rev"), Var("dart_root") + "/third_party/pkg/source_map_stack_trace": Var("dart_git") + "source_map_stack_trace.git" + "@" + Var("source_map_stack_trace_rev"), Var("dart_root") + "/third_party/pkg/sse": Var("dart_git") + "sse.git" + "@" + Var("sse_rev"), Var("dart_root") + "/third_party/pkg/stack_trace": Var("dart_git") + "stack_trace.git" + "@" + Var("stack_trace_rev"), Var("dart_root") + "/third_party/pkg/stream_channel": Var("dart_git") + "stream_channel.git" + "@" + Var("stream_channel_rev"), Var("dart_root") + "/third_party/pkg/string_scanner": Var("dart_git") + "string_scanner.git" + "@" + Var("string_scanner_rev"), Var("dart_root") + "/third_party/pkg/sync_http": Var("dart_git") + "sync_http.git" + "@" + Var("sync_http_rev"), Var("dart_root") + "/third_party/pkg/tar": Var("dart_git") + "external/github.com/simolus3/tar.git" + "@" + Var("tar_rev"), Var("dart_root") + "/third_party/pkg/term_glyph": Var("dart_git") + "term_glyph.git" + "@" + Var("term_glyph_rev"), Var("dart_root") + "/third_party/pkg/test": Var("dart_git") + "test.git" + "@" + Var("test_rev"), Var("dart_root") + "/third_party/pkg/test_descriptor": Var("dart_git") + "test_descriptor.git" + "@" + Var("test_descriptor_rev"), Var("dart_root") + "/third_party/pkg/test_process": Var("dart_git") + "test_process.git" + "@" + Var("test_process_rev"), Var("dart_root") + "/third_party/pkg/test_reflective_loader": Var("dart_git") + "test_reflective_loader.git" + "@" + Var("test_reflective_loader_rev"), Var("dart_root") + "/third_party/pkg/tools": Var("dart_git") + "tools.git" + "@" + Var("tools_rev"), Var("dart_root") + "/third_party/pkg/typed_data": Var("dart_git") + "typed_data.git" + "@" + Var("typed_data_rev"), Var("dart_root") + "/third_party/pkg/usage": Var("dart_git") + "usage.git" + "@" + Var("usage_rev"), Var("dart_root") + "/third_party/pkg/vector_math": Var("dart_git") + "external/github.com/google/vector_math.dart.git" + "@" + Var("vector_math_rev"), Var("dart_root") + "/third_party/pkg/watcher": Var("dart_git") + "watcher.git" + "@" + Var("watcher_rev"), Var("dart_root") + "/third_party/pkg/webdev": Var("dart_git") + "webdev.git" + "@" + Var("webdev_rev"), Var("dart_root") + "/third_party/pkg/webdriver": Var("dart_git") + "external/github.com/google/webdriver.dart.git" + "@" + Var("webdriver_rev"), Var("dart_root") + "/third_party/pkg/webkit_inspection_protocol": Var("dart_git") + "external/github.com/google/webkit_inspection_protocol.dart.git" + "@" + Var("webkit_inspection_protocol_rev"), Var("dart_root") + "/third_party/pkg/web_socket_channel": Var("dart_git") + "web_socket_channel.git" + "@" + Var("web_socket_channel_rev"), Var("dart_root") + "/third_party/pkg/yaml_edit": Var("dart_git") + "yaml_edit.git" + "@" + Var("yaml_edit_rev"), Var("dart_root") + "/third_party/pkg/yaml": Var("dart_git") + "yaml.git" + "@" + Var("yaml_rev"), # Keep consistent with pkg/test_runner/lib/src/options.dart. Var("dart_root") + "/buildtools/linux-x64/clang": { "packages": [ { "package": "fuchsia/third_party/clang/linux-amd64", "version": Var("clang_version"), }, ], "condition": "host_cpu == x64 and host_os == linux", "dep_type": "cipd", }, Var("dart_root") + "/buildtools/mac-x64/clang": { "packages": [ { "package": "fuchsia/third_party/clang/mac-amd64", "version": Var("clang_version"), }, ], "condition": "host_os == mac", # On ARM64 Macs too because Goma doesn't support the host-arm64 toolchain. "dep_type": "cipd", }, Var("dart_root") + "/buildtools/win-x64/clang": { "packages": [ { "package": "fuchsia/third_party/clang/windows-amd64", "version": Var("clang_version"), }, ], "condition": "host_os == win", # On ARM64 Windows too because Fuchsia doesn't provide the host-arm64 toolchain. "dep_type": "cipd", }, Var("dart_root") + "/buildtools/linux-arm64/clang": { "packages": [ { "package": "fuchsia/third_party/clang/linux-arm64", "version": Var("clang_version"), }, ], "condition": "host_os == 'linux' and host_cpu == 'arm64'", "dep_type": "cipd", }, Var("dart_root") + "/buildtools/mac-arm64/clang": { "packages": [ { "package": "fuchsia/third_party/clang/mac-arm64", "version": Var("clang_version"), }, ], "condition": "host_os == 'mac' and host_cpu == 'arm64'", "dep_type": "cipd", }, Var("dart_root") + '/buildtools/reclient': { 'packages': [ { 'package': 'infra/rbe/client/${{platform}}', 'version': Var('reclient_version'), } ], 'condition': 'host_os == "linux" and host_cpu == "x64"', 'dep_type': 'cipd', }, Var("dart_root") + "/third_party/webdriver/chrome": { "packages": [ { "package": "dart/third_party/chromedriver/${{platform}}", "version": "version:" + Var("chrome_tag"), } ], "condition": "download_chrome", "dep_type": "cipd", }, Var("dart_root") + "/buildtools": { "packages": [ { "package": "gn/gn/${{platform}}", "version": Var("gn_version"), }, ], "condition": "host_os != 'win'", "dep_type": "cipd", }, Var("dart_root") + "/buildtools/win": { "packages": [ { "package": "gn/gn/windows-amd64", "version": Var("gn_version"), }, ], "condition": "host_os == 'win'", "dep_type": "cipd", }, Var("dart_root") + "/buildtools/ninja": { "packages": [{ "package": "infra/3pp/tools/ninja/${{platform}}", "version": Var("ninja_tag"), }], "dep_type": "cipd", }, Var("dart_root") + "/third_party/android_tools/ndk": { "packages": [ { "package": "flutter/android/ndk/${{os}}-amd64", "version": "version:r27.0.10869015" } ], "condition": "download_android_deps", "dep_type": "cipd", }, Var("dart_root") + "/third_party/android_tools/sdk/platform-tools": { "packages": [ { "package": "flutter/android/sdk/platform-tools/linux-amd64", "version": "1tZc4sOxZS6FQIvT5i0wwdycmM8AO7QZY32FC9_HfR4C" } ], "condition": "download_android_deps", "dep_type": "cipd", }, # TODO(38752): Confirm if mac sdk is necessary in dart. Var("dart_root") + "/third_party/fuchsia/sdk/mac": { "packages": [ { "package": "fuchsia/sdk/gn/mac-amd64", "version": Var("fuchsia_sdk_version"), } ], "condition": 'download_fuchsia_deps and host_os == "mac" and host_cpu == "x64"', "dep_type": "cipd", }, # TODO(38752): Migrate to core sdk, gn sdk is deprecating. Var("dart_root") + "/third_party/fuchsia/sdk/linux": { "packages": [ { "package": "fuchsia/sdk/gn/linux-amd64", "version": Var("fuchsia_sdk_version"), } ], "condition": 'download_fuchsia_deps and host_os == "linux" and host_cpu == "x64"', "dep_type": "cipd", }, Var("dart_root") + "/third_party/fuchsia/test_scripts": { "packages": [ { "package": "chromium/fuchsia/test-scripts/fuchsia", "version": "version:2@56179f1724e9bf82ce7abf5577884e5d217b52e9", } ], "condition": 'download_fuchsia_deps and host_os == "linux" and host_cpu == "x64"', "dep_type": "cipd", }, Var("dart_root") + "/pkg/front_end/test/fasta/types/benchmark_data": { "packages": [ { "package": "dart/cfe/benchmark_data", "version": "sha1sum:5b6e6dfa33b85c733cab4e042bf46378984d1544", } ], "dep_type": "cipd", }, # TODO(37531): Remove these cipd packages and build with sdk instead when # benchmark runner gets support for that. Var("dart_root") + "/benchmarks/FfiBoringssl/native/out/": { "packages": [ { "package": "dart/benchmarks/ffiboringssl", "version": "commit:a86c69888b9a416f5249aacb4690a765be064969", }, ], "dep_type": "cipd", }, Var("dart_root") + "/benchmarks/FfiCall/native/out/": { "packages": [ { "package": "dart/benchmarks/fficall", "version": "ebF5aRXKDananlaN4Y8b0bbCNHT1MnkGbWqfpCpiND4C", }, ], "dep_type": "cipd", }, Var("dart_root") + "/benchmarks/NativeCall/native/out/": { "packages": [ { "package": "dart/benchmarks/nativecall", "version": "w1JKzCIHSfDNIjqnioMUPq0moCXKwX67aUfhyrvw4E0C", }, ], "dep_type": "cipd", }, Var("dart_root") + "/third_party/browsers/chrome": { "packages": [ { "package": "dart/browsers/chrome/${{platform}}", "version": "version:" + Var("chrome_tag"), }, ], "condition": "download_chrome", "dep_type": "cipd", }, Var("dart_root") + "/third_party/browsers/firefox": { "packages": [ { "package": "dart/browsers/firefox/${{platform}}", "version": "version:" + Var("firefox_tag"), }, ], "condition": "download_firefox", "dep_type": "cipd", }, } deps_os = { "win": { Var("dart_root") + "/third_party/cygwin": Var("chromium_git") + "/chromium/deps/cygwin.git" + "@" + "c89e446b273697fadf3a10ff1007a97c0b7de6df", Var("dart_root") + "/third_party/crashpad/crashpad": Var("chromium_git") + "/crashpad/crashpad.git" + "@" + Var("crashpad_rev"), Var("dart_root") + "/third_party/mini_chromium/mini_chromium": Var("chromium_git") + "/chromium/mini_chromium" + "@" + Var("minichromium_rev"), Var("dart_root") + "/third_party/googletest": Var("fuchsia_git") + "/third_party/googletest" + "@" + Var("googletest_rev"), } } hooks = [ { # Generate the .dart_tool/package_confg.json file. 'name': 'Generate .dart_tool/package_confg.json', 'pattern': '.', 'action': ['python3', 'sdk/tools/generate_package_config.py'], }, { # Generate the sdk/version file. 'name': 'Generate sdk/version', 'pattern': '.', 'action': ['python3', 'sdk/tools/generate_sdk_version_file.py'], }, { 'name': 'sysroot_arm', 'pattern': '.', 'condition': 'checkout_linux', 'action': ['python3', 'sdk/build/linux/sysroot_scripts/install-sysroot.py', '--arch=arm'], }, { 'name': 'sysroot_arm64', 'pattern': '.', 'condition': 'checkout_linux', 'action': ['python3', 'sdk/build/linux/sysroot_scripts/install-sysroot.py', '--arch=arm64'], }, { 'name': 'sysroot_x86', 'pattern': '.', 'condition': 'checkout_linux', 'action': ['python3', 'sdk/build/linux/sysroot_scripts/install-sysroot.py', '--arch=x86'], }, { 'name': 'sysroot_x64', 'pattern': '.', 'condition': 'checkout_linux', 'action': ['python3', 'sdk/build/linux/sysroot_scripts/install-sysroot.py', '--arch=x64'], }, { 'name': 'buildtools', 'pattern': '.', 'action': ['python3', 'sdk/tools/buildtools/update.py'], }, { # Update the Windows toolchain if necessary. 'name': 'win_toolchain', 'pattern': '.', 'action': ['python3', 'sdk/build/vs_toolchain.py', 'update'], 'condition': 'checkout_win' }, # Install and activate the empscripten SDK. { 'name': 'install_emscripten', 'pattern': '.', 'action': ['python3', 'sdk/third_party/emsdk/emsdk.py', 'install', Var('emsdk_ver')], 'condition': 'download_emscripten' }, { 'name': 'activate_emscripten', 'pattern': '.', 'action': ['python3', 'sdk/third_party/emsdk/emsdk.py', 'activate', Var('emsdk_ver')], 'condition': 'download_emscripten' }, { 'name': 'Download Fuchsia system images', 'pattern': '.', 'action': [ 'python3', 'sdk/build/fuchsia/with_envs.py', 'sdk/third_party/fuchsia/test_scripts/update_product_bundles.py', 'terminal.x64', ], 'condition': 'download_fuchsia_deps' }, ]