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

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

Issue 10890030: Move core and coreimpl from corelib/ to lib/core and lib/coreimpl. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase. 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 11 matching lines...) Expand all
22 */ 22 */
23 const Map<String, LibraryInfo> LIBRARIES = const <LibraryInfo> { 23 const Map<String, LibraryInfo> LIBRARIES = const <LibraryInfo> {
24 24
25 "builtin": const LibraryInfo( 25 "builtin": const LibraryInfo(
26 "builtin/builtin_runtime.dart", 26 "builtin/builtin_runtime.dart",
27 category: "Server", 27 category: "Server",
28 documented: false, 28 documented: false,
29 platforms: VM_PLATFORM), 29 platforms: VM_PLATFORM),
30 30
31 "core": const LibraryInfo( 31 "core": const LibraryInfo(
32 "core/core_runtime.dart", 32 "core/core.dart",
33 dart2jsPath: "compiler/implementation/lib/core.dart"), 33 dart2jsPath: "compiler/implementation/lib/core.dart"),
34 34
35 "coreimpl": const LibraryInfo( 35 "coreimpl": const LibraryInfo(
36 "coreimpl/coreimpl_runtime.dart", 36 "coreimpl/coreimpl.dart",
37 implementation: true, 37 implementation: true,
38 dart2jsPath: "compiler/implementation/lib/coreimpl.dart", 38 dart2jsPath: "compiler/implementation/lib/coreimpl.dart",
39 dart2jsPatchPath: "compiler/implementation/lib/coreimpl_patch.dart"), 39 dart2jsPatchPath: "compiler/implementation/lib/coreimpl_patch.dart"),
40 40
41 "crypto": const LibraryInfo( 41 "crypto": const LibraryInfo(
42 "crypto/crypto.dart"), 42 "crypto/crypto.dart"),
43 43
44 // dom/dom_frog.dart is a placeholder for dartium DOM. 44 // dom/dom_frog.dart is a placeholder for dartium DOM.
45 "dom_deprecated": const LibraryInfo( 45 "dom_deprecated": const LibraryInfo(
46 "dom/dom_dart2js.dart", 46 "dom/dom_dart2js.dart",
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 this.category = "Shared", 157 this.category = "Shared",
158 this.dart2jsPath, 158 this.dart2jsPath,
159 this.dart2jsPatchPath, 159 this.dart2jsPatchPath,
160 this.implementation = false, 160 this.implementation = false,
161 this.documented = true, 161 this.documented = true,
162 this.platforms = DART2JS_PLATFORM | VM_PLATFORM]); 162 this.platforms = DART2JS_PLATFORM | VM_PLATFORM]);
163 163
164 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; 164 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0;
165 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; 165 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0;
166 } 166 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698