| # 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/tree/main/docs/Adding-and-Updating-Dependencies.md | |
| # | |
| # 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. | |
| # | |
| # A SHA will work if it has all green release builds. The recommended way to | |
| # choose which SHA to place here is to choose a release from | |
| # https://dart.dev/get-dart/archive, and then look up the version SHA from | |
| # the tag. Prefer using the stable channel when possible. | |
| "sdk_tag": "git_revision:5521341774cb336e5b4c39c9c970dab2cd666854", | |
| # co19 is a cipd package automatically generated for each co19 commit. | |
| # Use tests/co19/update.sh to update this hash. | |
| "co19_rev": "f29289bd67fb20604cef418534d73ab7731d01e1", | |
| # The internal benchmarks to use. See go/dart-benchmarks-internal | |
| "benchmarks_internal_rev": "02b00ba22d77dc489e481c33b279edf5d008e0cd", | |
| "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": False, | |
| # Checkout extra javascript engines for testing or benchmarking. You can | |
| # self-service update these by following the go/dart-engprod/browsers.md | |
| # instructions. d8, the V8 shell, is always checked out. | |
| "checkout_javascript_engines": False, | |
| "d8_tag": "version:15.7.111", | |
| "jsshell_tag": "version:158.0.1", | |
| "jsc_tag": "version:323425", | |
| # https://chrome-infra-packages.appspot.com/p/infra/3pp/tools/gcloud | |
| "gcloud_version": "version:3@584.0.0.chromium.4", | |
| # https://chrome-infra-packages.appspot.com/p/fuchsia/third_party/clang | |
| "clang_version": "git_revision:32e6b5082d000a0da4a5af148d63f30d29e95a18", | |
| # https://chrome-infra-packages.appspot.com/p/gn/gn | |
| "gn_version": "git_revision:938087829fcbcc8fd87835ee301dd522c7637685", | |
| "reclient_version": "re_client_version:28341fc74c68f05a5c8be35160ada940c4edb969", | |
| "download_reclient": True, | |
| # Update from https://chrome-infra-packages.appspot.com/p/fuchsia/sdk/core | |
| "fuchsia_sdk_version": "version:33.20261023.4.1", | |
| "download_fuchsia_deps": False, | |
| # Ninja, runs the build based on files generated by GN. | |
| "ninja_tag": "version:3@1.13.2.chromium.4", | |
| # Siso, runs the build based on files generated by GN. | |
| # https://chrome-infra-packages.appspot.com/p/build/siso | |
| "siso_version": "git_revision:dfc32e4edca158cff2b64a1658ee3940f0116b3a", | |
| "rbe_instance": "projects/flutter-rbe-prod/instances/default", | |
| # 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" : "a631c1445ced72a905b3303b26f148fc706647dd", | |
| "boringssl_rev": "c7eb007fd10627f1abb41a3e368b85e24cd20af9", | |
| "browser-compat-data_tag": "ac8cae697014da1ff7124fba33b0b4245cc6cd1b", # v1.0.22 | |
| "cpu_features_rev": "936b9ab5515dead115606559502e3864958f7f6e", | |
| "devtools_rev": "85f945ac99379d64d4df6f67d9b011e4cc418e7e", | |
| # Use the SHA found in `flutter-candidate.txt` in the devtools repo. | |
| "flutter_rev": "fab991537bf1ffb063579a0dd8a47cd4f2874618", | |
| "icu_rev": "d578f2e8b7bd5938e21cfb6bf15c079e0aa5b738", | |
| "jinja2_rev": "2222b31554f03e62600cd7e383376a7c187967a1", | |
| "libcxx_rev": "bd557f6f764d1e40b62528a13b124ce740624f8f", | |
| "libcxxabi_rev": "a4dda1589d37a7e4b4f7a81ebad01b1083f2e726", | |
| "libc_rev": "5af39a19a1ad51ce93972cdab206dcd3ff9b6afa", | |
| "markupsafe_rev": "8f45f5cfa0009d2a70589bcda0349b8cb2b72783", | |
| "perfetto_rev": "13ce0c9e13b0940d2476cd0cff2301708a9a2e2b", | |
| "ply_rev": "604b32590ffad5cbb82e4afef1d305512d06ae93", | |
| "WebCore_rev": "bcb10901266c884e7b3740abc597ab95373ab55c", | |
| "zlib_rev": "3008c4b3a06bd65392c31db8846000a21e3d03c5", | |
| # Note: Changes to the formatting style require updating the pre-built SDK as | |
| # well so that the format presubmit check uses the same style as the repo. | |
| # | |
| # See: https://github.com/dart-lang/dart_style/wiki/Release-process | |
| "dart_style_rev": "76978d23bfb3d225c81ce3f119ab7055a2a57136", # rolled manually | |
| ### /third_party/pkg dependencies | |
| # 'tools/rev_sdk_deps.dart' will rev pkg dependencies to their latest; put an | |
| # EOL comment after a dependency to instead pin at the current revision. | |
| "core_rev": "04da6763aa399607ddd1778ef9318a05276cbc01", | |
| "dartdoc_rev": "c0e19cf6f46446ce479295732fee80b3ede3e4b7", | |
| "ecosystem_rev": "0ab0cfd2f092d09eb20081f81b5e75cb50611b40", | |
| "flute_rev": "b84119fba67016a80c3eb80765762bcc4d0d0b8d", | |
| "http_rev": "a8a24a0385156e259f817212767709703204d289", | |
| "i18n_rev": "1f5ea2fb2381bdf7bab054a43c0d69771f104561", | |
| "leak_tracker_rev": "f5620600a5ce1c44f65ddaa02001e200b096e14c", # rolled manually | |
| "material_color_utilities_rev": "799b6ba2f3f1c28c67cc7e0b4f18e0c7d7f3c03e", | |
| "native_rev": "3cbe319e3c1ec0f9253c126ba3e465e55229c3a4", | |
| "protobuf_rev": "a73edc98c98fb25152aa3f12c1b9db91594c1369", | |
| "pub_rev": "9df389a76385f82c1165c7cf93b78807b5ea8890", # rolled manually | |
| "shelf_rev": "b66665b8b405e883b203fd401f25e0bde47cdb01", | |
| "sync_http_rev": "6666fff944221891182e1f80bf56569338164d72", | |
| "tar_rev": "201952a191be34a993f4ae182612c891ea4ef0a2", | |
| "test_rev": "d1afeb14cc57a0487227f9c4e9485eece327b2af", | |
| "tools_rev": "4d7715ac1c0c243f443c0455d2fe14971af92ff4", | |
| "vector_math_rev": "cf3b5db7340d317dd3489e5a35434b408020a852", | |
| "web_rev": "4e60e61e55e1e2111f0fec9d19efff577c0dc671", | |
| "webdriver_rev": "8e5c611ea242efdc9f597a8a37c38a9c586120ee", | |
| "webkit_inspection_protocol_rev": "762115a971d1968bc940454ad1e88d506d8c5640", | |
| # Windows deps | |
| "crashpad_rev": "d256de317164c0eb362bdd9cbb4d259fe6d086f3", | |
| "minichromium_rev": "203a01130fac64bfdcc8cab2e1798c7b2c0619bf", | |
| "googletest_rev": "f854f1d27488996dc8a6db3c9453f80b02585e12", | |
| # Pinned browser versions used by the testing infrastructure. These are not | |
| # meant to be downloaded by users for local testing. You can self-service | |
| # update these by following the go/dart-engprod/browsers.md instructions. | |
| "download_chrome": False, | |
| "chrome_tag": "157.0.8103.6", | |
| "download_firefox": False, | |
| "firefox_tag": "158.0.1", | |
| # Emscripten is used in dart2wasm tests. | |
| "download_emscripten": False, | |
| "emsdk_rev": "e41b8c68a248da5f18ebd03bd0420953945d52ff", | |
| "emsdk_ver": "3.1.3", | |
| "build_devtools_from_source": False, | |
| } | |
| gclient_gn_args_file = Var("dart_root") + '/build/config/gclient_args.gni' | |
| gclient_gn_args = [ | |
| "build_devtools_from_source" | |
| ] | |
| 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/linux/x64": { | |
| "packages": [{ | |
| "package": "dart/third_party/d8/linux-amd64", | |
| "version": Var("d8_tag"), | |
| }], | |
| "dep_type": "cipd", | |
| }, | |
| Var("dart_root") + "/third_party/d8/linux/arm64": { | |
| "packages": [{ | |
| "package": "dart/third_party/d8/linux-arm64", | |
| "version": Var("d8_tag"), | |
| }], | |
| "dep_type": "cipd", | |
| }, | |
| Var("dart_root") + "/third_party/d8/macos/x64": { | |
| "packages": [{ | |
| "package": "dart/third_party/d8/mac-amd64", | |
| "version": Var("d8_tag"), | |
| }], | |
| "dep_type": "cipd", | |
| }, | |
| Var("dart_root") + "/third_party/d8/macos/arm64": { | |
| "packages": [{ | |
| "package": "dart/third_party/d8/mac-arm64", | |
| "version": Var("d8_tag"), | |
| }], | |
| "dep_type": "cipd", | |
| }, | |
| Var("dart_root") + "/third_party/d8/windows/x64": { | |
| "packages": [{ | |
| "package": "dart/third_party/d8/windows-amd64", | |
| "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/jsc": { | |
| "packages": [{ | |
| "package": "dart/third_party/jsc/${{platform}}", | |
| "version": Var("jsc_tag"), | |
| }], | |
| "condition": "checkout_javascript_engines and host_os == 'linux' and host_cpu == 'x64'", | |
| "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") + "/third_party/devtools_src": { | |
| "url": Var("dart_git") + "external/github.com/flutter/devtools.git" + | |
| "@" + Var("devtools_rev"), | |
| "condition": "build_devtools_from_source", | |
| }, | |
| Var("dart_root") + "/tests/co19/src": { | |
| "packages": [{ | |
| "package": "dart/third_party/co19", | |
| "version": "git_revision:" + Var("co19_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/zlib": | |
| Var("chromium_git") + "/chromium/src/third_party/zlib.git" + | |
| "@" + Var("zlib_rev"), | |
| Var("dart_root") + "/third_party/cpu_features/src": | |
| Var("chromium_git") + "/external/github.com/google/cpu_features.git" + | |
| "@" + Var("cpu_features_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/libc": | |
| Var("llvm_git") + "/llvm-project/libc" + "@" + Var("libc_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:3@5.35", | |
| }], | |
| "dep_type": "cipd", | |
| }, | |
| Var("dart_root") + "/third_party/gcloud": { | |
| "packages": [{ | |
| "package": "infra/3pp/tools/gcloud/${{platform}}", | |
| "version": Var("gcloud_version"), | |
| }], | |
| "dep_type": "cipd" | |
| }, | |
| Var("dart_root") + "/third_party/emsdk": | |
| Var("dart_git") + "external/github.com/emscripten-core/emsdk.git" + | |
| "@" + Var("emsdk_rev"), | |
| Var("dart_root") + "/third_party/flutter": { | |
| "url": Var("dart_git") + "external/github.com/flutter/flutter.git" + | |
| "@" + Var("flutter_rev"), | |
| "condition": "build_devtools_from_source", | |
| }, | |
| Var("dart_root") + "/third_party/jinja2": | |
| Var("chromium_git") + "/chromium/src/third_party/jinja2.git" + | |
| "@" + Var("jinja2_rev"), | |
| Var("dart_root") + "/third_party/perfetto/src": | |
| Var("chromium_git") + "/external/github.com/google/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") + "/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/core": | |
| Var("dart_git") + "core.git" + "@" + Var("core_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/flute": { | |
| "url": Var("dart_git") + "flute.git" + "@" + Var("flute_rev"), | |
| "condition": "checkout_flute", | |
| }, | |
| Var("dart_root") + "/third_party/pkg/http": | |
| Var("dart_git") + "http.git" + "@" + Var("http_rev"), | |
| Var("dart_root") + "/third_party/pkg/i18n": | |
| Var("dart_git") + "i18n.git" + "@" + Var("i18n_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/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/native": | |
| Var("dart_git") + "native.git" + "@" + Var("native_rev"), | |
| Var("dart_root") + "/third_party/pkg/protobuf": | |
| Var("dart_git") + "protobuf.git" + "@" + Var("protobuf_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/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/test": | |
| Var("dart_git") + "test.git" + "@" + Var("test_rev"), | |
| Var("dart_root") + "/third_party/pkg/tools": | |
| Var("dart_git") + "tools.git" + "@" + Var("tools_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/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": | |
| Var("dart_git") + "web.git" + "@" + Var("web_rev"), | |
| Var("dart_root") + "/buildtools/sysroot/linux": { | |
| "packages": [ | |
| { | |
| "package": "fuchsia/third_party/sysroot/linux", | |
| "version": "git_revision:fa7a5a9710540f30ff98ae48b62f2cdf72ed2acd", | |
| }, | |
| ], | |
| "condition": "host_os == linux", | |
| "dep_type": "cipd", | |
| }, | |
| Var("dart_root") + "/buildtools/sysroot/jammy": { | |
| "packages": [ | |
| { | |
| "package": "fuchsia/third_party/sysroot/jammy", | |
| "version": "git_revision:1d35e3be9be587ed0de81ea4208be7cc01a7748c", | |
| }, | |
| ], | |
| "condition": "host_os == linux", | |
| "dep_type": "cipd", | |
| }, | |
| # 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"), | |
| }, | |
| ], | |
| "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'), | |
| } | |
| ], | |
| # Download reclient only on the platforms where it has packages available. | |
| # Unfortunately windows-arm64 gclient uses x64 python which lies in | |
| # host_cpu, so we have to use a variable to not download reclient there. | |
| 'condition': 'download_reclient and (((host_os == "linux" or host_os == "mac" or host_os == "win") and host_cpu == "x64") or (host_os == "mac" and host_cpu == "arm64"))', | |
| '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 or build_devtools_from_source", | |
| "dep_type": "cipd", | |
| }, | |
| Var("dart_root") + "/buildtools": { | |
| "packages": [ | |
| { | |
| "package": "gn/gn/${{platform}}", | |
| "version": Var("gn_version"), | |
| }, | |
| ], | |
| "condition": "host_os != 'win'", | |
| "dep_type": "cipd", | |
| }, | |
| # windows-arm64 package is not available, use the windows-x64 package and | |
| # rely on transparent emulation. | |
| 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/siso": { | |
| "packages": [{ | |
| "package": "build/siso/${{platform}}", | |
| "version": Var("siso_version"), | |
| }], | |
| "dep_type": "cipd", | |
| }, | |
| Var("dart_root") + "/third_party/android_tools": { | |
| "packages": [ | |
| { | |
| "package": "flutter/android/sdk/all/${{platform}}", | |
| "version": "version:36v3" | |
| } | |
| ], | |
| "condition": "download_android_deps", | |
| "dep_type": "cipd", | |
| }, | |
| Var("dart_root") + "/third_party/openjdk": { | |
| "packages": [ | |
| { | |
| "package": "flutter/java/openjdk/${{platform}}", | |
| "version": "version:21" | |
| } | |
| ], | |
| "condition": "download_android_deps", | |
| "dep_type": "cipd", | |
| }, | |
| Var("dart_root") + "/third_party/fuchsia/sdk/linux": { | |
| "packages": [ | |
| { | |
| "package": "fuchsia/sdk/core/linux-amd64", | |
| "version": Var("fuchsia_sdk_version"), | |
| } | |
| ], | |
| "condition": 'download_fuchsia_deps and host_os == "linux"', | |
| "dep_type": "cipd", | |
| }, | |
| Var("dart_root") + "/third_party/qemu-linux-arm64": { | |
| "packages": [ | |
| { | |
| "package": 'fuchsia/third_party/qemu/linux-arm64', | |
| "version": 'go4qfwROMthoOfAh-G1240ysyEx07kIuWBqqkXENA7AC' | |
| }, | |
| ], | |
| "condition": "download_fuchsia_deps", | |
| "dep_type": "cipd", | |
| }, | |
| Var("dart_root") + "/third_party/fuchsia/test_scripts": { | |
| "packages": [ | |
| { | |
| "package": "chromium/fuchsia/test-scripts", | |
| "version": "OFk98i8rGGYDjBsifcqKjtp6IPb5yuFMXwpL81YAG4QC", | |
| } | |
| ], | |
| "condition": 'download_fuchsia_deps', | |
| "dep_type": "cipd", | |
| }, | |
| Var("dart_root") + "/third_party/fuchsia/gn-sdk": { | |
| "packages": [ | |
| { | |
| "package": "chromium/fuchsia/gn-sdk", | |
| "version": "kFdyRnojbVy0cxvRZueVcnyi4XuxGnAiSK0YOvpzOG8C", | |
| } | |
| ], | |
| "condition": 'download_fuchsia_deps', | |
| "dep_type": "cipd", | |
| }, | |
| Var("dart_root") + "/pkg/front_end/test/types/benchmark_data": { | |
| "packages": [ | |
| { | |
| "package": "dart/cfe/benchmark_data", | |
| "version": "sha1sum:a0832fe5edeb158bf63dbe3ec10cf5d00186b3ff", | |
| } | |
| ], | |
| "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', Var("dart_root") + '/tools/generate_package_config.py'], | |
| }, | |
| { | |
| # Generate the sdk/version file. | |
| 'name': 'Generate sdk/version', | |
| 'pattern': '.', | |
| 'action': ['python3', Var("dart_root") + '/tools/generate_sdk_version_file.py'], | |
| }, | |
| { | |
| # Generate large tests. | |
| 'name': 'Generate large tests', | |
| 'pattern': '.', | |
| 'action': ['python3', Var("dart_root") + '/tools/generate_large_tests.py'], | |
| }, | |
| { | |
| 'name': 'buildtools', | |
| 'pattern': '.', | |
| 'action': ['python3', Var("dart_root") + '/tools/buildtools/update.py'], | |
| }, | |
| { | |
| 'name': 'configure_siso', | |
| 'pattern': '.', | |
| 'action': [ | |
| 'python3', | |
| Var("dart_root") + '/build/config/siso/configure_siso.py', | |
| '--rbe_instance', | |
| Var('rbe_instance'), | |
| '--credential-helper', | |
| 'google-application-default', | |
| ], | |
| }, | |
| { | |
| # Update the Windows toolchain if necessary. | |
| 'name': 'win_toolchain', | |
| 'pattern': '.', | |
| 'action': ['python3', Var("dart_root") + '/build/vs_toolchain.py', 'update'], | |
| 'condition': 'checkout_win' | |
| }, | |
| # Install and activate the empscripten SDK. | |
| { | |
| 'name': 'install_emscripten', | |
| 'pattern': '.', | |
| 'action': ['python3', Var("dart_root") + '/third_party/emsdk/emsdk.py', 'install', | |
| Var('emsdk_ver')], | |
| 'condition': 'download_emscripten' | |
| }, | |
| { | |
| 'name': 'activate_emscripten', | |
| 'pattern': '.', | |
| 'action': ['python3', Var("dart_root") + '/third_party/emsdk/emsdk.py', 'activate', | |
| Var('emsdk_ver')], | |
| 'condition': 'download_emscripten' | |
| }, | |
| { | |
| 'name': 'Download Fuchsia system images', | |
| 'pattern': '.', | |
| 'action': [ | |
| 'python3', | |
| Var("dart_root") + '/build/fuchsia/with_envs.py', | |
| Var("dart_root") + '/third_party/fuchsia/test_scripts/update_product_bundles.py', | |
| 'terminal.x64,terminal.qemu-arm64', | |
| ], | |
| 'condition': 'download_fuchsia_deps' | |
| }, | |
| { | |
| 'name': 'Generate Fuchsia GN build rules', | |
| 'pattern': '.', | |
| 'action': [ | |
| 'python3', | |
| Var("dart_root") + '/build/fuchsia/with_envs.py', | |
| Var("dart_root") + '/third_party/fuchsia/test_scripts/gen_build_defs.py', | |
| ], | |
| 'condition': 'download_fuchsia_deps' | |
| }, | |
| ] |