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

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

Issue 10908097: revert 11882 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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 21 matching lines...) Expand all
32 implementation: true, 32 implementation: true,
33 dart2jsPath: "compiler/implementation/lib/coreimpl.dart", 33 dart2jsPath: "compiler/implementation/lib/coreimpl.dart",
34 dart2jsPatchPath: "compiler/implementation/lib/coreimpl_patch.dart"), 34 dart2jsPatchPath: "compiler/implementation/lib/coreimpl_patch.dart"),
35 35
36 "crypto": const LibraryInfo( 36 "crypto": const LibraryInfo(
37 "crypto/crypto.dart"), 37 "crypto/crypto.dart"),
38 38
39 // dom/dom_frog.dart is a placeholder for dartium DOM. 39 // dom/dom_frog.dart is a placeholder for dartium DOM.
40 "dom_deprecated": const LibraryInfo( 40 "dom_deprecated": const LibraryInfo(
41 "dom/dom_dart2js.dart", 41 "dom/dom_dart2js.dart",
42 category : "Internal",
43 implementation: true, 42 implementation: true,
44 dart2jsPath: "dom/dart2js/dom_dart2js.dart", 43 dart2jsPath: "dom/dart2js/dom_dart2js.dart",
45 documented: false), 44 documented: false),
46 45
47 "html": const LibraryInfo( 46 "html": const LibraryInfo(
48 "html/dartium/html_dartium.dart", 47 "html/html_dartium.dart",
49 category: "Client", 48 category: "Client",
50 dart2jsPath: "html/dart2js/html_dart2js.dart"), 49 dart2jsPath: "html/dart2js/html_dart2js.dart"),
51 50
52 "io": const LibraryInfo( 51 "io": const LibraryInfo(
53 "io/io_runtime.dart", 52 "io/io_runtime.dart",
54 category: "Server", 53 category: "Server",
55 dart2jsPath: "compiler/implementation/lib/io.dart"), 54 dart2jsPath: "compiler/implementation/lib/io.dart"),
56 55
57 "isolate": const LibraryInfo( 56 "isolate": const LibraryInfo(
58 "isolate/isolate.dart", 57 "isolate/isolate.dart",
59 dart2jsPatchPath: "compiler/implementation/lib/isolate_patch.dart"), 58 dart2jsPatchPath: "compiler/implementation/lib/isolate_patch.dart"),
60 59
61 "json": const LibraryInfo( 60 "json": const LibraryInfo(
62 "json/json.dart"), 61 "json/json.dart"),
63 62
64 "math": const LibraryInfo( 63 "math": const LibraryInfo(
65 "math/math.dart", 64 "math/math.dart",
66 dart2jsPatchPath: "compiler/implementation/lib/math_patch.dart"), 65 dart2jsPatchPath: "compiler/implementation/lib/math_patch.dart"),
67 66
68 "mirrors": const LibraryInfo( 67 "mirrors": const LibraryInfo(
69 "mirrors/mirrors.dart", 68 "mirrors/mirrors.dart",
70 documented: false, 69 documented: false,
71 platforms: VM_PLATFORM), 70 platforms: VM_PLATFORM),
72 71
73 "nativewrappers": const LibraryInfo( 72 "nativewrappers": const LibraryInfo(
74 "html/dartium/nativewrappers.dart", 73 "html/nativewrappers.dart",
75 category: "Client", 74 category: "Client",
76 implementation: true, 75 implementation: true,
77 documented: false, 76 documented: false,
78 platforms: VM_PLATFORM), 77 platforms: VM_PLATFORM),
79 78
80 "uri": const LibraryInfo( 79 "uri": const LibraryInfo(
81 "uri/uri.dart"), 80 "uri/uri.dart"),
82 81
83 "utf": const LibraryInfo( 82 "utf": const LibraryInfo(
84 "utf/utf.dart"), 83 "utf/utf.dart"),
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 this.category = "Shared", 152 this.category = "Shared",
154 this.dart2jsPath, 153 this.dart2jsPath,
155 this.dart2jsPatchPath, 154 this.dart2jsPatchPath,
156 this.implementation = false, 155 this.implementation = false,
157 this.documented = true, 156 this.documented = true,
158 this.platforms = DART2JS_PLATFORM | VM_PLATFORM]); 157 this.platforms = DART2JS_PLATFORM | VM_PLATFORM]);
159 158
160 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; 159 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0;
161 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; 160 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0;
162 } 161 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698