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

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

Issue 15782009: RFC: introduce dart:js (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: fix comments on patch 9 Created 7 years, 5 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 | 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 57
58 "io": const LibraryInfo( 58 "io": const LibraryInfo(
59 "io/io.dart", 59 "io/io.dart",
60 category: "Server", 60 category: "Server",
61 dart2jsPatchPath: "_internal/lib/io_patch.dart"), 61 dart2jsPatchPath: "_internal/lib/io_patch.dart"),
62 62
63 "isolate": const LibraryInfo( 63 "isolate": const LibraryInfo(
64 "isolate/isolate.dart", 64 "isolate/isolate.dart",
65 dart2jsPatchPath: "_internal/lib/isolate_patch.dart"), 65 dart2jsPatchPath: "_internal/lib/isolate_patch.dart"),
66 66
67 "js": const LibraryInfo(
68 "js/dartium/js_dartium.dart",
69 category: "Client",
70 dart2jsPath: "js/dart2js/js_dart2js.dart"),
71
67 "json": const LibraryInfo( 72 "json": const LibraryInfo(
68 "json/json.dart", 73 "json/json.dart",
69 dart2jsPatchPath: "_internal/lib/json_patch.dart"), 74 dart2jsPatchPath: "_internal/lib/json_patch.dart"),
70 75
71 "math": const LibraryInfo( 76 "math": const LibraryInfo(
72 "math/math.dart", 77 "math/math.dart",
73 dart2jsPatchPath: "_internal/lib/math_patch.dart"), 78 dart2jsPatchPath: "_internal/lib/math_patch.dart"),
74 79
75 "mirrors": const LibraryInfo( 80 "mirrors": const LibraryInfo(
76 "mirrors/mirrors.dart", 81 "mirrors/mirrors.dart",
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 this.category: "Shared", 214 this.category: "Shared",
210 this.dart2jsPath, 215 this.dart2jsPath,
211 this.dart2jsPatchPath, 216 this.dart2jsPatchPath,
212 this.implementation: false, 217 this.implementation: false,
213 this.documented: true, 218 this.documented: true,
214 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); 219 this.platforms: DART2JS_PLATFORM | VM_PLATFORM});
215 220
216 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; 221 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0;
217 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; 222 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0;
218 } 223 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/native_handler.dart ('k') | sdk/lib/js/dart2js/js_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698