0b38e4b189
Added the option 'js-dev' to the compile command to allow compilation of Dart sources using DDC. This ensures that tools will not be reaching into the internal implementation details of a Dart SDK to run DDC. TEST=unit tests added in compile_test.dart Change-Id: I3c670b43a989dfa60c75622fdbc1b7f99b399293 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/392202 Reviewed-by: Ben Konyi <bkonyi@google.com> Commit-Queue: Siva Annamalai <asiva@google.com>