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

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

Issue 10912087: change sdk layout, fixes to darta/editor tests to work with new layout (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",
42 implementation: true, 43 implementation: true,
43 dart2jsPath: "dom/dart2js/dom_dart2js.dart", 44 dart2jsPath: "dom/dart2js/dom_dart2js.dart",
44 documented: false), 45 documented: false),
45 46
46 "html": const LibraryInfo( 47 "html": const LibraryInfo(
47 "html/html_dartium.dart", 48 "html/dartium/html_dartium.dart",
48 category: "Client", 49 category: "Client",
49 dart2jsPath: "html/dart2js/html_dart2js.dart"), 50 dart2jsPath: "html/dart2js/html_dart2js.dart"),
50 51
51 "io": const LibraryInfo( 52 "io": const LibraryInfo(
52 "io/io_runtime.dart", 53 "io/io_runtime.dart",
53 category: "Server", 54 category: "Server",
54 dart2jsPath: "compiler/implementation/lib/io.dart"), 55 dart2jsPath: "compiler/implementation/lib/io.dart"),
55 56
56 "isolate": const LibraryInfo( 57 "isolate": const LibraryInfo(
57 "isolate/isolate.dart", 58 "isolate/isolate.dart",
58 dart2jsPatchPath: "compiler/implementation/lib/isolate_patch.dart"), 59 dart2jsPatchPath: "compiler/implementation/lib/isolate_patch.dart"),
59 60
60 "json": const LibraryInfo( 61 "json": const LibraryInfo(
61 "json/json.dart"), 62 "json/json.dart"),
62 63
63 "math": const LibraryInfo( 64 "math": const LibraryInfo(
64 "math/math.dart", 65 "math/math.dart",
65 dart2jsPatchPath: "compiler/implementation/lib/math_patch.dart"), 66 dart2jsPatchPath: "compiler/implementation/lib/math_patch.dart"),
66 67
67 "mirrors": const LibraryInfo( 68 "mirrors": const LibraryInfo(
68 "mirrors/mirrors.dart", 69 "mirrors/mirrors.dart",
69 documented: false, 70 documented: false,
70 platforms: VM_PLATFORM), 71 platforms: VM_PLATFORM),
71 72
72 "nativewrappers": const LibraryInfo( 73 "nativewrappers": const LibraryInfo(
73 "html/nativewrappers.dart", 74 "html/dartium/nativewrappers.dart",
74 category: "Client", 75 category: "Client",
75 implementation: true, 76 implementation: true,
76 documented: false, 77 documented: false,
77 platforms: VM_PLATFORM), 78 platforms: VM_PLATFORM),
78 79
79 "uri": const LibraryInfo( 80 "uri": const LibraryInfo(
80 "uri/uri.dart"), 81 "uri/uri.dart"),
81 82
82 "utf": const LibraryInfo( 83 "utf": const LibraryInfo(
83 "utf/utf.dart"), 84 "utf/utf.dart"),
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 this.category = "Shared", 153 this.category = "Shared",
153 this.dart2jsPath, 154 this.dart2jsPath,
154 this.dart2jsPatchPath, 155 this.dart2jsPatchPath,
155 this.implementation = false, 156 this.implementation = false,
156 this.documented = true, 157 this.documented = true,
157 this.platforms = DART2JS_PLATFORM | VM_PLATFORM]); 158 this.platforms = DART2JS_PLATFORM | VM_PLATFORM]);
158 159
159 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; 160 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0;
160 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; 161 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0;
161 } 162 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698