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

Side by Side Diff: pkg/compiler/lib/src/platform_configuration.dart

Issue 2942763002: Late night strong mode cleaning. (Closed)
Patch Set: 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
« no previous file with comments | « pkg/compiler/lib/src/enqueue.dart ('k') | pkg/compiler/lib/src/typechecker.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) 2015, the Fletch project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Fletch 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.md file. 3 // BSD-style license that can be found in the LICENSE.md file.
4 4
5 /// Tools for loading and parsing platform-configuration files. 5 /// Tools for loading and parsing platform-configuration files.
6 library platform_configuration; 6 library platform_configuration;
7 7
8 import "dart:async"; 8 import "dart:async";
9 9
10 import "package:charcode/ascii.dart"; 10 import "package:charcode/ascii.dart";
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 }); 128 });
129 return result; 129 return result;
130 } 130 }
131 131
132 final Set<String> allowedSections = 132 final Set<String> allowedSections =
133 new Set.from([librariesSection, dartSpecSection, featuresSection]); 133 new Set.from([librariesSection, dartSpecSection, featuresSection]);
134 134
135 Future<Map<String, Uri>> load(Uri location, api.CompilerInput provider) { 135 Future<Map<String, Uri>> load(Uri location, api.CompilerInput provider) {
136 return provider 136 return provider
137 .readFromUri(location, inputKind: api.InputKind.binary) 137 .readFromUri(location, inputKind: api.InputKind.binary)
138 .then((api.Input<List<int>> input) { 138 .then((api.Input input) {
139 return libraryMappings( 139 return libraryMappings(
140 parseIni(input.data, 140 parseIni(input.data,
141 allowedSections: allowedSections, sourceUri: location), 141 allowedSections: allowedSections, sourceUri: location),
142 location); 142 location);
143 }); 143 });
144 } 144 }
OLDNEW
« no previous file with comments | « pkg/compiler/lib/src/enqueue.dart ('k') | pkg/compiler/lib/src/typechecker.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698