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

Side by Side Diff: dart/sdk/lib/_internal/libraries.dart

Issue 803543002: Resolve libraries against their canonical URI. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Merged with r42358. Created 6 years 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
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 libraries; 5 library libraries;
6 6
7 /** 7 /**
8 * A bit flag used by [LibraryInfo] indicating that a library is used by dart2js 8 * A bit flag used by [LibraryInfo] indicating that a library is used by dart2js
9 */ 9 */
10 const int DART2JS_PLATFORM = 1; 10 const int DART2JS_PLATFORM = 1;
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 category: "Internal", 196 category: "Internal",
197 documented: false, 197 documented: false,
198 platforms: DART2JS_PLATFORM), 198 platforms: DART2JS_PLATFORM),
199 199
200 // TODO(ahe): This library is only for dart2dart, perhaps it should use a 200 // TODO(ahe): This library is only for dart2dart, perhaps it should use a
201 // different platform. 201 // different platform.
202 "_mirror_helper": const LibraryInfo( 202 "_mirror_helper": const LibraryInfo(
203 "_internal/compiler/js_lib/mirror_helper.dart", 203 "_internal/compiler/js_lib/mirror_helper.dart",
204 category: "Internal", 204 category: "Internal",
205 documented: false, 205 documented: false,
206 platforms: DART2JS_PLATFORM) 206 platforms: DART2JS_PLATFORM),
207
208 "_js_embedded_names": const LibraryInfo(
209 "_internal/compiler/js_lib/shared/embedded_names.dart",
210 category: "Internal",
211 documented: false,
212 platforms: DART2JS_PLATFORM),
213
214 "_js_runtime_data": const LibraryInfo(
215 "_internal/compiler/js_lib/shared/runtime_data.dart",
216 category: "Internal",
217 documented: false,
218 platforms: DART2JS_PLATFORM),
219
220 "_metadata": const LibraryInfo(
221 "html/html_common/metadata.dart",
222 category: "Internal",
223 documented: false,
224 platforms: DART2JS_PLATFORM),
207 }; 225 };
208 226
209 /** 227 /**
210 * Information about a "dart:" library. 228 * Information about a "dart:" library.
211 */ 229 */
212 class LibraryInfo { 230 class LibraryInfo {
213 231
214 /** 232 /**
215 * Path to the library's *.dart file relative to this file. 233 * Path to the library's *.dart file relative to this file.
216 */ 234 */
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 static const Maturity STABLE = const Maturity(4, "Stable", 326 static const Maturity STABLE = const Maturity(4, "Stable",
309 "The library is stable. API backwards-compatibility is guaranteed.\n" 327 "The library is stable. API backwards-compatibility is guaranteed.\n"
310 "However implementation details might change."); 328 "However implementation details might change.");
311 329
312 static const Maturity LOCKED = const Maturity(5, "Locked", 330 static const Maturity LOCKED = const Maturity(5, "Locked",
313 "This library will not change except when serious bugs are encountered."); 331 "This library will not change except when serious bugs are encountered.");
314 332
315 static const Maturity UNSPECIFIED = const Maturity(-1, "Unspecified", 333 static const Maturity UNSPECIFIED = const Maturity(-1, "Unspecified",
316 "The maturity for this library has not been specified."); 334 "The maturity for this library has not been specified.");
317 } 335 }
OLDNEW
« no previous file with comments | « dart/sdk/lib/_internal/compiler/js_lib/js_names.dart ('k') | dart/sdk/lib/html/html_common/html_common_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698