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

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

Issue 11615023: Version 0.2.9.7 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 8 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 "_internal/compiler/implementation/lib/interceptors.dart", 108 "_internal/compiler/implementation/lib/interceptors.dart",
109 category: "Internal", 109 category: "Internal",
110 documented: false, 110 documented: false,
111 platforms: DART2JS_PLATFORM), 111 platforms: DART2JS_PLATFORM),
112 112
113 "_foreign_helper": const LibraryInfo( 113 "_foreign_helper": const LibraryInfo(
114 "_internal/compiler/implementation/lib/foreign_helper.dart", 114 "_internal/compiler/implementation/lib/foreign_helper.dart",
115 category: "Internal", 115 category: "Internal",
116 documented: false, 116 documented: false,
117 platforms: DART2JS_PLATFORM), 117 platforms: DART2JS_PLATFORM),
118
119 "_isolate_helper": const LibraryInfo(
120 "_internal/compiler/implementation/lib/isolate_helper.dart",
121 category: "Internal",
122 documented: false,
123 platforms: DART2JS_PLATFORM),
124 }; 118 };
125 119
126 /** 120 /**
127 * Information about a "dart:" library. 121 * Information about a "dart:" library.
128 */ 122 */
129 class LibraryInfo { 123 class LibraryInfo {
130 124
131 /** 125 /**
132 * Path to the library's *.dart file relative to this file. 126 * Path to the library's *.dart file relative to this file.
133 */ 127 */
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 this.category: "Shared", 171 this.category: "Shared",
178 this.dart2jsPath, 172 this.dart2jsPath,
179 this.dart2jsPatchPath, 173 this.dart2jsPatchPath,
180 this.implementation: false, 174 this.implementation: false,
181 this.documented: true, 175 this.documented: true,
182 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); 176 this.platforms: DART2JS_PLATFORM | VM_PLATFORM});
183 177
184 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; 178 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0;
185 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; 179 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0;
186 } 180 }
OLDNEW
« no previous file with comments | « dart/sdk/lib/_internal/compiler/implementation/ssa/builder.dart ('k') | dart/sdk/lib/isolate/timer.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698