01b28894e7
Closes https://github.com/dart-lang/sdk/pull/50861 GitOrigin-RevId: 71005e6f5bf5a151cb5c1aefb6a2a300fc40f592 Change-Id: Iadfafb5787a62e9a379437f6a3763d31f99ba7c6 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277743 Reviewed-by: Alexander Thomas <athom@google.com> Commit-Queue: Alexander Thomas <athom@google.com>
16 lines
542 B
Dart
16 lines
542 B
Dart
#!/usr/bin/env dart
|
|
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
/// Tool that consumes the .dill file of an entire dart-sdk and produces the
|
|
/// corresponding JavaScript module.
|
|
|
|
import 'dart:io';
|
|
import 'package:dev_compiler/src/kernel/command.dart';
|
|
|
|
void main(List<String> args) async {
|
|
var result = await compileSdkFromDill(args);
|
|
exitCode = result.exitCode;
|
|
}
|