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

Unified Diff: pkg/kernel/lib/target/flutter.dart

Issue 2931773003: Add flutter mode to patched_sdk (Closed)
Patch Set: address cl comments and merge conflicts Created 3 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
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/body_builder.dart ('k') | pkg/kernel/lib/target/flutter_fasta.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
}
« no previous file with comments | « pkg/front_end/lib/src/fasta/kernel/body_builder.dart ('k') | pkg/kernel/lib/target/flutter_fasta.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698