Roll back the AAR build experiment (#36966)
* Roll back the AAR build experiment This has been breaking flutter/plugins CI for the past day. * Remove integration tests that rely on the AAR flag
This commit is contained in:
committed by
Emmanuel Garcia
parent
106b15a3ad
commit
30eec11e7d
@@ -124,10 +124,6 @@ const Feature flutterBuildPluginAsAarFeature = Feature(
|
||||
name: 'Build plugins independently as AARs in app projects',
|
||||
configSetting: 'enable-build-plugin-as-aar',
|
||||
master: FeatureChannelSetting(
|
||||
available: true,
|
||||
enabledByDefault: true,
|
||||
),
|
||||
dev: FeatureChannelSetting(
|
||||
available: true,
|
||||
enabledByDefault: false,
|
||||
),
|
||||
|
||||
@@ -436,16 +436,16 @@ void main() {
|
||||
/// Plugins as AARS
|
||||
test('plugins built as AARs with config on master', () => testbed.run(() {
|
||||
when(mockFlutterVerion.channel).thenReturn('master');
|
||||
when<bool>(mockFlutterConfig.getValue('enable-build-plugin-as-aar')).thenReturn(true);
|
||||
when<bool>(mockFlutterConfig.getValue('enable-build-plugin-as-aar')).thenReturn(false);
|
||||
|
||||
expect(featureFlags.isPluginAsAarEnabled, true);
|
||||
expect(featureFlags.isPluginAsAarEnabled, false);
|
||||
}));
|
||||
|
||||
test('plugins built as AARs with config on dev', () => testbed.run(() {
|
||||
when(mockFlutterVerion.channel).thenReturn('dev');
|
||||
when<bool>(mockFlutterConfig.getValue('enable-build-plugin-as-aar')).thenReturn(true);
|
||||
when<bool>(mockFlutterConfig.getValue('enable-build-plugin-as-aar')).thenReturn(false);
|
||||
|
||||
expect(featureFlags.isPluginAsAarEnabled, true);
|
||||
expect(featureFlags.isPluginAsAarEnabled, false);
|
||||
}));
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user