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

Side by Side Diff: pkg/front_end/lib/src/fasta/dill/dill_target.dart

Issue 2895983002: Read SDK and patches from a JSON file. (Closed)
Patch Set: Merged with 1333f97b9a0e3805f991578ef83b0ec4553ecf33 Created 3 years, 6 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) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, 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.dill_target; 5 library fasta.dill_target;
6 6
7 import 'dart:async' show Future; 7 import 'dart:async' show Future;
8 8
9 import 'package:kernel/ast.dart' show Class; 9 import 'package:kernel/ast.dart' show Class;
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 } 43 }
44 44
45 @override 45 @override
46 Future<Null> buildOutlines() async { 46 Future<Null> buildOutlines() async {
47 if (loader.libraries.isNotEmpty) { 47 if (loader.libraries.isNotEmpty) {
48 await loader.buildOutlines(); 48 await loader.buildOutlines();
49 } 49 }
50 isLoaded = true; 50 isLoaded = true;
51 } 51 }
52 52
53 DillLibraryBuilder createLibraryBuilder(Uri uri, Uri fileUri) { 53 DillLibraryBuilder createLibraryBuilder(Uri uri, Uri fileUri, bool isPatch) {
54 assert(!isPatch);
54 return new DillLibraryBuilder(uri, loader); 55 return new DillLibraryBuilder(uri, loader);
55 } 56 }
56 57
57 void addDirectSupertype(ClassBuilder cls, Set<ClassBuilder> set) {} 58 void addDirectSupertype(ClassBuilder cls, Set<ClassBuilder> set) {}
58 59
59 List<ClassBuilder> collectAllClasses() { 60 List<ClassBuilder> collectAllClasses() {
60 return null; 61 return null;
61 } 62 }
62 63
63 void breakCycle(ClassBuilder cls) {} 64 void breakCycle(ClassBuilder cls) {}
64 65
65 Class get objectClass => loader.coreLibrary["Object"].target; 66 Class get objectClass => loader.coreLibrary["Object"].target;
66 } 67 }
OLDNEW
« no previous file with comments | « pkg/front_end/lib/src/fasta/compile_platform.dart ('k') | pkg/front_end/lib/src/fasta/fasta.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698