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

Side by Side Diff: pkg/compiler/lib/src/kernel/kernel_strategy.dart

Issue 2988063002: Use dart2js_plaform.dill from the sdk. (Closed)
Patch Set: add comment about why --host-checked and --use-sdk is not supported Created 3 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
« no previous file with comments | « no previous file | pkg/compiler/lib/src/library_loader.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) 2017, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2017, 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.kernel.frontend_strategy; 5 library dart2js.kernel.frontend_strategy;
6 6
7 import '../../compiler_new.dart' as api; 7 import '../../compiler_new.dart' as api;
8 import '../common.dart'; 8 import '../common.dart';
9 import '../common_elements.dart'; 9 import '../common_elements.dart';
10 import '../common/backend_api.dart'; 10 import '../common/backend_api.dart';
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 ResolvedUriTranslator uriTranslator, 56 ResolvedUriTranslator uriTranslator,
57 ScriptLoader scriptLoader, 57 ScriptLoader scriptLoader,
58 api.CompilerInput compilerInput, 58 api.CompilerInput compilerInput,
59 ElementScanner scriptScanner, 59 ElementScanner scriptScanner,
60 LibraryDeserializer deserializer, 60 LibraryDeserializer deserializer,
61 PatchResolverFunction patchResolverFunc, 61 PatchResolverFunction patchResolverFunc,
62 PatchParserTask patchParser, 62 PatchParserTask patchParser,
63 env.Environment environment, 63 env.Environment environment,
64 DiagnosticReporter reporter, 64 DiagnosticReporter reporter,
65 Measurer measurer) { 65 Measurer measurer) {
66 return new KernelLibraryLoaderTask( 66 return new KernelLibraryLoaderTask(_options.platformConfigUri.resolve("."),
67 _elementMap, compilerInput, reporter, measurer); 67 _elementMap, compilerInput, reporter, measurer);
68 } 68 }
69 69
70 @override 70 @override
71 ElementEnvironment get elementEnvironment => _elementMap.elementEnvironment; 71 ElementEnvironment get elementEnvironment => _elementMap.elementEnvironment;
72 72
73 @override 73 @override
74 CommonElements get commonElements => _elementMap.commonElements; 74 CommonElements get commonElements => _elementMap.commonElements;
75 75
76 DartTypes get dartTypes => _elementMap.types; 76 DartTypes get dartTypes => _elementMap.types;
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 int get preMirrorsMethodCount { 228 int get preMirrorsMethodCount {
229 // TODO(redemption): Implement this. 229 // TODO(redemption): Implement this.
230 return null; 230 return null;
231 } 231 }
232 232
233 @override 233 @override
234 void onQueueEmpty(Enqueuer enqueuer, Iterable<ClassEntity> recentClasses) { 234 void onQueueEmpty(Enqueuer enqueuer, Iterable<ClassEntity> recentClasses) {
235 // TODO(redemption): Implement this. 235 // TODO(redemption): Implement this.
236 } 236 }
237 } 237 }
OLDNEW
« no previous file with comments | « no previous file | pkg/compiler/lib/src/library_loader.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698