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

Side by Side Diff: tests/compiler/dart2js/memory_compiler.dart

Issue 694353007: Move dart2js from sdk/lib/_internal/compiler to pkg/compiler (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library dart2js.test.memory_compiler; 5 library dart2js.test.memory_compiler;
6 6
7 import 'memory_source_file_helper.dart'; 7 import 'memory_source_file_helper.dart';
8 8
9 import 'package:compiler/implementation/dart2jslib.dart' 9 import 'package:compiler/src/dart2jslib.dart'
10 show NullSink; 10 show NullSink;
11 11
12 import 'package:compiler/compiler.dart' 12 import 'package:compiler/compiler.dart'
13 show Diagnostic, DiagnosticHandler, CompilerOutputProvider; 13 show Diagnostic, DiagnosticHandler, CompilerOutputProvider;
14 14
15 import 'dart:async'; 15 import 'dart:async';
16 16
17 import 'package:compiler/implementation/mirrors/source_mirrors.dart'; 17 import 'package:compiler/src/mirrors/source_mirrors.dart';
18 import 'package:compiler/implementation/mirrors/analyze.dart'; 18 import 'package:compiler/src/mirrors/analyze.dart';
19 19
20 class DiagnosticMessage { 20 class DiagnosticMessage {
21 final Uri uri; 21 final Uri uri;
22 final int begin; 22 final int begin;
23 final int end; 23 final int end;
24 final String message; 24 final String message;
25 final Diagnostic kind; 25 final Diagnostic kind;
26 26
27 DiagnosticMessage(this.uri, this.begin, this.end, this.message, this.kind); 27 DiagnosticMessage(this.uri, this.begin, this.end, this.message, this.kind);
28 28
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 createDiagnosticHandler(diagnosticHandler, provider, showDiagnostics); 242 createDiagnosticHandler(diagnosticHandler, provider, showDiagnostics);
243 243
244 List<Uri> libraries = <Uri>[]; 244 List<Uri> libraries = <Uri>[];
245 memorySourceFiles.forEach((String path, _) { 245 memorySourceFiles.forEach((String path, _) {
246 libraries.add(new Uri(scheme: 'memory', path: path)); 246 libraries.add(new Uri(scheme: 'memory', path: path));
247 }); 247 });
248 248
249 return analyze(libraries, libraryRoot, packageRoot, 249 return analyze(libraries, libraryRoot, packageRoot,
250 provider, handler, options); 250 provider, handler, options);
251 } 251 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js/members_test.dart ('k') | tests/compiler/dart2js/memory_source_file_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698