flutter_tool: only enable wasm compile in master channel (#121755)

flutter_tool: only enable wasm compile in master channel
This commit is contained in:
Kevin Moore
2023-03-02 14:21:50 -08:00
committed by GitHub
parent aa588365f9
commit a8cc95e36d
7 changed files with 68 additions and 14 deletions

View File

@@ -413,6 +413,7 @@ class TestFeatureFlags implements FeatureFlags {
this.isIOSEnabled = true,
this.isFuchsiaEnabled = false,
this.areCustomDevicesEnabled = false,
this.isFlutterWebWasmEnabled = false,
});
@override
@@ -442,6 +443,9 @@ class TestFeatureFlags implements FeatureFlags {
@override
final bool areCustomDevicesEnabled;
@override
final bool isFlutterWebWasmEnabled;
@override
bool isEnabled(Feature feature) {
switch (feature) {