dart-sdk/sdk
Nate Bosch 2ff2af7921 Allow running pub with --preview-dart-2
- Make a snapshot in Dart 2 mode
- Check for the VM argument `--preview-dart-2` and run the correct
  snapshot

Towards fixing https://github.com/dart-lang/sdk/issues/32188

Change-Id: I56d5e7f268ff40b80783fae571981705536280f2
Reviewed-on: https://dart-review.googlesource.com/54743
Commit-Queue: Nate Bosch <nbosch@google.com>
Reviewed-by: Keerti Parthasarathy <keertip@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
2018-05-18 20:27:29 +00:00
..
bin Allow running pub with --preview-dart-2 2018-05-18 20:27:29 +00:00
lib [dart:io] Adds X509Certificate.der and X509Certificate.pem 2018-05-17 16:20:06 +00:00
api_readme.md API doc updates 2018-02-28 01:23:46 +00:00
BUILD.gn Allow running pub with --preview-dart-2 2018-05-18 20:27:29 +00:00
copy_tree.gni [GN] Uses dart_action.gni instead of compiled_action.gni. 2018-05-03 21:07:13 +00:00