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

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

Issue 10919267: Introduce a VM-only dart:scalarlist library for byte arrays. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Move init call for scalarlist lib 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
« no previous file with comments | « no previous file | lib/compiler/implementation/lib/scalarlist.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) 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 documented: false, 62 documented: false,
63 platforms: VM_PLATFORM), 63 platforms: VM_PLATFORM),
64 64
65 "nativewrappers": const LibraryInfo( 65 "nativewrappers": const LibraryInfo(
66 "html/dartium/nativewrappers.dart", 66 "html/dartium/nativewrappers.dart",
67 category: "Client", 67 category: "Client",
68 implementation: true, 68 implementation: true,
69 documented: false, 69 documented: false,
70 platforms: VM_PLATFORM), 70 platforms: VM_PLATFORM),
71 71
72 "scalarlist": const LibraryInfo(
73 "scalarlist/scalarlist.dart",
74 category: "Server",
75 dart2jsPath: "compiler/implementation/lib/scalarlist.dart",
76 dart2jsPatchPath: "compiler/implementation/lib/scalarlist_patch.dart"),
77
72 "uri": const LibraryInfo( 78 "uri": const LibraryInfo(
73 "uri/uri.dart"), 79 "uri/uri.dart"),
74 80
75 "utf": const LibraryInfo( 81 "utf": const LibraryInfo(
76 "utf/utf.dart"), 82 "utf/utf.dart"),
77 83
78 "_js_helper": const LibraryInfo( 84 "_js_helper": const LibraryInfo(
79 "compiler/implementation/lib/js_helper.dart", 85 "compiler/implementation/lib/js_helper.dart",
80 category: "Internal", 86 category: "Internal",
81 documented: false, 87 documented: false,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 this.category = "Shared", 148 this.category = "Shared",
143 this.dart2jsPath, 149 this.dart2jsPath,
144 this.dart2jsPatchPath, 150 this.dart2jsPatchPath,
145 this.implementation = false, 151 this.implementation = false,
146 this.documented = true, 152 this.documented = true,
147 this.platforms = DART2JS_PLATFORM | VM_PLATFORM]); 153 this.platforms = DART2JS_PLATFORM | VM_PLATFORM]);
148 154
149 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; 155 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0;
150 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; 156 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0;
151 } 157 }
OLDNEW
« no previous file with comments | « no previous file | lib/compiler/implementation/lib/scalarlist.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698