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

Side by Side Diff: pkg/front_end/lib/src/fasta/analyzer/analyzer_target.dart

Issue 2832353002: Add support for building patched_sdk and platform.dill for dart2js: (Closed)
Patch Set: rebase Created 3 years, 8 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) 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 fasta.analyzer_target; 5 library fasta.analyzer_target;
6 6
7 import 'package:kernel/ast.dart' show Library, Source; 7 import 'package:kernel/ast.dart' show Library, Source;
8 8
9 import '../kernel/kernel_target.dart' show KernelTarget; 9 import '../kernel/kernel_target.dart' show KernelTarget;
10 10
11 import '../translate_uri.dart' show TranslateUri; 11 import '../translate_uri.dart' show TranslateUri;
12 12
13 import '../dill/dill_target.dart' show DillTarget; 13 import '../dill/dill_target.dart' show DillTarget;
14 14
15 import 'analyzer_loader.dart' show AnalyzerLoader; 15 import 'analyzer_loader.dart' show AnalyzerLoader;
16 16
17 class AnalyzerTarget extends KernelTarget { 17 class AnalyzerTarget extends KernelTarget {
18 AnalyzerTarget( 18 AnalyzerTarget(
19 DillTarget dillTarget, TranslateUri uriTranslator, bool strongMode, 19 DillTarget dillTarget, TranslateUri uriTranslator, bool strongMode,
20 [Map<String, Source> uriToSource]) 20 [Map<String, Source> uriToSource])
21 : super(dillTarget, uriTranslator, strongMode, uriToSource); 21 : super(dillTarget, uriTranslator, strongMode, false, uriToSource);
22 22
23 @override 23 @override
24 AnalyzerLoader<Library> createLoader() => new AnalyzerLoader<Library>(this); 24 AnalyzerLoader<Library> createLoader() => new AnalyzerLoader<Library>(this);
25 } 25 }
OLDNEW
« no previous file with comments | « no previous file | pkg/front_end/lib/src/fasta/compile_platform.dart » ('j') | pkg/front_end/lib/src/fasta/compile_platform.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698