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

Unified Diff: sdk/lib/_internal/compiler/implementation/compiler.dart

Issue 11434079: Adding dart:indexed_db. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Tweaks. 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 side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/compiler/implementation/compiler.dart
diff --git a/sdk/lib/_internal/compiler/implementation/compiler.dart b/sdk/lib/_internal/compiler/implementation/compiler.dart
index dc4200b274b662e2f9a085a441aa9466e950bcce..f357463e4984603bfcee96f4a54b1e184dfb05f8 100644
--- a/sdk/lib/_internal/compiler/implementation/compiler.dart
+++ b/sdk/lib/_internal/compiler/implementation/compiler.dart
@@ -504,16 +504,18 @@ abstract class Compiler implements DiagnosticListener {
bool nativeTest = library.entryCompilationUnit.script.name.contains(
'dart/tests/compiler/dart2js_native');
if (nativeTest
+ || libraryName == 'dart:html_common'
|| libraryName == 'dart:mirrors'
|| libraryName == 'dart:isolate'
|| libraryName == 'dart:math'
|| libraryName == 'dart:html'
- || libraryName == 'dart:html_common'
+ || libraryName == 'dart:indexed_db'
|| libraryName == 'dart:svg'
|| libraryName == 'dart:web_audio') {
if (nativeTest
|| libraryName == 'dart:html'
|| libraryName == 'dart:html_common'
+ || libraryName == 'dart:indexed_db'
|| libraryName == 'dart:svg'
|| libraryName == 'dart:mirrors') {
// dart:html and dart:svg need access to convertDartClosureToJS and

Powered by Google App Engine
This is Rietveld 408576698