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

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

Issue 11337019: Use patching for dart:io. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments Created 8 years, 1 month 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 26 matching lines...) Expand all
37 37
38 "crypto": const LibraryInfo( 38 "crypto": const LibraryInfo(
39 "crypto/crypto.dart"), 39 "crypto/crypto.dart"),
40 40
41 "html": const LibraryInfo( 41 "html": const LibraryInfo(
42 "html/dartium/html_dartium.dart", 42 "html/dartium/html_dartium.dart",
43 category: "Client", 43 category: "Client",
44 dart2jsPath: "html/dart2js/html_dart2js.dart"), 44 dart2jsPath: "html/dart2js/html_dart2js.dart"),
45 45
46 "io": const LibraryInfo( 46 "io": const LibraryInfo(
47 "io/io_runtime.dart", 47 "io/io.dart",
48 category: "Server", 48 category: "Server",
49 dart2jsPath: "compiler/implementation/lib/io.dart"), 49 dart2jsPatchPath: "compiler/implementation/lib/io_patch.dart"),
50 50
51 "isolate": const LibraryInfo( 51 "isolate": const LibraryInfo(
52 "isolate/isolate.dart", 52 "isolate/isolate.dart",
53 dart2jsPatchPath: "compiler/implementation/lib/isolate_patch.dart"), 53 dart2jsPatchPath: "compiler/implementation/lib/isolate_patch.dart"),
54 54
55 "json": const LibraryInfo( 55 "json": const LibraryInfo(
56 "json/json.dart"), 56 "json/json.dart"),
57 57
58 "math": const LibraryInfo( 58 "math": const LibraryInfo(
59 "math/math.dart", 59 "math/math.dart",
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 this.category: "Shared", 148 this.category: "Shared",
149 this.dart2jsPath, 149 this.dart2jsPath,
150 this.dart2jsPatchPath, 150 this.dart2jsPatchPath,
151 this.implementation: false, 151 this.implementation: false,
152 this.documented: true, 152 this.documented: true,
153 this.platforms: DART2JS_PLATFORM | VM_PLATFORM}); 153 this.platforms: DART2JS_PLATFORM | VM_PLATFORM});
154 154
155 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0; 155 bool get isDart2jsLibrary => (platforms & DART2JS_PLATFORM) != 0;
156 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0; 156 bool get isVmLibrary => (platforms & VM_PLATFORM) != 0;
157 } 157 }
OLDNEW
« no previous file with comments | « no previous file | lib/compiler/implementation/lib/io.dart » ('j') | lib/compiler/implementation/lib/io_patch.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698