d19a405abb
We will be deprecating the dart2js script shipped with the sdk under dart-sdk/bin/. This change starts using 'dart compile js' when running dart2js in `useSdk` mode. For host-asserts, we continue to use a helper script that invokes dart2js from sources. We will continue to support this helper script, but it will become an internal only tool. It is a bit confusing that such script lives under sdk/bin/dart2js and sdk/bin/dart2js_developer. We may consider renaming this in a later CL or moving it to a new location (e.g. under tools). Change-Id: I4f426936f5e0e0a1a7854f4f555198d5ae382079 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/229060 Reviewed-by: Alexander Thomas <athom@google.com>