b326d00e96
We no longer build separate binaries for `dartanalyzer` and `dart2js`, so we need to do something different. For `dartanalyzer`, we just run the `dartanalyzer` script directly (because the features we need for testing aren't available directly from `dart analyze`). For `dart2js`, we run in the new way (`dart compile js`). Change-Id: I7e34052a9e6ad62596279ca32604e32291a45953 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/251842 Commit-Queue: Paul Berry <paulberry@google.com> Reviewed-by: Bob Nystrom <rnystrom@google.com>