55b34a467c
Enable reporting of null safety compilation mode when running `dart compile aot-snapshot`, `dart compile jit-snapshot`, and `dart compile kernel`. Closes #44234 TEST=pkg/dartdev/test/commands/compile_test.dart Change-Id: Id9e72751068d5f208055ab953d2c8392e84c4798 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/180187 Reviewed-by: Ben Konyi <bkonyi@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>