dart-sdk/DEPS

617 lines
24 KiB
Plaintext
Raw Normal View History

# 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
allowed_hosts = [
'boringssl.googlesource.com',
'chrome-infra-packages.appspot.com',
'chromium.googlesource.com',
'dart.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/",
# 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.
"sdk_tag": "version:2.9.0-4.0.dev",
[co19] Roll co19_2 and add co19 (nnbd) to DEPS. Initial import of co19 (nnbd) at 8767031866e8243eafdb46011d4d8a7b5705019d. Roll co19_2 to 368bfa9e877a2df003547f64bb17e30596af10c7: 2019-11-22 irina.arkhipets@gmail.com Issue 501 fixed: correct expected result adjusted. 2019-11-22 irina.arkhipets@gmail.com Issue 501 fixed: correct expected result adjusted. 2019-11-22 irina.arkhipets@gmail.com Issue 499 fixed: correct expected result adjusted. 2019-11-22 sgrekhov@unipro.ru Fixes 500. Expected result corrected 2019-11-12 sgrekhov@unipro.ru Fixes 495. Partial fix. Explicit extension member invocation tests added 2019-11-11 sgrekhov@unipro.ru 495. Partial fix. Null-aware explicit extension member invocation tests added 2019-11-07 sgrekhov@unipro.ru Remove hint in analyzer 2019-11-07 sgrekhov@unipro.ru 495. Partial fix. Explicit extension member invocation tests for composite member invocation added 2019-11-06 sgrekhov@unipro.ru 495. Partial fix. Explicit extension member invocation tests for composite member invocation added 2019-11-05 sgrekhov@unipro.ru 495. Partial fix. Explicit extension member invocation tests for composite member invocation added 2019-10-31 sgrekhov@unipro.ru 495. Partial fix. Explicit extension member invocation tests for binary operations added 2019-10-30 sgrekhov@unipro.ru 495. Partial fix. Explicit extension member invocation tests for binary operations added 2019-10-29 sgrekhov@unipro.ru 495. Partial fix. Explicit extension member invocation tests added 2019-10-10 irina.arkhipets@gmail.com Fixed Issue 494: expected result corrected. 2019-10-09 irina.arkhipets@gmail.com Fixed Issue 493: typo corrected. 2019-10-09 irina.arkhipets@gmail.com Fixed Issue 492: typo corrected. Failures are due to: * Triple-shift is not yet implemented. * https://github.com/dart-lang/sdk/issues/39527 Change-Id: I81578e1e3e18b396f1d20cee7aaa34cd4df54bbf Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125973 Reviewed-by: Jonas Termansen <sortie@google.com>
2019-11-26 17:10:18 +00:00
# co19 is a cipd package. Use update.sh in tests/co19[_2] to update these
# hashes. It requires access to the dart-build-access group, which EngProd
# has.
[co19] Roll co19 to f65f3578f95415c9a2f3ad002aac7b507549e64a 2020-05-07 irina.arkhipets@gmail.com Fixed Issue 630: test expectation updated. 2020-05-07 irina.arkhipets@gmail.com Fixed Issue 637: test updated. 2020-05-07 irina.arkhipets@gmail.com Fixed Issue 636: Test expected result corrected. 2020-05-07 irina.arkhipets@gmail.com Fixed Issue 635: Tests updated according the recent Spec changes, "consolidated" model is now supported. 2020-05-07 irina.arkhipets@gmail.com Issue 633: Utils common function re-named. 2020-05-06 irina.arkhipets@gmail.com Fixed Issue 633: Missing class declaration added to common utils. 2020-05-05 sgrekhov@unipro.ru Fixes 629. In a weak mode allow increasing list length 2020-05-04 sgrekhov@unipro.ru Fixes 632. Add Requirements=nnbd-weak 2020-05-01 irina.arkhipets@gmail.com Fixed Issue 628: typedef declarations corrected. 2020-04-30 irina.arkhipets@gmail.com Fixed Issue 607: compile-error tag corrected. 2020-04-30 irina.arkhipets@gmail.com Fixed Issue 607: Existing Instantiate-to-bounds/typedef/dinamic tests adopted to NNBD. 2020-04-30 irina.arkhipets@gmail.com Fixed Issue 607: Existing Instantiate-to-bounds/nonfunction_typedef/static tests adopted to NNBD. 2020-04-30 irina.arkhipets@gmail.com Fixed Issue 607: Existing Instantiate-to-bounds/nonfunction_typedef/dynamic tests adopted to NNBD. 2020-04-30 sgrekhov@unipro.ru 626. Fix API tests failures caused by breaking changes in API 2020-04-29 irina.arkhipets@gmail.com Fixed Issue 607: Existing Instantiate-to-bounds/class tests adopted to NNBD. 2020-04-29 irina.arkhipets@gmail.com Fixed Issue 624: overriding tests expected results updated. 2020-04-29 irina.arkhipets@gmail.com Fixed Issues 619, 623: nnbd top merge tests updated. 2020-04-29 sgrekhov@unipro.ru 478. Demotion via assignment tests added 2020-04-28 irina.arkhipets@gmail.com Fixed Issue 622: test updated and now returns a value of correct type. 2020-04-28 irina.arkhipets@gmail.com Fixed Issue 607: tags for the Issue 41684 added, tests updated. Change-Id: I4c07fc722a4b45c8eee0cdda569f4acb42587de2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/147120 Reviewed-by: William Hesse <whesse@google.com>
2020-05-07 14:40:28 +00:00
"co19_rev": "f65f3578f95415c9a2f3ad002aac7b507549e64a",
[co19] Roll co19_2 to ef2cb6474595d3ed60870e1a26e8913a980d6d59 2020-05-07 irina.arkhipets@gmail.com Fixed Issue 637: test updated. 2020-05-07 irina.arkhipets@gmail.com ssue 634: i-2-B tests corrected as a result of the roll analysis. 2020-05-06 sgrekhov@unipro.ru Revert 531 fix in pre-nnbd branch 2020-05-06 sgrekhov@unipro.ru Test for E(o)?[v] syntax deleted from pre-nnbd branch 2020-05-06 sgrekhov@unipro.ru Test failures fixed 2020-05-06 sgrekhov@unipro.ru Assert tests fixed 2020-04-30 sgrekhov@unipro.ru 626. Fix API tests failures caused by breaking changes in API 2020-04-13 sgrekhov@unipro.ru 608. Check that on-catch variables are final 2020-04-01 askesc@google.com Skip surrogates in decode test (592) 2020-04-01 sgrekhov@unipro.ru Additional fix for 542. Change expected result according to the changed behavior 2020-03-26 sgrekhov@unipro.ru Fix for 585. fromEnvironment() tests simplified 2020-03-25 sgrekhov@unipro.ru Fix for 540. Missed 'const' added 2020-03-25 sgrekhov@unipro.ru Fix for 540. Change default values of int.fromEnvironment() and String.fromEnvironment() 2020-03-25 sgrekhov@unipro.ru Fix for 585. Make fromEnvironment tests to be independed from defaultValue 2020-03-25 sgrekhov@unipro.ru Fix for 542. Change expected result of the parse 2020-03-18 sgrekhov@unipro.ru Fix for 583. Replace AssertionError by TypeError 2020-03-13 sgrekhov@unipro.ru Fix for 543. Use beginning of Unix epoch instead of null if FileStat fails 2020-02-26 irina.arkhipets@gmail.com Fixed Issue 531: type normalization is taken into account. 2020-02-19 irina.arkhipets@gmail.com Fixed Issue 529: test call arguments changed. 2020-02-25 sgrekhov@unipro.ru Fixes 532. FileSystemEvent.isDirectory is always false for delete events 2019-12-11 sgrekhov@unipro.ru Merge branch 'pre-nnbd' of https://github.com/dart-lang/co19 into pre-nnbd 2019-12-11 sgrekhov@unipro.ru Tests for calling of 'call()' method via 'this()' and 'super()' added 2019-12-06 irina.arkhipets@gmail.com Fixed Issue 507: needless compile-error expectation removed. 2019-12-06 irina.arkhipets@gmail.com Fixed Issue 506: test expected result corrected. 2019-12-06 irina.arkhipets@gmail.com Fixed Issue 505: --enable-experiment=nonfunction-type-aliases option added. 2019-12-02 irina.arkhipets@gmail.com Get rid of useless references to the issue 34950 which is fixed now. 2019-12-02 irina.arkhipets@gmail.com Fixed Issue 498: compile error diagnostic improved. 2019-12-02 irina.arkhipets@gmail.com Fixed Issue 498: get rid of self-references in non-function type aliases tests. 2019-11-25 irina.arkhipets@gmail.com Fixed Issue 498: get rid of self-references in non-function type aliases tests. 2019-11-26 sgrekhov@unipro.ru Fixes 503. Allow multiple return statements of different kind 2019-11-25 sgrekhov@unipro.ru Fixes 497. Null-aware operators are allowed for explicit extension invocation 2019-11-25 irina.arkhipets@gmail.com Issue 502 fixed: compile error us thrown declared non-function typedef bounds do not ensure that the type arguments are appropriate for the body. Change-Id: Ic4913942de27b86b26309abdf0160f59fd4994a0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/147551 Reviewed-by: William Hesse <whesse@google.com>
2020-05-12 08:52:51 +00:00
"co19_2_rev": "ef2cb6474595d3ed60870e1a26e8913a980d6d59",
# 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/buildtools/+/master/fuchsia.ensure
# If there are problems with the toolchain, contact fuchsia-toolchain@.
"clang_revision": "7e9747b50bcb1be28d4a3236571e8050835497a6",
"gn_revision": "239533d2d91a04b3317ca9101cf7189f4e651e4d",
# Scripts that make 'git cl format' work.
"clang_format_scripts_rev": "c09c8deeac31f05bd801995c475e7c8070f9ecda",
"gperftools_revision": "e9ab4c53041ac62feefbbb076d326e9a77dd1567",
# Revisions of /third_party/* dependencies.
"args_tag": "1.6.0",
"async_tag": "2.4.1",
"bazel_worker_tag": "v0.1.22",
"benchmark_harness_tag": "81641290dea44c34138a109a37e215482f405f81",
"boolean_selector_tag": "1309eabed510cc3b7536fd4367d39b97ebee3d69",
"boringssl_gen_rev": "b9e27cff1ff0803e97ab1f88764a83be4aa94a6d",
"boringssl_rev" : "4dfd5af70191b068aebe567b8e29ce108cee85ce",
"charcode_tag": "9085e6b6127f084d66c0a94810a808121459012a",
"chrome_rev" : "19997",
"cli_util_tag" : "0.1.4",
"collection_tag": "7be42e03d427cc19571cd7f9fc628a5913a6b757",
"convert_tag": "49bde5b371eb5c2c8e721557cf762f17c75e49fc",
"crypto_tag": "7422fb2f6584fe1839eb30bc4ca56e9f9760b801",
"csslib_tag": "bf372d4fdc6dfa232ad93f77a0a3de0891edd04c",
"dart2js_info_tag" : "0.6.0",
# Note: Updates to dart_style have to be coordinated with the infrastructure
# team so that the internal formatter in `tools/sdks/dart-sdk/bin/dartfmt`
# 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_tag": "1.3.6", # Please see the note above before updating.
"dartdoc_tag" : "v0.31.0",
"ffi_tag": "454ab0f9ea6bd06942a983238d8a6818b1357edb",
"fixnum_tag": "eb3748663dc979271ff6a3d014fbe522543b1d91",
"glob_tag": "e9f4e6b7ae8abe5071461cf8f47191bb19cf7ef6",
"html_tag": "083a36cd801a4b787ba156b7c6e4c8b2e2daed4a",
"http_io_rev": "2fa188caf7937e313026557713f7feffedd4978b",
"http_multi_server_rev" : "ea269f79321d659208402088f3297e8920a88ee6",
"http_parser_tag": "6e63a97b5aaa2b4d1215fe01683e51fb73258e54",
"http_retry_tag": "0.1.1",
"http_tag": "a131e563c09349f624d5421237183a06fb10552d",
"http_throttle_tag" : "1.0.2",
"icu_rev" : "5005010d694e16571b8dfbf07d70817841f80a69",
"idl_parser_rev": "5fb1ebf49d235b5a70c9f49047e83b0654031eb7",
"intl_tag": "0.16.1",
"jinja2_rev": "2222b31554f03e62600cd7e383376a7c187967a1",
"json_rpc_2_tag": "d589e635d8ccb7cda6a804bd571f88abbabab146",
"linter_tag": "0.1.115",
"logging_tag": "9561ba016ae607747ae69b846c0e10958ca58ed4",
"markupsafe_rev": "8f45f5cfa0009d2a70589bcda0349b8cb2b72783",
"markdown_tag": "dd150bb64c5f3b41d31f20f399ae2a855f7f8c00",
"matcher_tag": "af4fe7daf8e94a46981e4f072872be550a6969e9",
"mime_tag": "179b5e6a88f4b63f36dc1b8fcbc1e83e5e0cd3a7",
"mockito_tag": "d39ac507483b9891165e422ec98d9fb480037c8b",
"mustache_tag": "664737ecad027e6b96d0d1e627257efa0e46fcb1",
"oauth2_tag": "1.6.0",
"package_config_tag": "9c586d04bd26fef01215fd10e7ab96a3050cfa64",
"path_tag": "4b8c83cd5ccfcc8101acd2940ffb5a44d24ec57e",
"pedantic_tag": "v1.9.0",
"ply_rev": "604b32590ffad5cbb82e4afef1d305512d06ae93",
"pool_tag": "86fbb2cde9bbc66c8d159909d2f65a5981ea5b50",
"protobuf_rev": "3746c8fd3f2b0147623a8e3db89c3ff4330de760",
"pub_rev": "3606265962da4248d34d352aa3d170aae4496a90",
"pub_semver_tag": "v1.4.4",
"quiver-dart_tag": "2.0.0+1",
"resource_rev": "f8e37558a1c4f54550aa463b88a6a831e3e33cd6",
"root_certificates_rev": "16ef64be64c7dfdff2b9f4b910726e635ccc519e",
"rust_revision": "60960a260f7b5c695fd0717311d72ce62dd4eb43",
"shelf_static_rev": "v0.2.8",
"shelf_packages_handler_tag": "2.0.0",
"shelf_proxy_tag": "0.1.0+7",
"shelf_tag": "0.7.3+3",
"shelf_web_socket_tag": "0.2.2+3",
"source_map_stack_trace_tag": "2.0.0",
"source_maps-0.9.4_rev": "38524",
"source_maps_tag": "87b4fd9027378bbd51b02e9d7df794eee8a82b7a",
"source_span_tag": "1.7.0",
"stack_trace_tag": "1.9.3",
"stagehand_tag": "v3.3.7",
"stream_channel_tag": "2.0.0",
"string_scanner_tag": "a918e7371af6b6e73bfd534ff9da6084741c1f99",
"test_descriptor_tag": "1.1.1",
"test_process_tag": "1.0.3",
"term_glyph_tag": "b3da31e9684a99cfe5f192b89914492018b44da7",
"test_reflective_loader_tag": "0.1.9",
"test_tag": "988e38ff3051f24607ad0aaf4e780835785f2ab5",
"tflite_native_rev": "3c777c40608a2a9f1427bfe0028ab48e7116b4c1",
"typed_data_tag": "1.1.6",
"usage_tag": "3.4.0",
"watcher_rev": "fc3c9aae5d31d707b3013b42634dde8d8a1161b4",
"web_components_rev": "8f57dac273412a7172c8ade6f361b407e2e4ed02",
"web_socket_channel_tag": "490061ef0e22d3c8460ad2802f9948219365ad6b",
"WebCore_rev": "fb11e887f77919450e497344da570d780e078bc8",
"yaml_tag": "62e9f6b3a933b1f76dd3007d1a5ce0be8e429b2d",
"zlib_rev": "c44fb7248079cc3d5563b14b3f758aee60d6b415",
"crashpad_rev": "bf327d8ceb6a669607b0dbab5a83a275d03f99ed",
"minichromium_rev": "8d641e30a8b12088649606b912c2bc4947419ccc",
"googletest_rev": "f854f1d27488996dc8a6db3c9453f80b02585e12",
# An LLVM backend needs LLVM binaries and headers. To avoid build time
# increases we can use prebuilts. We don't want to download this on every
# CQ/CI bot nor do we want the average Dart developer to incur that cost.
# So by default we will not download prebuilts.
"checkout_llvm": False,
"llvm_revision": "fe8bd96ebd6c490ea0b5c1fb342db2d7c393a109"
}
gclient_gn_args_file = Var("dart_root") + '/build/config/gclient_args.gni'
gclient_gn_args = [
'checkout_llvm'
]
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") + "/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": "version:7.8.279",
}],
"dep_type": "cipd",
},
[co19] Roll co19_2 and add co19 (nnbd) to DEPS. Initial import of co19 (nnbd) at 8767031866e8243eafdb46011d4d8a7b5705019d. Roll co19_2 to 368bfa9e877a2df003547f64bb17e30596af10c7: 2019-11-22 irina.arkhipets@gmail.com Issue 501 fixed: correct expected result adjusted. 2019-11-22 irina.arkhipets@gmail.com Issue 501 fixed: correct expected result adjusted. 2019-11-22 irina.arkhipets@gmail.com Issue 499 fixed: correct expected result adjusted. 2019-11-22 sgrekhov@unipro.ru Fixes 500. Expected result corrected 2019-11-12 sgrekhov@unipro.ru Fixes 495. Partial fix. Explicit extension member invocation tests added 2019-11-11 sgrekhov@unipro.ru 495. Partial fix. Null-aware explicit extension member invocation tests added 2019-11-07 sgrekhov@unipro.ru Remove hint in analyzer 2019-11-07 sgrekhov@unipro.ru 495. Partial fix. Explicit extension member invocation tests for composite member invocation added 2019-11-06 sgrekhov@unipro.ru 495. Partial fix. Explicit extension member invocation tests for composite member invocation added 2019-11-05 sgrekhov@unipro.ru 495. Partial fix. Explicit extension member invocation tests for composite member invocation added 2019-10-31 sgrekhov@unipro.ru 495. Partial fix. Explicit extension member invocation tests for binary operations added 2019-10-30 sgrekhov@unipro.ru 495. Partial fix. Explicit extension member invocation tests for binary operations added 2019-10-29 sgrekhov@unipro.ru 495. Partial fix. Explicit extension member invocation tests added 2019-10-10 irina.arkhipets@gmail.com Fixed Issue 494: expected result corrected. 2019-10-09 irina.arkhipets@gmail.com Fixed Issue 493: typo corrected. 2019-10-09 irina.arkhipets@gmail.com Fixed Issue 492: typo corrected. Failures are due to: * Triple-shift is not yet implemented. * https://github.com/dart-lang/sdk/issues/39527 Change-Id: I81578e1e3e18b396f1d20cee7aaa34cd4df54bbf Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125973 Reviewed-by: Jonas Termansen <sortie@google.com>
2019-11-26 17:10:18 +00:00
Var("dart_root") + "/tests/co19/src": {
"packages": [{
"package": "dart/third_party/co19",
[co19] Roll co19_2 and add co19 (nnbd) to DEPS. Initial import of co19 (nnbd) at 8767031866e8243eafdb46011d4d8a7b5705019d. Roll co19_2 to 368bfa9e877a2df003547f64bb17e30596af10c7: 2019-11-22 irina.arkhipets@gmail.com Issue 501 fixed: correct expected result adjusted. 2019-11-22 irina.arkhipets@gmail.com Issue 501 fixed: correct expected result adjusted. 2019-11-22 irina.arkhipets@gmail.com Issue 499 fixed: correct expected result adjusted. 2019-11-22 sgrekhov@unipro.ru Fixes 500. Expected result corrected 2019-11-12 sgrekhov@unipro.ru Fixes 495. Partial fix. Explicit extension member invocation tests added 2019-11-11 sgrekhov@unipro.ru 495. Partial fix. Null-aware explicit extension member invocation tests added 2019-11-07 sgrekhov@unipro.ru Remove hint in analyzer 2019-11-07 sgrekhov@unipro.ru 495. Partial fix. Explicit extension member invocation tests for composite member invocation added 2019-11-06 sgrekhov@unipro.ru 495. Partial fix. Explicit extension member invocation tests for composite member invocation added 2019-11-05 sgrekhov@unipro.ru 495. Partial fix. Explicit extension member invocation tests for composite member invocation added 2019-10-31 sgrekhov@unipro.ru 495. Partial fix. Explicit extension member invocation tests for binary operations added 2019-10-30 sgrekhov@unipro.ru 495. Partial fix. Explicit extension member invocation tests for binary operations added 2019-10-29 sgrekhov@unipro.ru 495. Partial fix. Explicit extension member invocation tests added 2019-10-10 irina.arkhipets@gmail.com Fixed Issue 494: expected result corrected. 2019-10-09 irina.arkhipets@gmail.com Fixed Issue 493: typo corrected. 2019-10-09 irina.arkhipets@gmail.com Fixed Issue 492: typo corrected. Failures are due to: * Triple-shift is not yet implemented. * https://github.com/dart-lang/sdk/issues/39527 Change-Id: I81578e1e3e18b396f1d20cee7aaa34cd4df54bbf Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125973 Reviewed-by: Jonas Termansen <sortie@google.com>
2019-11-26 17:10:18 +00:00
"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"),
[dart2js] Add support for BabelJS to test.py This adds support for BabelJS to test.py's dart2js compiler configuration. When --babel is specified directly or through a named configuration, test.py will run an additional step after dart2js that post-processes the javascript output by running it through BabelJS with the specified Babel configuration. BabelJS is added to the DEPS in its standalone form. d8 is used to run BabelJS standalone to avoid adding a dependency on NodeJS. d8 can only write to stdout but not to files or stderr, which makes it necessary to change the test_runner to handle commands that expect their output to be piped to a file. Changes: * Add --babel option to test.py. * Add babel option to pkg/smith. * Switch IE11 builder to use babel transformation. * Fix option list comparison bugs in pkg/smith. * Change dart2js compiler configuration to generate files using the test name rather than just "out.js" (update test that relied on this). * Remove runtime_configuration dependency on test_suite. * Remove obsolete blocks adding --preview-dart-2 dart2js arguments. * Make dart2js' compiler configuration more like DDC's. * Remove createCommand method that is no longer used. * Remove support for "OtherResources" which was only used for dart:isolate tests on dart2js and DDC. * Skip co19_2 tests that are slow to transform with babel. * Simplify the timeout handling in the test runner with Future.timeout. Change-Id: I32e4917b2a57ecbe684538e40d744f0101c552a0 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/90402 Commit-Queue: Alexander Thomas <athom@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com>
2019-05-29 08:39:44 +00:00
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/gsutil": {
"packages": [{
"package": "infra/gsutil",
"version": "version:4.34",
}],
"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/jinja2":
Var("chromium_git") + "/chromium/src/third_party/jinja2.git" +
"@" + Var("jinja2_rev"),
Var("dart_root") + "/third_party/ply":
Var("chromium_git") + "/chromium/src/third_party/ply.git" +
"@" + Var("ply_rev"),
Reland "[vm] Finish adding support for ECMAScript 2018 features." This work pulls in v8 support for these features with appropriate changes for Dart and closes https://github.com/dart-lang/sdk/issues/34935. This adds support for the following features: * Interpreting patterns as Unicode patterns instead of BMP patterns * the dotAll flag (`/s`) for changing the behavior of '.' to also match line terminators * Escapes for character classes described by Unicode property groups (e.g., \p{Greek} to match all Greek characters, or \P{Greek} for all non-Greek characters). The following TC39 proposals describe some of the added features: * https://github.com/tc39/proposal-regexp-dotall-flag * https://github.com/tc39/proposal-regexp-unicode-property-escapes These additional changes are included: * Extends named capture group names to include the full range of identifier characters supported by ECMAScript, not just ASCII. * Changing the RegExp interface to return RegExpMatch objects, not Match objects, so that downcasting is not necessary to use named capture groups from Dart **Note**: The changes to the RegExp interface are a breaking change for implementers of the RegExp interface. Current users of the RegExp interface (i.e., code using Dart RegExp objects) will not be affected. Change-Id: Ie62e6082a0e2fedc1680ef2576ce0c6db80fc19a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/100641 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Stevie Strickland <sstrickl@google.com>
2019-04-29 09:11:48 +00:00
Var("dart_root") + "/third_party/icu":
Var("chromium_git") + "/chromium/deps/icu.git" +
"@" + Var("icu_rev"),
Var("dart_root") + "/tools/idl_parser":
Var("chromium_git") + "/chromium/src/tools/idl_parser.git" +
"@" + Var("idl_parser_rev"),
Var("dart_root") + "/third_party/WebCore":
Var("dart_git") + "webcore.git" + "@" + Var("WebCore_rev"),
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_tag"),
Var("dart_root") + "/third_party/pkg/async":
Var("dart_git") + "async.git" + "@" + Var("async_tag"),
Var("dart_root") + "/third_party/pkg/bazel_worker":
Var("dart_git") + "bazel_worker.git" + "@" + Var("bazel_worker_tag"),
Var("dart_root") + "/third_party/pkg/benchmark_harness":
Var("dart_git") + "benchmark_harness.git" + "@" +
Var("benchmark_harness_tag"),
Var("dart_root") + "/third_party/pkg/boolean_selector":
Var("dart_git") + "boolean_selector.git" +
"@" + Var("boolean_selector_tag"),
Var("dart_root") + "/third_party/pkg/charcode":
Var("dart_git") + "charcode.git" + "@" + Var("charcode_tag"),
Var("dart_root") + "/third_party/pkg/cli_util":
Var("dart_git") + "cli_util.git" + "@" + Var("cli_util_tag"),
Var("dart_root") + "/third_party/pkg/collection":
Var("dart_git") + "collection.git" + "@" + Var("collection_tag"),
Var("dart_root") + "/third_party/pkg/convert":
Var("dart_git") + "convert.git" + "@" + Var("convert_tag"),
Var("dart_root") + "/third_party/pkg/crypto":
Var("dart_git") + "crypto.git" + "@" + Var("crypto_tag"),
Var("dart_root") + "/third_party/pkg/csslib":
Var("dart_git") + "csslib.git" + "@" + Var("csslib_tag"),
Var("dart_root") + "/third_party/pkg_tested/dart_style":
Var("dart_git") + "dart_style.git" + "@" + Var("dart_style_tag"),
Var("dart_root") + "/third_party/pkg/dart2js_info":
Var("dart_git") + "dart2js_info.git" + "@" + Var("dart2js_info_tag"),
Var("dart_root") + "/third_party/pkg/dartdoc":
Var("dart_git") + "dartdoc.git" + "@" + Var("dartdoc_tag"),
Var("dart_root") + "/third_party/pkg/ffi":
Var("dart_git") + "ffi.git" + "@" + Var("ffi_tag"),
Var("dart_root") + "/third_party/pkg/fixnum":
Var("dart_git") + "fixnum.git" + "@" + Var("fixnum_tag"),
Var("dart_root") + "/third_party/pkg/glob":
Var("dart_git") + "glob.git" + "@" + Var("glob_tag"),
Var("dart_root") + "/third_party/pkg/html":
Var("dart_git") + "html.git" + "@" + Var("html_tag"),
Var("dart_root") + "/third_party/pkg/http":
Var("dart_git") + "http.git" + "@" + Var("http_tag"),
Var("dart_root") + "/third_party/pkg_tested/http_io":
Var("dart_git") + "http_io.git" + "@" + Var("http_io_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_tag"),
Var("dart_root") + "/third_party/pkg/http_retry":
Var("dart_git") + "http_retry.git" +
"@" + Var("http_retry_tag"),
Var("dart_root") + "/third_party/pkg/http_throttle":
Var("dart_git") + "http_throttle.git" +
"@" + Var("http_throttle_tag"),
Var("dart_root") + "/third_party/pkg/intl":
Var("dart_git") + "intl.git" + "@" + Var("intl_tag"),
Var("dart_root") + "/third_party/pkg/json_rpc_2":
Var("dart_git") + "json_rpc_2.git" + "@" + Var("json_rpc_2_tag"),
Var("dart_root") + "/third_party/pkg/linter":
Var("dart_git") + "linter.git" + "@" + Var("linter_tag"),
Var("dart_root") + "/third_party/pkg/logging":
Var("dart_git") + "logging.git" + "@" + Var("logging_tag"),
Var("dart_root") + "/third_party/pkg/markdown":
Var("dart_git") + "markdown.git" + "@" + Var("markdown_tag"),
Var("dart_root") + "/third_party/pkg/matcher":
Var("dart_git") + "matcher.git" + "@" + Var("matcher_tag"),
Var("dart_root") + "/third_party/pkg/mime":
Var("dart_git") + "mime.git" + "@" + Var("mime_tag"),
Var("dart_root") + "/third_party/pkg/mockito":
Var("dart_git") + "mockito.git" + "@" + Var("mockito_tag"),
Var("dart_root") + "/third_party/pkg/mustache":
Var("dart_git")
+ "external/github.com/xxgreg/mustache"
+ "@" + Var("mustache_tag"),
Var("dart_root") + "/third_party/pkg/oauth2":
Var("dart_git") + "oauth2.git" + "@" + Var("oauth2_tag"),
Var("dart_root") + "/third_party/pkg_tested/package_config":
Var("dart_git") + "package_config.git" +
"@" + Var("package_config_tag"),
Var("dart_root") + "/third_party/pkg/path":
Var("dart_git") + "path.git" + "@" + Var("path_tag"),
Var("dart_root") + "/third_party/pkg/pedantic":
Var("dart_git") + "pedantic.git" + "@" + Var("pedantic_tag"),
Var("dart_root") + "/third_party/pkg/pool":
Var("dart_git") + "pool.git" + "@" + Var("pool_tag"),
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_tag"),
Var("dart_root") + "/third_party/pkg/pub":
Var("dart_git") + "pub.git" + "@" + Var("pub_rev"),
Var("dart_root") + "/third_party/pkg/quiver":
Var("chromium_git")
+ "/external/github.com/google/quiver-dart.git"
+ "@" + Var("quiver-dart_tag"),
Var("dart_root") + "/third_party/pkg/resource":
Var("dart_git") + "resource.git" + "@" + Var("resource_rev"),
Var("dart_root") + "/third_party/pkg/shelf":
Var("dart_git") + "shelf.git" + "@" + Var("shelf_tag"),
Var("dart_root") + "/third_party/pkg/shelf_packages_handler":
Var("dart_git") + "shelf_packages_handler.git"
+ "@" + Var("shelf_packages_handler_tag"),
Var("dart_root") + "/third_party/pkg/shelf_proxy":
Var("dart_git") + "shelf_proxy.git" + "@" + Var("shelf_proxy_tag"),
Var("dart_root") + "/third_party/pkg/shelf_static":
Var("dart_git") + "shelf_static.git" + "@" + Var("shelf_static_rev"),
Var("dart_root") + "/third_party/pkg/shelf_web_socket":
Var("dart_git") + "shelf_web_socket.git" +
"@" + Var("shelf_web_socket_tag"),
Var("dart_root") + "/third_party/pkg/source_maps":
Var("dart_git") + "source_maps.git" + "@" + Var("source_maps_tag"),
Var("dart_root") + "/third_party/pkg/source_span":
Var("dart_git") + "source_span.git" + "@" + Var("source_span_tag"),
Var("dart_root") + "/third_party/pkg/source_map_stack_trace":
Var("dart_git") + "source_map_stack_trace.git" +
"@" + Var("source_map_stack_trace_tag"),
Var("dart_root") + "/third_party/pkg/stack_trace":
Var("dart_git") + "stack_trace.git" + "@" + Var("stack_trace_tag"),
Var("dart_root") + "/third_party/pkg/stagehand":
Var("dart_git") + "stagehand.git" + "@" + Var("stagehand_tag"),
Var("dart_root") + "/third_party/pkg/stream_channel":
Var("dart_git") + "stream_channel.git" +
"@" + Var("stream_channel_tag"),
Var("dart_root") + "/third_party/pkg/string_scanner":
Var("dart_git") + "string_scanner.git" +
"@" + Var("string_scanner_tag"),
Var("dart_root") + "/third_party/pkg/term_glyph":
Var("dart_git") + "term_glyph.git" + "@" + Var("term_glyph_tag"),
Var("dart_root") + "/third_party/pkg/test":
Var("dart_git") + "test.git" + "@" + Var("test_tag"),
Var("dart_root") + "/third_party/pkg/tflite_native":
Var("dart_git") + "tflite_native.git" + "@" + Var("tflite_native_rev"),
Var("dart_root") + "/third_party/pkg/test_descriptor":
Var("dart_git") + "test_descriptor.git" + "@" + Var("test_descriptor_tag"),
Var("dart_root") + "/third_party/pkg/test_process":
Var("dart_git") + "test_process.git" + "@" + Var("test_process_tag"),
Var("dart_root") + "/third_party/pkg/test_reflective_loader":
Var("dart_git") + "test_reflective_loader.git" +
"@" + Var("test_reflective_loader_tag"),
Var("dart_root") + "/third_party/pkg/typed_data":
Var("dart_git") + "typed_data.git" + "@" + Var("typed_data_tag"),
Var("dart_root") + "/third_party/pkg/usage":
Var("dart_git") + "usage.git" + "@" + Var("usage_tag"),
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/web_socket_channel":
Var("dart_git") + "web_socket_channel.git" +
"@" + Var("web_socket_channel_tag"),
Var("dart_root") + "/third_party/pkg/yaml":
Var("dart_git") + "yaml.git" + "@" + Var("yaml_tag"),
Var("dart_root") + "/buildtools/" + Var("host_os") + "-" + Var("host_cpu") + "/clang": {
"packages": [
{
"package": "fuchsia/third_party/clang/${{platform}}",
"version": "git_revision:" + Var("clang_revision"),
},
],
"condition": "(host_os == 'linux' or host_os == 'mac') and (host_cpu == 'x64' or host_cpu == 'arm64')",
"dep_type": "cipd",
},
Var("dart_root") + "/pkg/analysis_server/language_model": {
"packages": [
{
"package": "dart/language_model",
"version": "lIRt14qoA1Cocb8j3yw_Fx5cfYou2ddam6ArBm4AI6QC",
}
],
"dep_type": "cipd",
},
Var("dart_root") + "/buildtools": {
"packages": [
{
"package": "gn/gn/${{platform}}",
"version": "git_revision:" + Var("gn_revision"),
},
],
"dep_type": "cipd",
},
Var("dart_root") + "/buildtools/" + Var("host_os") + "-" + Var("host_cpu") + "/rust": {
"packages": [
{
"package": "fuchsia/rust/${{platform}}",
"version": "git_revision:" + Var("rust_revision"),
},
],
"condition": "(host_os == 'linux' or host_os == 'mac') 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",
},
Var("dart_root") + "/pkg/front_end/testcases/old_dills/dills": {
"packages": [
{
"package": "dart/cfe/dart2js_dills",
"version": "binary_version:42",
}
],
"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/dart/native/out/": {
"packages": [
{
"package": "dart/benchmarks/ffiboringssl",
"version": "commit:a86c69888b9a416f5249aacb4690a765be064969",
},
],
"dep_type": "cipd",
},
Var("dart_root") + "/benchmarks/FfiCall/dart/native/out/": {
"packages": [
{
"package": "dart/benchmarks/fficall",
"version": "version:1",
},
],
"dep_type": "cipd",
},
Var("dart_root") + "/third_party/llvm": {
"packages": [
{
"package": "fuchsia/lib/llvm/${{platform}}",
"version": "git_revision:" + Var("llvm_revision"),
},
],
"condition": "checkout_llvm",
"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"),
}
}
# TODO(iposva): Move the necessary tools so that hooks can be run
# without the runtime being available.
hooks = [
{
"name": "firefox_jsshell",
"pattern": ".",
"action": [
"download_from_google_storage",
"--no_auth",
"--no_resume",
"--bucket",
"dart-dependencies",
"--recursive",
"--auto_platform",
"--extract",
"--directory",
Var('dart_root') + "/third_party/firefox_jsshell",
],
},
{
# Pull Debian wheezy sysroot for i386 Linux
'name': 'sysroot_i386',
'pattern': '.',
'action': ['python', 'sdk/build/linux/sysroot_scripts/install-sysroot.py',
'--arch', 'i386'],
},
{
# Pull Debian wheezy sysroot for amd64 Linux
'name': 'sysroot_amd64',
'pattern': '.',
'action': ['python', 'sdk/build/linux/sysroot_scripts/install-sysroot.py',
'--arch', 'amd64'],
},
{
# Pull Debian wheezy sysroot for arm Linux
'name': 'sysroot_amd64',
'pattern': '.',
'action': ['python', 'sdk/build/linux/sysroot_scripts/install-sysroot.py',
'--arch', 'arm'],
},
{
# Pull Debian jessie sysroot for arm64 Linux
'name': 'sysroot_amd64',
'pattern': '.',
'action': ['python', 'sdk/build/linux/sysroot_scripts/install-sysroot.py',
'--arch', 'arm64'],
},
{
'name': 'download_android_tools',
'pattern': '.',
'action': ['python', 'sdk/tools/android/download_android_tools.py'],
},
{
'name': 'buildtools',
'pattern': '.',
'action': ['python', 'sdk/tools/buildtools/update.py'],
},
{
# Update the Windows toolchain if necessary.
'name': 'win_toolchain',
'pattern': '.',
'action': ['python', 'sdk/build/vs_toolchain.py', 'update'],
},
{
# Download dill files for all supported ABI versions, if necessary.
'name': 'abiversions',
'pattern': '.',
'action': ['python', 'sdk/tools/download_abi_dills.py'],
},
]
hooks_os = {
"win": [
{
"name": "7zip",
"pattern": ".",
"action": [
"download_from_google_storage",
"--no_auth",
"--no_resume",
"--bucket",
"dart-dependencies",
"--platform=win32",
"--extract",
"-s",
Var('dart_root') + "/third_party/7zip.tar.gz.sha1",
],
},
]
}