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

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

Issue 11316113: Creating a common library for all DOM types. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merging with latest from tree. 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 20 matching lines...) Expand all
31 dart2jsPatchPath: "_internal/compiler/implementation/lib/core_patch.dart") , 31 dart2jsPatchPath: "_internal/compiler/implementation/lib/core_patch.dart") ,
32 32
33 "crypto": const LibraryInfo( 33 "crypto": const LibraryInfo(
34 "crypto/crypto.dart"), 34 "crypto/crypto.dart"),
35 35
36 "html": const LibraryInfo( 36 "html": const LibraryInfo(
37 "html/dartium/html_dartium.dart", 37 "html/dartium/html_dartium.dart",
38 category: "Client", 38 category: "Client",
39 dart2jsPath: "html/dart2js/html_dart2js.dart"), 39 dart2jsPath: "html/dart2js/html_dart2js.dart"),
40 40
41 "html_common": const LibraryInfo(
42 "html/html_common/html_common_dartium.dart",
43 category: "Client",
44 dart2jsPath: "html/html_common/html_common_dart2js.dart",
45 documented: false,
46 implementation: true),
47
41 "io": const LibraryInfo( 48 "io": const LibraryInfo(
42 "io/io.dart", 49 "io/io.dart",
43 category: "Server", 50 category: "Server",
44 dart2jsPatchPath: "_internal/compiler/implementation/lib/io_patch.dart"), 51 dart2jsPatchPath: "_internal/compiler/implementation/lib/io_patch.dart"),
45 52
46 "isolate": const LibraryInfo( 53 "isolate": const LibraryInfo(
47 "isolate/isolate.dart", 54 "isolate/isolate.dart",
48 dart2jsPatchPath: "_internal/compiler/implementation/lib/isolate_patch.dar t"), 55 dart2jsPatchPath: "_internal/compiler/implementation/lib/isolate_patch.dar t"),
49 56
50 "json": const LibraryInfo( 57 "json": const LibraryInfo(
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 this.category: "Shared", 160 this.category: "Shared",
154 this.dart2jsPath, 161 this.dart2jsPath,
155 this.dart2jsPatchPath, 162 this.dart2jsPatchPath,
156 this.implementation: false, 163 this.implementation: false,
157 this.documented: true, 164 this.documented: true,
158 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); 165 this.platforms: DART2JS_PLATFORM | VM_PLATFORM});
159 166
160 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; 167 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0;
161 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; 168 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0;
162 } 169 }
OLDNEW
« no previous file with comments | « sdk/lib/_internal/compiler/implementation/native_handler.dart ('k') | sdk/lib/html/dart2js/html_dart2js.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698