Commit graph

6533 commits

Author SHA1 Message Date
Karl Klose 5731599713 [infra] Fix bug in firestore library
Change-Id: Ic209ecd3ec52380a9dd1f214be3b854a64e03d9a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/171283
Auto-Submit: Karl Klose <karlklose@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
2020-11-10 15:29:46 +00:00
William Hesse d09c73d7fb [infra] Remove test/kernel directory from testing scripts and infra scripts
The directory was deleted in an earlier change.

Change-Id: Ib6191c5624c7db2462c67a62d4221eacb034eec9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/171280
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2020-11-10 11:48:14 +00:00
Jonas Termansen 7e8e2222cd [benchmark] Build dart2js platforms in try_benchmarks.
This change synchronizes the try_benchmarks script with the commands
currently used to build for benchmarking and adds a test that the
IsolateSpawn benchmark continues to work.

Change-Id: I37066fb8a246e0003bdccd7c4dbb5b84060b30f6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/170982
Reviewed-by: Martin Kustermann <kustermann@google.com>
2020-11-09 20:01:49 +00:00
Sigurd Meldgaard 9d132ebba9 Bump pub
New commits:

git log --format="%C(auto) %h %s" 900e796a37fd9f68de9dd183cf4798fe5f055eaa..4ca4767a6c00b2dadecdaee9a4866dae40ef25f2
 4ca4767a Added a dart pub outdated --transitive option (#2731)
 6b145bd6 Deprecate --server argument to `pub publish` and `pub uploader`. (#2697)
 7737023a don't warn if previous prerelease was null safe (#2730)
 62f92838 Improve outdated --mode=null-safety (#2724)
 cc589ec3 Change message for no Latest resolution (#2729)
 656803e9 Require sdk constraint (#2718)
 8309d877 Added test that dev_dependency does not trigger null-safety warnings when publishing (#2727)
 332ea049 Remove warning about mixed mode. (#2723)
 a98a1f23 Simplify null-safety analysis in `pub outdated --mode=null-safety` (#2721)
 5fba2015 Outdated null safety implies prereleases (#2722)
 fb9ec4af Fixed bug in yaml_edit (#2703)

Change-Id: I22a084aee06542e04a272269fb0134f0ac62f779
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/170690
Commit-Queue: Sigurd Meldgaard <sigurdm@google.com>
Reviewed-by: Michael Thomsen <mit@google.com>
Reviewed-by: Jonas Jensen <jonasfj@google.com>
2020-11-06 15:36:02 +00:00
Alexander Thomas 4c7740ab07 [infra] Copy environment to ensure debian-package can find ninja
The copy was accidentally removed when removing bot.py.

TEST=BUILDBOT_BUILDERNAME="debianpackage-linux-be" ./tools/run_debian_build.sh

Change-Id: I9264824246a96a83f171602571d2073243776d64
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/170686
Reviewed-by: William Hesse <whesse@google.com>
2020-11-06 10:27:26 +00:00
Alexander Thomas cc853ee3e3 [infra] Add missing import to linux_distribution_support.py
TBR=whesse@google.com

Change-Id: I00dfdc3257be8bd2ca9b39e957c427e842c98cd0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/170683
Reviewed-by: Alexander Thomas <athom@google.com>
2020-11-06 08:52:39 +00:00
Alexander Thomas 57864a88a6 [infra] Fix another undeclared variable in debian-package scripts
TBR=whesse@google.com

Change-Id: Ibb4bcbb85c22ec348cb4a94f8408defe1eefa8b5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/170682
Reviewed-by: Alexander Thomas <athom@google.com>
2020-11-06 08:44:31 +00:00
Alexander Thomas 63b097ece0 [infra] Fix wrong variable name that broke the debian-package builder
TBR=whesse@google.com

Change-Id: Idc89bfb190e51a43ea09044476d9fbdf0562802d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/170681
Reviewed-by: Alexander Thomas <athom@google.com>
2020-11-06 08:03:43 +00:00
Alexander Thomas bbe16d5dfe [infra] Remove dead code in tools
* Remove bot.py and all it's uses.
* Remove unused buildbot pre-recipe framework recipes.
* Remove abiversions folder.
* Remove old browsers folder.

Change-Id: Iebd0a374c5bd1f17fed9d1fa9dbf750639242312
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/170432
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
2020-11-06 07:29:12 +00:00
Daco Harkes d9d0cc61c4 [vm] Remove old flutter_engine patches
Dart has rolled beyond these Dart SDK hashes in flutter/engine/DEPS.

Change-Id: Ib7dc7b7f746b8485348cef09d30f67bf3b965bac
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/170426
Auto-Submit: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Clement Skau <cskau@google.com>
Commit-Queue: Clement Skau <cskau@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
2020-11-05 11:34:13 +00:00
Alexander Thomas 44f3881be6 [infra] Update checked-in SDKs to 2.12.0-0.0.dev
This is the first checked-in SDK with null-safety enabled by default.

Change-Id: I8f6fcdfd8856483f4737eb200ed4623a244cb0cd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/170085
Reviewed-by: Leaf Petersen <leafp@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
2020-11-05 07:53:22 +00:00
Daco Harkes 5278383736 [vm] Native API: Make Dart_NewWeakPersistentHandle not auto delete
Changes Dart_NewWeakPersistentHandle to no longer auto delete the
weak persistent handle.

Changes the signatures of WeakPersistentHandleFinalizers to no longer
have access to the handle.

Flutter PR: https://github.com/flutter/engine/pull/19843
g3 presubmit: cl/318028238

Issue: https://github.com/dart-lang/sdk/issues/42312

TEST=runtime/vm/dart_api_impl_test.cc

Change-Id: I3f77db9954d9486759f903b78c03a494f73c68ba
Cq-Include-Trybots:dart/try:vm-ffi-android-debug-arm-try,vm-ffi-android-debug-arm64-try,app-kernel-linux-debug-x64-try,vm-kernel-linux-debug-ia32-try,vm-kernel-win-debug-x64-try,vm-kernel-win-debug-ia32-try,vm-kernel-precomp-linux-debug-x64-try,vm-kernel-precomp-android-release-arm64-try,vm-kernel-asan-linux-release-x64-try,vm-kernel-msan-linux-release-x64-try,vm-kernel-precomp-msan-linux-release-x64-try,vm-kernel-linux-release-simarm-try,vm-kernel-linux-release-simarm64-try,vm-kernel-precomp-android-release-arm_x64-try,vm-kernel-precomp-obfuscate-linux-release-x64-try,dart-sdk-linux-try,analyzer-analysis-server-linux-try,analyzer-linux-release-try,front-end-linux-release-x64-try,vm-kernel-precomp-win-release-x64-try,vm-kernel-mac-debug-x64-try,vm-precomp-ffi-qemu-linux-release-arm-try,vm-kernel-nnbd-linux-debug-x64-try,analyzer-nnbd-linux-release-try,front-end-nnbd-linux-release-x64-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/151525
Commit-Queue: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2020-11-03 10:27:44 +00:00
William Hesse 979c10c5b5 [infra] Rename test.py option to --cleanup-dart-processes
The option is changed from --cleanup_dart_processes to
--cleanup-dart-processes.

Change-Id: I3f9aefea81ac4ea040741d0850a851688f69e1a2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/170084
Reviewed-by: Alexander Thomas <athom@google.com>
2020-11-02 15:22:55 +00:00
Alexander Markov 4054a9edf4 [Test tool] Remove -c dartkb configuration
Change-Id: I178f18484b853aa35248fa9f6252509ec0df6832
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/169500
Auto-Submit: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2020-11-02 14:06:19 +00:00
William Hesse 5b159f0970 [infra] Add --cleanup_dart_processes to test.py
This is needed for Windows test shards on swarming builders,
    where the task_kill step at the end of the recipe is not sufficient
    to clean up abandoned Dart processes on a single shard task.

BUG=https://github.com/dart-lang/sdk/issues/32138
Change-Id: Id48f29f46350b5496c7427ca043dc5f2445fae37
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/170082
Reviewed-by: Karl Klose <karlklose@google.com>
2020-11-02 13:24:09 +00:00
Devon Carew 9ca05a4092 Fail the flutter/engine bot on analysis info items.
Change-Id: Id82ec041a924ad6f859859fafa90570ed14b69d2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/169787
Reviewed-by: Alexander Aprelev <aam@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>
2020-10-29 23:39:59 +00:00
Paul Berry 0b0454f9e2 Migration: don't add experiment flag to analysis_options.yaml anymore.
Now that the flag is on by default, we no longer need to supply it
when migrating.

Bug: https://github.com/dart-lang/sdk/issues/43806
Change-Id: Ib2e4ae6cb0573cd2e28d61634c63a424aebfc60d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/169145
Commit-Queue: Paul Berry <paulberry@google.com>
Reviewed-by: Samuel Rawlins <srawlins@google.com>
2020-10-29 20:05:10 +00:00
Paul Berry 53c31dbe22 Update migration tool to set pubspec/package_config appropriately for beta.
In the beta release, we plan to recommend that people set their
pubspec SDK constraints to `>=2.12.0-0 <2.12.0`, so this change
updates the migration tool to have that behavior.

In the second beta release we'll change switch the upper bound to
`<3.0.0`.

Change-Id: Ib90e893bebaebea968b19e7de663cbbbca570f84
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/169143
Reviewed-by: Samuel Rawlins <srawlins@google.com>
2020-10-29 20:05:10 +00:00
Leaf Petersen a6faf8f2f9 [Language] Enable null safety in Dart 2.12.
Closes https://github.com/dart-lang/sdk/issues/22

Change-Id: I662dd17fda0ff62a871314896fbf1dbe220f41de
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/166790
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Leaf Petersen <leafp@google.com>
2020-10-29 18:25:56 +00:00
Alexander Thomas e38d42fc7d [android] Switch to Flutter Android tooling
Flutter uses CIPD packages that are more reliable.

Change-Id: Ic47b2fd9805709a3175376270df0fe52b82f16ad
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/169341
Commit-Queue: Alexander Thomas <athom@google.com>
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2020-10-28 16:25:05 +00:00
Robert Nystrom 7d764a6b3a Get the observatory tests correctly opting out of sound null safety.
Fix #43881.

Change-Id: Iebb3ac501f09a4eb6220d5232ff71514938f7e10
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/169255
Auto-Submit: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Leaf Petersen <leafp@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
2020-10-28 05:17:17 +00:00
Nicholas Shahan 1869a54132 [ddc] Update ddb to run with ddc/legacy modules in d8
- Fixes broken benchmarks in ddc because the benchmarks run in
  d8 with the ddc module system can handle conflicting library
  names more gracefully than es6.

- In the future we need to update the source of truth for
  dart_library.js so we can keep the file in sync.

- Removes the ability for ddb to run with any precompiled sdk.js
  from a dart installation. Now you must run a build first and
  the sdk.js files from that build will be used. This means the
  `--debug` flag no longer changes which sdk.js files are used.

Change-Id: Icaf78956f93ff643d23e68001354ec08c9c28b12
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/166926
Reviewed-by: Mark Zhou <markzipan@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
2020-10-24 00:14:42 +00:00
Alexander Markov d014a0f59b Remove bytecode mode of Dart SDK build
This change cleans up build.py --bytecode and gn.py --bytecode options.

Change-Id: Ie251e7049ce3f8f9da28d35eda139b60ee23af98
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/167842
Reviewed-by: Régis Crelier <regis@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2020-10-21 22:43:14 +00:00
Janice Collins 77be14d718 Update dartdoc to 0.36.0 and remove unnecessary extra parameter to
invocation on the bots.

Release notes: https://github.com/dart-lang/dartdoc/releases/tag/v0.36.0

Change-Id: Ie15dfd538ee54b17b04c7d556fc61deddab463f6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/168600
Commit-Queue: Janice Collins <jcollins@google.com>
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2020-10-21 19:11:14 +00:00
Jens Johansen 29fa4e8148 [CFE et al] Compile flutter platform as agnostic for test; set component mode more
Bug: dartbug.com/43844 dartbug.com/43807
Change-Id: Iba662f0955897244aaac86ceace73b213fa06319
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/168482
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Jens Johansen <jensj@google.com>
2020-10-21 10:04:41 +00:00
Erik Ernst 67c703063d Update Dart.g to match language specification
This CL updates the spec_parser grammar Dart.g such that it corresponds
more precisely to the grammar in the language specification.

Main corrections:
  fieldFormalParameter now allows `?` on the parameter type.
  cascade was reorganized in the spec, Dart.g now reorganized similarly.
  `?` removed from argumentPart (we did not add null-aware invocation)

Other changes were mainly renamings and simplifications of rules, to
make them more similar to the version in the specification.

Change-Id: I1a9bc0097fe6b260dfa6657c947840f2deb437b3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/167805
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Commit-Queue: Erik Ernst <eernst@google.com>
2020-10-19 16:01:17 +00:00
Daco Harkes 20f37e3e33 [tools] Make generate_idefiles ignore most Dart files
Make tools/generate_idefiles.py generate analysis_options.yaml which
ignores most Dart files while we are in a state in which we pass a flag
to the analyzer on whether it should analyze in NNBD mode or not.

Both passing the flag and not passing the flag currently results in
10000s errors in the SDK on the files which should be analyzed the other
way.

This CL changes generate_idefiles.py to exclude many folders, after
which the user can manually uncomment some of the lines in
analysis_options.yaml that correspond the current dartanalyzer flag
setting.

Change-Id: I6c05251691ee1cae12ab3a98fbaf1e6a97b37475
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/168344
Commit-Queue: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Tess Strickland <sstrickl@google.com>
2020-10-19 14:01:57 +00:00
Robert Nystrom 9d570fe9cf Add tools/package_deps to package config generator and regenerate.
Change-Id: Ia84bba1fcbd1b04e557b3fd851f16b812e7170b3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/167905
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Auto-Submit: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
2020-10-17 02:10:14 +00:00
Leaf Petersen 839db1cc44 Add script to opt files out of null safety.
Change-Id: Ica0f04cba9277c018e9f138fedcb51f72aa471cf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/168131
Reviewed-by: Bob Nystrom <rnystrom@google.com>
2020-10-17 01:28:53 +00:00
Alexander Markov d966612cc3 Remove remaining bytecode benchmarks
Change-Id: I7baca41921a2f657dc658b9c3585832109b74a1e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/167880
Reviewed-by: Régis Crelier <regis@google.com>
Reviewed-by: Jonas Termansen <sortie@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2020-10-16 20:21:32 +00:00
Alexander Thomas 7309343e5c [infra] Checkout Flutter buildroot in flutter-frontend as well
Fixes https://github.com/dart-lang/sdk/issues/43807

Change-Id: Idacc71c2c165af768274e4f40ce61b78c2d46ba0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/167806
Reviewed-by: Jonas Termansen <sortie@google.com>
2020-10-16 12:18:25 +00:00
Alexander Thomas 342f9f0d3c [infra] Run co19_2 tests on vm-kernel-win-release-x64
This will provide a baseline to compare co19 tests against on Windows.

Cq-Include-Trybots: luci.dart.try:vm-kernel-win-release-x64-try
Change-Id: I543f9b5d44845e3596312b1b6858697f1fc9dfc2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/167571
Reviewed-by: William Hesse <whesse@google.com>
2020-10-15 06:56:08 +00:00
Stephen Adams d5e790b2b1 [dart2js] Add golden function codegen tests
As with other 'id_equivalence' tests, the information can be generated
via the '-g' flag.

Bug: 43778
Change-Id: I316d539f7575e349dc55ecb564de7b65f0f21575
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/167480
Commit-Queue: Stephen Adams <sra@google.com>
Reviewed-by: Joshua Litt <joshualitt@google.com>
2020-10-14 22:32:38 +00:00
Ryan Macnak 37ed87b038 [vm, service, observatory] Bang Bang (My Type System Shot Me Down).
Port the service tests and Observatory to Dart 3.

Change-Id: I8a8b20d8f90acd3b5f741c93f10ba99971aa0c52
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/154825
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
2020-10-14 18:16:27 +00:00
Robert Nystrom fde8cfbed1 Remove pkg/migration.
Now that the NNBD test migration is done, it's not needed. \o/

Change-Id: I0af1bacfd895299866150e7927831f466579bf26
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/167422
Auto-Submit: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Leaf Petersen <leafp@google.com>
Reviewed-by: Leaf Petersen <leafp@google.com>
2020-10-13 22:22:34 +00:00
Leaf Petersen e9c0b2a1c2 Update package_config.json
Change-Id: I807f8eb6daf148bd3c69f3bfd10a44bb1c6353b8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/166801
Commit-Queue: Nate Bosch <nbosch@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
Auto-Submit: Leaf Petersen <leafp@google.com>
2020-10-09 20:02:57 +00:00
Alexander Thomas ae7ff6c13a [build] Set mac_use_goma_rbe to true for goma builds on mac
Without this, local builds on macOS fail to use the Goma on RBE backend.

See also: https://dart-review.googlesource.com/c/sdk/+/139782

Change-Id: Ic1caba904bcb486c638aef9462bca3fda65d8a6a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/152147
Reviewed-by: Karl Klose <karlklose@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
2020-10-08 09:44:23 +00:00
Alexander Thomas bebfd106da [infra] Add analyzer NNBD macOS and Windows builders to the test matrix
https://github.com/dart-lang/sdk/issues/43463

Change-Id: Ibba0f6738714d2b2917613bcfc70f31c95527f1a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/166423
Reviewed-by: Karl Klose <karlklose@google.com>
2020-10-08 08:31:23 +00:00
Karl Klose 6aa5e78819 [infra] Do not print all test results in front-end unit tests
Change-Id: I0236a0587882ecfe4ad33b094e5d6dd26e08dad2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/166104
Reviewed-by: Jens Johansen <jensj@google.com>
Commit-Queue: Karl Klose <karlklose@google.com>
2020-10-06 12:06:54 +00:00
Tess Strickland 72cfc5c638 [vm] Clean up handling of payload-containing objects.
This CL adds a new PAYLOAD_SIZEOF specification to
runtime_offsets_list.h which defines InstanceSize methods given an
method name to invoke to get the header size (i.e., the size of
the object portion before the payload).

It uses this new specification to create appropriate InstanceSize()
methods for objects written to read-only sections of snapshots,
instead of needing separate size calculations for SIMARM_X64.

It adds more methods to Instructions to avoid special casing for bare
instructions mode. It also removes the special casing for SIMARM_X64,
serializing all read-only objects in the same manner even when not
in a crossword situation.

Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-linux-debug-x64-try,vm-kernel-precomp-linux-debug-simarm_x64-try,vm-kernel-precomp-mac-release-simarm64-try,vm-kernel-mac-debug-x64-try,vm-kernel-win-debug-x64-try,vm-kernel-win-debug-ia32-try,vm-kernel-precomp-win-release-x64-try
Change-Id: Ie3e4009f4bc03688998c32281e42fa22a255731d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/165501
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Tess Strickland <sstrickl@google.com>
2020-10-06 07:59:33 +00:00
Jonas Termansen 5f459d0228 [benchmark] Remove fasta_perf dependency on runtime/lib.
The pkg/front_end/tool/fasta_perf.dart benchmark used to require
runtime/lib in order to run but this directory is no longer required.
This change removes the check for whether it exists and then removes the
directory in SDK benchmark builds to avoid VM source code littering the
benchmark builds and blurring the distinction between build inputs and
build outputs.

Change-Id: Ibb02ce3bd6e4a65421c2bdd444ef0f78887fffa1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/164966
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2020-09-29 12:05:25 +00:00
Alexander Thomas c3d37c1ad6 [infra] Add additional nnbd VM builders
See also Luci configuration here:
https://dart-review.googlesource.com/c/sdk/+/164084

https://github.com/dart-lang/sdk/issues/43463

Change-Id: I071c8c6055004574cbe35f14a28e0cd8c468988f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/164164
Reviewed-by: William Hesse <whesse@google.com>
2020-09-29 09:57:44 +00:00
Sigmund Cherem af0e54cc21 [html] mark a local variable as nullable
See issue https://github.com/dart-lang/sdk/issues/43293

This doesn't fix the underlying issue with custom elements, but fixes the
null-safety problem in strong mode.

Change-Id: Ie6613db7ae472b066bdf6c21751aea57a163c47d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/164641
Reviewed-by: Srujan Gaddam <srujzs@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
2020-09-25 21:34:54 +00:00
Sigmund Cherem c41b69ed77 [html] update templates for code accidentally changed in the generated code
These were updated in the dart:html output code in
https://dart-review.googlesource.com/c/sdk/+/163681

We may want to look into adding a presubmit that let us notify developers when a
change was made in one place but not the other (similar to how we used to check
for sdk and sdk_nnbd in the past).

Change-Id: I280315a5bb07971d0c0077498eb3c59944db0650
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/164640
Reviewed-by: Srujan Gaddam <srujzs@google.com>
2020-09-25 21:34:54 +00:00
Alexander Thomas c34eef4fd8 [testing] Simplify test.py arguments for null safety testing
test.py invocations that specify a null safety mode will now work
without tool specific options.

For instance, `test.py --nnbd=strong -cdartkp -mrelease` will now add
the `non-nullable` experiment flag as well as the pass
`--sound-null-safety` to the relevant subcommands.

Fixes https://github.com/dart-lang/sdk/issues/42370

Change-Id: I1ae5bf569cc77ed6f26411c171c2cafe0a12eaff
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/164160
Reviewed-by: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
2020-09-24 08:49:00 +00:00
Jacob MacDonald 6cb9c66f28 Reland "Update SDK version to 2.11"
This reverts commit e834f9cf6e.

Reason for revert: Flutter has updated package versions to those that allow 2.11

Original change's description:
> Revert "Update SDK version to 2.11"
>
> This reverts commit 45ffef71e8.
>
> Reason for revert: This breaks flutter hhh as packages that flutter depends on have upper bound of 2.10. This should be relanded after those packages have their upper bound raised.
>
> TBR=athom@google.com,johnniwinther@google.com,jakemac@google.com
>
> Original change's description:
> > Update SDK version to 2.11
> >
> > Change-Id: I9ffec7e098fd77dcc0cd48b70613d919bda45672
> > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/161342
> > Reviewed-by: Alexander Thomas <athom@google.com>
> > Reviewed-by: Jake Macdonald <jakemac@google.com>
> > Commit-Queue: Johnni Winther <johnniwinther@google.com>
>
> This breaks flutter hhh as packages that flutter depends on have upper bound of 2.10. This should be relanded after those packages have their upper bound raised.
>
> TBR=athom@google.com,johnniwinther@google.com,jakemac@google.com
>
> Change-Id: Ie00b8c77a16d863105517856118459e3e289d914
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/163704
> Commit-Queue: Alexander Aprelev <aam@google.com>
> Reviewed-by: Alexander Aprelev <aam@google.com>
> Reviewed-by: William Hesse <whesse@google.com>

TBR=whesse@google.com,aam@google.com,athom@google.com,johnniwinther@google.com,jakemac@google.com

Change-Id: Iec81adfb047b3f5387cdc817af3b08e6c086430a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/164241
Auto-Submit: Jake Macdonald <jakemac@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
Commit-Queue: Jake Macdonald <jakemac@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
2020-09-23 19:54:49 +00:00
Jonas Termansen e27ee99af3 [benchmark] Remove obsolete tools/dart2js/angular2_testing_deps.
Change-Id: Ibfd43cec3dc691f267491c7752bba3e9d41caa2d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/162005
Reviewed-by: Alexander Thomas <athom@google.com>
2020-09-23 18:07:08 +00:00
Alexander Thomas 2e9d36f679 [infra] Remove --bytecode from simarm_x64 builders
Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-linux-debug-simarm_x64-try,vm-kernel-precomp-linux-release-simarm_x64-try
Change-Id: I83360ff8abecb6a21180dc86458cc624c8d4f109
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/164091
Reviewed-by: Martin Kustermann <kustermann@google.com>
2020-09-23 14:25:43 +00:00
Alexander Thomas 6fa4ec9482 [infra] Remove obsolete AST test configurations
Change-Id: I35ed455d985b2f8fd278e708bd174ea2eb8861ab
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/164090
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: William Hesse <whesse@google.com>
2020-09-23 14:24:57 +00:00
Alexander Thomas 15dc3100cc [infra] Remove dartkb from the test matrix
The corresponding builders have already been removed.

Change-Id: Idf74d7ba728107418b60692f00fc2d2fda0f86d7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/164086
Auto-Submit: Alexander Thomas <athom@google.com>
Commit-Queue: William Hesse <whesse@google.com>
Reviewed-by: William Hesse <whesse@google.com>
2020-09-23 13:19:27 +00:00