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

Unified Diff: pkg/dart2js_incremental/lib/dart2js_incremental.dart

Issue 1235563003: Add interfaces for a new compiler API. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Rebased Created 5 years, 5 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/dart2js_incremental/lib/compiler.dart ('k') | pkg/docgen/lib/src/generator.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dart2js_incremental/lib/dart2js_incremental.dart
diff --git a/pkg/dart2js_incremental/lib/dart2js_incremental.dart b/pkg/dart2js_incremental/lib/dart2js_incremental.dart
index ee04336636b2edb464e8ec907a40f8707e725d65..4971ad6799bd0e2eb7c40057aea2c6e8f14b70ee 100644
--- a/pkg/dart2js_incremental/lib/dart2js_incremental.dart
+++ b/pkg/dart2js_incremental/lib/dart2js_incremental.dart
@@ -14,11 +14,11 @@ import 'dart:profiler' show
import 'package:compiler/src/apiimpl.dart' show
Compiler;
-import 'package:compiler/compiler.dart' show
- CompilerInputProvider,
- CompilerOutputProvider,
- Diagnostic,
- DiagnosticHandler;
+import 'package:compiler/compiler_new.dart' show
+ CompilerDiagnostics,
+ CompilerInput,
+ CompilerOutput,
+ Diagnostic;
import 'package:compiler/src/dart2jslib.dart' show
NullSink;
@@ -51,10 +51,10 @@ const List<String> INCREMENTAL_OPTIONS = const <String>[
class IncrementalCompiler {
final Uri libraryRoot;
final Uri packageRoot;
- final CompilerInputProvider inputProvider;
- final DiagnosticHandler diagnosticHandler;
+ final CompilerInput inputProvider;
+ final CompilerDiagnostics diagnosticHandler;
final List<String> options;
- final CompilerOutputProvider outputProvider;
+ final CompilerOutput outputProvider;
final Map<String, dynamic> environment;
final List<String> _updates = <String>[];
final IncrementalCompilerContext _context = new IncrementalCompilerContext();
« no previous file with comments | « pkg/dart2js_incremental/lib/compiler.dart ('k') | pkg/docgen/lib/src/generator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698