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

Side by Side Diff: site/try/src/compiler_isolate.dart

Issue 1284593003: Remove dart2jslib.dart (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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 unified diff | Download patch
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 compiler_isolate; 5 library compiler_isolate;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:html'; 8 import 'dart:html';
9 import 'dart:isolate'; 9 import 'dart:isolate';
10 import 'dart:convert' show JSON; 10 import 'dart:convert' show JSON;
11 11
12 import 'compilation.dart' show PRIVATE_SCHEME; 12 import 'compilation.dart' show PRIVATE_SCHEME;
13 13
14 import 'package:compiler/compiler.dart' as compiler; 14 import 'package:compiler/compiler.dart' as compiler;
15 15
16 import 'package:compiler/src/old_to_new_api.dart' show 16 import 'package:compiler/src/old_to_new_api.dart' show
17 LegacyCompilerDiagnostics, LegacyCompilerInput; 17 LegacyCompilerDiagnostics, LegacyCompilerInput;
18 18
19 import 'package:dart2js_incremental/dart2js_incremental.dart' show 19 import 'package:dart2js_incremental/dart2js_incremental.dart' show
20 reuseCompiler, OutputProvider; 20 reuseCompiler, OutputProvider;
21 21
22 import 'package:compiler/src/dart2jslib.dart' show 22 import 'package:compiler/src/compiler.dart' show
23 Compiler; 23 Compiler;
24 24
25 const bool THROW_ON_ERROR = false; 25 const bool THROW_ON_ERROR = false;
26 26
27 final cachedSources = new Map<Uri, Future<String>>(); 27 final cachedSources = new Map<Uri, Future<String>>();
28 28
29 Uri sdkLocation; 29 Uri sdkLocation;
30 List options = []; 30 List options = [];
31 31
32 var communicateViaBlobs; 32 var communicateViaBlobs;
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 port.send(replyTo.sendPort); 171 port.send(replyTo.sendPort);
172 replyTo.listen((message) { 172 replyTo.listen((message) {
173 try { 173 try {
174 List list = message as List; 174 List list = message as List;
175 compile(list[0], list[1]); 175 compile(list[0], list[1]);
176 } catch (exception, stack) { 176 } catch (exception, stack) {
177 port.send('$exception\n$stack'); 177 port.send('$exception\n$stack');
178 } 178 }
179 }); 179 });
180 } 180 }
OLDNEW
« no previous file with comments | « site/try/poi/scope_information_visitor.dart ('k') | tests/compiler/dart2js/analyze_unused_dart2js_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698