Skip to content

Commit 549f70c

Browse files
authored
Remove outdated Fuchsia concepts (#107335)
Fuchsia will soon remove all support for Component Framework version 1 components (recognized by component manifests ending in `.cmx`). Notably, some of the `flutter` tool commands for Fuchsia devices-- notably, but not limited to, those related to CFv1--are outdated, and either do not work today or soon won't work. This PR removes the outdated components and commands, replacing some with the newer version, or simply removing the non-working features, in some cases.
1 parent a3b531d commit 549f70c

File tree

22 files changed

+650
-1364
lines changed

22 files changed

+650
-1364
lines changed

dev/benchmarks/complex_layout/fuchsia/meta/complex_layout.cmx

Lines changed: 0 additions & 22 deletions
This file was deleted.

dev/benchmarks/test_apps/stocks/fuchsia/meta/stocks.cmx

Lines changed: 0 additions & 22 deletions
This file was deleted.

dev/integration_tests/flutter_gallery/fuchsia/meta/flutter_gallery.cmx

Lines changed: 0 additions & 18 deletions
This file was deleted.

dev/integration_tests/flutter_gallery/meta/flutter_gallery.cmx

Lines changed: 0 additions & 22 deletions
This file was deleted.

dev/integration_tests/ui/fuchsia/meta/integration_ui.cmx

Lines changed: 0 additions & 22 deletions
This file was deleted.

examples/hello_world/fuchsia/meta/hello_world.cmx

Lines changed: 0 additions & 18 deletions
This file was deleted.

packages/flutter_tools/lib/src/commands/build.dart

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import 'build_aar.dart';
1414
import 'build_apk.dart';
1515
import 'build_appbundle.dart';
1616
import 'build_bundle.dart';
17-
import 'build_fuchsia.dart';
1817
import 'build_ios.dart';
1918
import 'build_ios_framework.dart';
2019
import 'build_macos_framework.dart';
@@ -43,7 +42,6 @@ class BuildCommand extends FlutterCommand {
4342
verboseHelp: verboseHelp
4443
));
4544
_addSubcommand(BuildWindowsCommand(verboseHelp: verboseHelp));
46-
_addSubcommand(BuildFuchsiaCommand(verboseHelp: verboseHelp));
4745
}
4846

4947
void _addSubcommand(BuildSubCommand command) {
@@ -83,8 +81,11 @@ abstract class BuildSubCommand extends FlutterCommand {
8381
@protected
8482
void displayNullSafetyMode(BuildInfo buildInfo) {
8583
globals.printStatus('');
86-
if (buildInfo.nullSafetyMode == NullSafetyMode.sound) {
87-
globals.printStatus('💪 Building with sound null safety 💪', emphasis: true);
84+
if (buildInfo.nullSafetyMode == NullSafetyMode.sound) {
85+
globals.printStatus(
86+
'💪 Building with sound null safety 💪',
87+
emphasis: true,
88+
);
8889
} else {
8990
globals.printStatus(
9091
'Building without sound null safety',

packages/flutter_tools/lib/src/commands/build_fuchsia.dart

Lines changed: 0 additions & 88 deletions
This file was deleted.

0 commit comments

Comments
 (0)