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

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

Issue 11348313: Revert "Creating a common library for all DOM types." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Oddities with upload. 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
48 "io": const LibraryInfo( 41 "io": const LibraryInfo(
49 "io/io.dart", 42 "io/io.dart",
50 category: "Server", 43 category: "Server",
51 dart2jsPatchPath: "_internal/compiler/implementation/lib/io_patch.dart"), 44 dart2jsPatchPath: "_internal/compiler/implementation/lib/io_patch.dart"),
52 45
53 "isolate": const LibraryInfo( 46 "isolate": const LibraryInfo(
54 "isolate/isolate.dart", 47 "isolate/isolate.dart",
55 dart2jsPatchPath: "_internal/compiler/implementation/lib/isolate_patch.dar t"), 48 dart2jsPatchPath: "_internal/compiler/implementation/lib/isolate_patch.dar t"),
56 49
57 "json": const LibraryInfo( 50 "json": const LibraryInfo(
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 this.category: "Shared", 153 this.category: "Shared",
161 this.dart2jsPath, 154 this.dart2jsPath,
162 this.dart2jsPatchPath, 155 this.dart2jsPatchPath,
163 this.implementation: false, 156 this.implementation: false,
164 this.documented: true, 157 this.documented: true,
165 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); 158 this.platforms: DART2JS_PLATFORM | VM_PLATFORM});
166 159
167 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; 160 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0;
168 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; 161 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0;
169 } 162 }
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