mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 10:49:00 +00:00
46324e49da
This reverts commit a06ade1d14
.
Reason for revert: Broke flutter: https://ci.chromium.org/ui/p/dart/builders/ci.sandbox/flutter-engine-linux/19264/overview
Original change's description:
> Bump pub to d69493e5163553bde53c0889b7479dee02f550bf
>
> Changes:
> ```
> > git log --format="%C(auto) %h %s" 048e3ad..d69493e
> https://dart.googlesource.com/pub.git/+/d69493e5 Don't allow non-null-safety constraints in the root pubspec (3800)
> https://dart.googlesource.com/pub.git/+/3514d7e7 Fail gracefully when tar file contains duplicate entries (3805)
> https://dart.googlesource.com/pub.git/+/0b3b8b44 Give full error even in summary mode (3804)
> https://dart.googlesource.com/pub.git/+/09c29722 Allow adding and removing dependency overrides (3716)
> https://dart.googlesource.com/pub.git/+/7184d1b5 accept 'topics' property in pubspec.yaml (3796)
> https://dart.googlesource.com/pub.git/+/cd106dfd Improve usage text of get (3792)
> https://dart.googlesource.com/pub.git/+/019d61cb Handle bad git revisions (3791)
> https://dart.googlesource.com/pub.git/+/e3ff7a99 Use 'pkg' and 'packages' to trigger suggestions for the pub command (3731)
> https://dart.googlesource.com/pub.git/+/ea24bf22 Better error when path dependency has no pubspec.yaml (3787)
> https://dart.googlesource.com/pub.git/+/da2a0144 Drop --use-data-isolate-strategy flag for tests (3788)
> https://dart.googlesource.com/pub.git/+/a565858e Improve documentation of `pub token` and subcommands (3778)
> https://dart.googlesource.com/pub.git/+/dd320459 Add test for publishing and consuming files with unicode characters in name (3785)
> https://dart.googlesource.com/pub.git/+/c4226d9f Fail tests on errors thrown by test PackageServer (3784)
> https://dart.googlesource.com/pub.git/+/12019939 Consider pubspec_overrides.yaml when publishing (3782)
> https://dart.googlesource.com/pub.git/+/d8a97497 Allow addition of tokens for insecure localhost repositories (3777)
>
> ```
>
> Diff: https://dart.googlesource.com/pub.git/+/048e3ad2b5e1b4ebe6883addbc95722be6904a7b..d69493e5163553bde53c0889b7479dee02f550bf/
> Change-Id: I92af981e9cb6aaedfcd75a7327dfef071645306b
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/285908
> Reviewed-by: Jonas Jensen <jonasfj@google.com>
> Commit-Queue: Sigurd Meldgaard <sigurdm@google.com>
> Reviewed-by: William Hesse <whesse@google.com>
Change-Id: I0cb55a2cf4602868649c153dd1d86ba91c751ce5
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/288200
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Alexander Thomas <athom@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
Auto-Submit: Sigurd Meldgaard <sigurdm@google.com>
786 lines
31 KiB
Python
786 lines
31 KiB
Python
# 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 = [
|
|
'boringssl.googlesource.com',
|
|
'chrome-infra-packages.appspot.com',
|
|
'chromium.googlesource.com',
|
|
'dart.googlesource.com',
|
|
'dart-internal.googlesource.com',
|
|
'fuchsia.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
|
|
"chromium_git": "https://chromium.googlesource.com",
|
|
"fuchsia_git": "https://fuchsia.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.
|
|
# Contact dart-engprod@ if you need a checked-in SDK roll.
|
|
"sdk_tag": "version:3.0.0-187.0.dev",
|
|
|
|
# co19 is a cipd package. Use update.sh in tests/co19[_2] to update these
|
|
# hashes.
|
|
"co19_rev": "6472c72a65dac708a4f420666837a37c7ff4f54d",
|
|
# This line prevents conflicts when both packages are rolled simultaneously.
|
|
"co19_2_rev": "93b818c9cf570a63cbea56508e393770787fd5ab",
|
|
|
|
# The internal benchmarks to use. See go/dart-benchmarks-internal
|
|
"benchmarks_internal_rev": "599aa474a03c37be146f82dfbad85f34f25ffa47",
|
|
"checkout_benchmarks_internal": 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.1.193",
|
|
"jsshell_tag": "version:95.0",
|
|
|
|
# As Flutter does, we use Fuchsia's GN and Clang toolchain. These revision
|
|
# should be kept up to date with the revisions pulled by the Flutter engine.
|
|
# The list of revisions for these tools comes from Fuchsia, here:
|
|
# https://fuchsia.googlesource.com/integration/+/HEAD/toolchain
|
|
# If there are problems with the toolchain, contact fuchsia-toolchain@.
|
|
"clang_version": "git_revision:28ee6040710fff44ae1349eadabd4cb4a9b1b1b8",
|
|
"gn_version": "git_revision:0bcd37bd2b83f1a9ee17088037ebdfe6eab6d31a",
|
|
|
|
# Update from https://chrome-infra-packages.appspot.com/p/fuchsia/sdk/gn
|
|
"fuchsia_sdk_version": "version:11.20230210.1.1",
|
|
|
|
# Ninja, runs the build based on files generated by GN.
|
|
"ninja_tag": "version:2@1.11.1.chromium.4",
|
|
|
|
# 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" : "4471b81a0a0b94c75bad6e81d0413860944ecb1f",
|
|
"boringssl_gen_rev": "ced85ef0a00bbca77ce5a91261a5f2ae61b1e62f",
|
|
"boringssl_rev": "87f316d7748268eb56f2dc147bd593254ae93198",
|
|
"browser-compat-data_tag": "ac8cae697014da1ff7124fba33b0b4245cc6cd1b", # v1.0.22
|
|
"devtools_rev": "bf15e7348d53dc83531d503be94e0c035b604984",
|
|
"gperftools_revision": "bf8b714bf5075d0a6f2f28504b43095e2b1e11c5",
|
|
"icu_rev": "81d656878ec611cb0b42d52c82e9dae93920d9ba",
|
|
"jinja2_rev": "2222b31554f03e62600cd7e383376a7c187967a1",
|
|
"libprotobuf_rev": "24487dd1045c7f3d64a21f38a3f0c06cc4cf2edb",
|
|
"markupsafe_rev": "8f45f5cfa0009d2a70589bcda0349b8cb2b72783",
|
|
"perfetto_rev": "b8da07095979310818f0efde2ef3c69ea70d62c5",
|
|
"ply_rev": "604b32590ffad5cbb82e4afef1d305512d06ae93",
|
|
"protobuf_gn_rev": "f872f05cb0378eef9a7a2609076929f0f35b4141",
|
|
"root_certificates_rev": "692f6d6488af68e0121317a9c2c9eb393eb0ee50",
|
|
"WebCore_rev": "bcb10901266c884e7b3740abc597ab95373ab55c",
|
|
"zlib_rev": "27c2f474b71d0d20764f86f60ef8b00da1a16cda",
|
|
|
|
### /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": "9305d5a2ca817a065a1ded3734655d99cd717f2c",
|
|
"async_rev": "f454380c2691728530e0b2421af7676a9621481b",
|
|
"bazel_worker_rev": "53871c5fe36438b734a0f75c91055e75111a7210",
|
|
"benchmark_harness_rev": "a6a0891e5430ce10518d19a52b6fa6c4ad18a6f2",
|
|
"boolean_selector_rev": "16e6ad3c8000e08a7f1c213aef2a692d872a16c7",
|
|
"browser_launcher_rev": "bc2dc4ef53a6619032e9f01450848e9ed40a9437",
|
|
"characters_rev": "3281cc7b76731de06dcbafa95516681710ba8d5e",
|
|
"cli_util_rev": "91747f7dd9bdf2457f081d3cf035de5672dd4a02",
|
|
"clock_rev": "5abb4816bad6cf3bfab64d65d501752d19760bd0",
|
|
"collection_rev": "0d0e184a5f70ca4e23dab23df686127ec40bfb11",
|
|
"convert_rev": "83886e3fd895211a98e49b7595a92796fa216641",
|
|
"crypto_rev": "9efb888e9b06489bd7c861b1d01f4c4eebb05b60",
|
|
"csslib_rev": "b671738dc6de7d212b5f943b4258f9bb099d3e83",
|
|
# 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": "a3f1b041f3c5045d1fee7f1129075d0ad6a4a96e", # disable rev_sdk_deps.dart
|
|
"dartdoc_rev": "98fa859c8e7e9c0ee9a8873a09aed4d96aab4d3b",
|
|
"ffi_rev": "32f5eefea59d4461e8ab40e83f157e49d5abe0da",
|
|
"file_rev": "72a67c33f90bfb7e10057e286e06d2fe3baa4d98",
|
|
"fixnum_rev": "f8379d94436f3a73f71ea078f3207897c6700498",
|
|
"glob_rev": "f378dc8734f9f2413e93951f95d278420e4a03e0",
|
|
"html_rev": "08643e9e2baac0f20ce4a3b8baed820107972270",
|
|
"http_rev": "805a14742e293fb51c0b89004b51add50d825792",
|
|
"http_multi_server_rev": "7bd190c70288361ed01ad31668e93544bcc5cf2b",
|
|
"http_parser_rev": "b3b283b9f139640b932d604e8815460bbd3ecab5",
|
|
"intl_rev": "fca552f2ec5d682b5fa36f02bdd72a5a4e2edcee",
|
|
"json_rpc_2_rev": "0280ac6cb4f3905d81c47ba927123ba2b95f7940",
|
|
"linter_rev": "dcf3a079c573487b6ab64518604e5686be899601", # disable rev_sdk_deps.dart
|
|
"lints_rev": "dfded5e265015f21ce154577fe8488dc244e33c2",
|
|
"logging_rev": "abef3717d958158eb8b0ddb2871f4b15a9804cd4",
|
|
"markdown_rev": "ecbffa9bf9109d490b9388e9cb1f2bb801aee63c",
|
|
"matcher_rev": "c1a07043de3da4968e1736fcde1c521802821859",
|
|
"mime_rev": "1a51be02b3cbc742c79d83575bd096ae8c295c1f",
|
|
"mockito_rev": "ed5bd84f7bd7b651c96fbd7f449e92984a902502",
|
|
"package_config_rev": "74ac1cb90ad7f4f05bd92c952eaf9756c516fca3",
|
|
"path_rev": "24b58a2499440cc3d12d2b3c2f52b95f91ff1c0a",
|
|
"pool_rev": "694cfd867d8d84857fc42a8d07933013f0d25305",
|
|
"protobuf_rev": "75bc380a6e9601565606a13dee16c5ab2bf5019c",
|
|
"pub_rev": "048e3ad2b5e1b4ebe6883addbc95722be6904a7b", # disable rev_sdk_deps.dart
|
|
"pub_semver_rev": "c0e6ea74ccfbfdb2ef54c7cd9ad31455ca8e481f",
|
|
"shelf_rev": "e3cfe796ad478cb4b61ad8e68ea29644c0bb1037",
|
|
"source_map_stack_trace_rev": "45ea3688b6bec1eb565c38c4e28f37b01f8a0fa9",
|
|
"source_maps_rev": "a112e981a985a8af2047ee25a9cf56b0d5413b02",
|
|
"source_span_rev": "3951ba50ec29b9870c3131c6ddcc88700d26f3ee",
|
|
"sse_rev": "8c03b73f90d951f5b33dd496593718107c79f97a",
|
|
"stack_trace_rev": "6ceb191ace71c18ccf5648f6b2e8be52da39c56f",
|
|
"stream_channel_rev": "a20ccd4142947637213393803289787a233402a1",
|
|
"string_scanner_rev": "29e471ea98762db8052cca0e6a69ef9c7999abed",
|
|
"sync_http_rev": "36a1bd086798cbdb48e7541b05e5a14b5e5bb56b",
|
|
"term_glyph_rev": "d275a8f7482b6a5e4f15d0da6feb66c24f52eb94",
|
|
"test_rev": "3ba78f15538399073d0b5aba4ec19b1378af1625",
|
|
"test_descriptor_rev": "1d4a967dd17874f3835af30720e9820c74977569",
|
|
"test_process_rev": "f76d0b8fcf078d629cb57f859db79be93d6323d5",
|
|
"test_reflective_loader_rev": "c4c2d5c3f94a96f3fc79e9e28944fba391bc544c",
|
|
"tools_rev": "bed358ea8ca10551c710282be96cf6e95620fb24",
|
|
"typed_data_rev": "f858046fb420cf644e7d8cb86b7893f2830d8a6c",
|
|
"usage_rev": "399770f45ed2d384d79395c0341a04fb25609a4d",
|
|
"vector_math_rev": "1e4d000f55512ca55d0fcef4e13fc03010d54251",
|
|
"watcher_rev": "5968409e1d73e21e75fc22a6481d5efaef7f3558",
|
|
"web_components_rev": "8f57dac273412a7172c8ade6f361b407e2e4ed02",
|
|
"web_socket_channel_rev": "e2fe7f665997ab8e28aa76a8b26483f9903221a8",
|
|
"webdev_rev": "cfe97534b33d37c7e0bbac2a3576085f74f2eaa3",
|
|
"webdriver_rev": "562aa06353d513586b806ce1c9655dac3971879f",
|
|
"webkit_inspection_protocol_rev": "8401098ace995e4dcd9855a2741c2dacccaa780b",
|
|
"yaml_rev": "0f80b12978f066b3547632dec4a273649138fae4",
|
|
"yaml_edit_rev": "6abc42a74b76700ad02fa1c1ebd94951b62626b9",
|
|
|
|
# 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": "101.0.4951.41",
|
|
"download_firefox": False,
|
|
"firefox_tag": "98.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": {
|
|
"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/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("fuchsia_git") +
|
|
"/third_party/android.googlesource.com/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/tcmalloc/gperftools":
|
|
Var('chromium_git') + '/external/github.com/gperftools/gperftools.git' +
|
|
"@" + Var("gperftools_revision"),
|
|
|
|
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":
|
|
Var("dart_git") + "characters.git" + "@" + Var("characters_rev"),
|
|
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/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/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/linter":
|
|
Var("dart_git") + "linter.git" + "@" + Var("linter_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/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/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/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/web_components":
|
|
Var("dart_git") + "web-components.git" +
|
|
"@" + Var("web_components_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"),
|
|
|
|
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_cpu == x64 and host_os == win",
|
|
"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") + "/third_party/webdriver/chrome": {
|
|
"packages": [
|
|
{
|
|
"package": "dart/third_party/chromedriver/${{platform}}",
|
|
"version": "version:" + Var("chrome_tag"),
|
|
}
|
|
],
|
|
"condition": "host_cpu == 'x64'",
|
|
"dep_type": "cipd",
|
|
},
|
|
|
|
Var("dart_root") + "/buildtools": {
|
|
"packages": [
|
|
{
|
|
"package": "gn/gn/${{platform}}",
|
|
"version": Var("gn_version"),
|
|
},
|
|
],
|
|
"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:r21.0.6113669"
|
|
}
|
|
],
|
|
"condition": "download_android_deps",
|
|
"dep_type": "cipd",
|
|
},
|
|
|
|
Var("dart_root") + "/third_party/android_tools/sdk/build-tools": {
|
|
"packages": [
|
|
{
|
|
"package": "flutter/android/sdk/build-tools/${{os}}-amd64",
|
|
"version": "version:30.0.1"
|
|
}
|
|
],
|
|
"condition": "download_android_deps",
|
|
"dep_type": "cipd",
|
|
},
|
|
|
|
Var("dart_root") + "/third_party/android_tools/sdk/platform-tools": {
|
|
"packages": [
|
|
{
|
|
"package": "flutter/android/sdk/platform-tools/${{os}}-amd64",
|
|
"version": "version:29.0.2"
|
|
}
|
|
],
|
|
"condition": "download_android_deps",
|
|
"dep_type": "cipd",
|
|
},
|
|
|
|
Var("dart_root") + "/third_party/android_tools/sdk/platforms": {
|
|
"packages": [
|
|
{
|
|
"package": "flutter/android/sdk/platforms",
|
|
"version": "version:30r3"
|
|
}
|
|
],
|
|
"condition": "download_android_deps",
|
|
"dep_type": "cipd",
|
|
},
|
|
|
|
Var("dart_root") + "/third_party/android_tools/sdk/tools": {
|
|
"packages": [
|
|
{
|
|
"package": "flutter/android/sdk/tools/${{os}}-amd64",
|
|
"version": "version:26.1.1"
|
|
}
|
|
],
|
|
"condition": "download_android_deps",
|
|
"dep_type": "cipd",
|
|
},
|
|
|
|
Var("dart_root") + "/third_party/fuchsia/sdk/mac": {
|
|
"packages": [
|
|
{
|
|
"package": "fuchsia/sdk/gn/mac-amd64",
|
|
"version": Var("fuchsia_sdk_version"),
|
|
}
|
|
],
|
|
"condition": 'host_os == "mac" and host_cpu == "x64"',
|
|
"dep_type": "cipd",
|
|
},
|
|
Var("dart_root") + "/third_party/fuchsia/sdk/linux": {
|
|
"packages": [
|
|
{
|
|
"package": "fuchsia/sdk/gn/linux-amd64",
|
|
"version": Var("fuchsia_sdk_version"),
|
|
}
|
|
],
|
|
"condition": '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'
|
|
},
|
|
]
|