Index: pkg/kernel/lib/target/flutter.dart |
diff --git a/pkg/kernel/lib/target/flutter.dart b/pkg/kernel/lib/target/flutter.dart |
index a0038a06b4554d0f351224f04b17c9f5aaf9c846..79b307156554150d54d84a4e259f71f8421dcc1a 100644 |
--- a/pkg/kernel/lib/target/flutter.dart |
+++ b/pkg/kernel/lib/target/flutter.dart |
@@ -10,7 +10,6 @@ import '../transformations/continuation.dart' as cont; |
import '../transformations/erasure.dart'; |
import '../transformations/mixin_full_resolution.dart' as mix; |
import '../transformations/sanitize_for_vm.dart'; |
-import '../transformations/setup_builtin_library.dart' as setup_builtin_library; |
import 'targets.dart'; |
class FlutterTarget extends Target { |
@@ -41,14 +40,11 @@ class FlutterTarget extends Target { |
'dart:profiler', |
'dart:typed_data', |
- 'dart:_vmservice', |
- 'dart:_builtin', |
'dart:nativewrappers', |
'dart:io', |
// Required for flutter. |
'dart:ui', |
- 'dart:vmservice_sky', |
]; |
void performModularTransformationsOnLibraries( |
@@ -61,10 +57,6 @@ class FlutterTarget extends Target { |
{void logger(String msg)}) { |
cont.transformProgram(coreTypes, program); |
- // Repair `_getMainClosure()` function in dart:{_builtin,ui} libraries. |
- setup_builtin_library.transformProgram(program); |
- setup_builtin_library.transformProgram(program, libraryUri: 'dart:ui'); |
- |
if (strongMode) { |
new Erasure().transform(program); |
} |