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

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

Issue 690103004: 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
« no previous file with comments | « site/try/poi/poi.dart ('k') | site/try/src/editor.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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:dart2js_incremental/dart2js_incremental.dart' show 16 import 'package:dart2js_incremental/dart2js_incremental.dart' show
17 reuseCompiler; 17 reuseCompiler;
18 18
19 import 'package:compiler/implementation/dart2jslib.dart' show 19 import 'package:compiler/src/dart2jslib.dart' show
20 Compiler; 20 Compiler;
21 21
22 const bool THROW_ON_ERROR = false; 22 const bool THROW_ON_ERROR = false;
23 23
24 final cachedSources = new Map<Uri, Future<String>>(); 24 final cachedSources = new Map<Uri, Future<String>>();
25 25
26 Uri sdkLocation; 26 Uri sdkLocation;
27 List options = []; 27 List options = [];
28 28
29 var communicateViaBlobs; 29 var communicateViaBlobs;
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 port.send(replyTo.sendPort); 166 port.send(replyTo.sendPort);
167 replyTo.listen((message) { 167 replyTo.listen((message) {
168 try { 168 try {
169 List list = message as List; 169 List list = message as List;
170 compile(list[0], list[1]); 170 compile(list[0], list[1]);
171 } catch (exception, stack) { 171 } catch (exception, stack) {
172 port.send('$exception\n$stack'); 172 port.send('$exception\n$stack');
173 } 173 }
174 }); 174 });
175 } 175 }
OLDNEW
« no previous file with comments | « site/try/poi/poi.dart ('k') | site/try/src/editor.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698