Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(591)

Unified Diff: pkg/compiler/tool/generate_kernel.dart

Issue 2849183002: Revert "Add support for building patched_sdk and platform.dill for dart2js:" (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/compiler/lib/src/kernel/fasta_support.dart ('k') | pkg/front_end/lib/src/fasta/fasta.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/tool/generate_kernel.dart
diff --git a/pkg/compiler/tool/generate_kernel.dart b/pkg/compiler/tool/generate_kernel.dart
deleted file mode 100644
index c6a24b0a0db44869afb876b88e80a77181e67273..0000000000000000000000000000000000000000
--- a/pkg/compiler/tool/generate_kernel.dart
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright (c) 2017, 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.
-
-/// Helper to run fasta with the right target configuration to build dart2js
-/// applications using the dart2js platform libraries.
-// TODO(sigmund): delete this file once we can configure fasta directly on the
-// command line.
-library compiler.tool.generate_kernel;
-
-import 'dart:io' show exitCode;
-
-import 'package:front_end/src/fasta/compiler_command_line.dart'
- show CompilerCommandLine;
-import 'package:front_end/src/fasta/compiler_context.dart' show CompilerContext;
-import 'package:front_end/src/fasta/errors.dart' show InputError;
-import 'package:front_end/src/fasta/ticker.dart' show Ticker;
-import 'package:compiler/src/kernel/fasta_support.dart' show Dart2jsCompileTask;
-
-main(List<String> arguments) async {
- try {
- await CompilerCommandLine.withGlobalOptions("generate_kernel", arguments,
- (CompilerContext c) async {
- if (c.options.verbose) {
- print("Compiling directly to Kernel: ${arguments.join(' ')}");
- }
- var task =
- new Dart2jsCompileTask(c, new Ticker(isVerbose: c.options.verbose));
- await task.compile();
- });
- } on InputError catch (e) {
- exitCode = 1;
- print(e.format());
- return null;
- }
-}
« no previous file with comments | « pkg/compiler/lib/src/kernel/fasta_support.dart ('k') | pkg/front_end/lib/src/fasta/fasta.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698