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

Side by Side Diff: sdk/lib/_internal/compiler/implementation/apiimpl.dart

Issue 11293062: CL2: Update paths to reflect new lib structure. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 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 | « no previous file | sdk/lib/_internal/compiler/implementation/dart2js.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) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 leg_apiimpl; 5 library leg_apiimpl;
6 6
7 import 'dart:uri'; 7 import 'dart:uri';
8 8
9 import '../compiler.dart' as api; 9 import '../compiler.dart' as api;
10 import 'dart2jslib.dart' as leg; 10 import 'dart2jslib.dart' as leg;
11 import 'tree/tree.dart' as tree; 11 import 'tree/tree.dart' as tree;
12 import 'elements/elements.dart' as elements; 12 import 'elements/elements.dart' as elements;
13 import 'ssa/tracer.dart' as ssa; 13 import 'ssa/tracer.dart' as ssa;
14 import '../../../lib/_internal/libraries.dart'; 14 import '../../libraries.dart';
15 import 'source_file.dart'; 15 import 'source_file.dart';
16 16
17 class Compiler extends leg.Compiler { 17 class Compiler extends leg.Compiler {
18 api.ReadStringFromUri provider; 18 api.ReadStringFromUri provider;
19 api.DiagnosticHandler handler; 19 api.DiagnosticHandler handler;
20 final Uri libraryRoot; 20 final Uri libraryRoot;
21 final Uri packageRoot; 21 final Uri packageRoot;
22 List<String> options; 22 List<String> options;
23 bool mockableLibraryUsed = false; 23 bool mockableLibraryUsed = false;
24 24
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 handler(translateUri(span.uri, null), span.begin, span.end, 161 handler(translateUri(span.uri, null), span.begin, span.end,
162 message, kind); 162 message, kind);
163 } 163 }
164 } 164 }
165 165
166 bool get isMockCompilation { 166 bool get isMockCompilation {
167 return mockableLibraryUsed 167 return mockableLibraryUsed
168 && (options.indexOf('--allow-mock-compilation') != -1); 168 && (options.indexOf('--allow-mock-compilation') != -1);
169 } 169 }
170 } 170 }
OLDNEW
« no previous file with comments | « no previous file | sdk/lib/_internal/compiler/implementation/dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698