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

Unified Diff: lib/compiler/implementation/library_map.dart

Issue 10694067: Make patch file import declarations apply to the patched library too. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: lib/compiler/implementation/library_map.dart
diff --git a/lib/compiler/implementation/library_map.dart b/lib/compiler/implementation/library_map.dart
index 091fd9c4836f32a5266545a5d71904825e1c9011..028d0e66e30b81dfb394f9fd6654eea88f4ed247 100644
--- a/lib/compiler/implementation/library_map.dart
+++ b/lib/compiler/implementation/library_map.dart
@@ -41,11 +41,13 @@ final Map<String,LibraryPatchPath> DART2JS_LIBRARY_MAP
"lib/isolate/isolate_leg.dart", null),
"json": const LibraryPatchPath(
"lib/json/json.dart", null),
+ "math": const LibraryPatchPath(
+ "lib/math/math.dart",
+ "lib/compiler/implementation/lib/math.dartp"),
"uri": const LibraryPatchPath(
"lib/uri/uri.dart", null),
"utf": const LibraryPatchPath(
"lib/utf/utf.dart", null),
"web": const LibraryPatchPath(
- "lib/compiler/implementation/lib/web.dart",
- "lib/compiler/implementation/lib/web.dartp"),
+ "lib/web/web.dart", null),
};

Powered by Google App Engine
This is Rietveld 408576698