forked from firka/flutter
Exclude ARM from macOS builds (#72748)
This commit is contained in:
@@ -97,7 +97,6 @@ void main() {
|
||||
else
|
||||
'-quiet',
|
||||
'COMPILER_INDEX_STORE_ENABLE=NO',
|
||||
'EXCLUDED_ARCHS=arm64',
|
||||
],
|
||||
stdout: 'STDOUT STUFF',
|
||||
onRun: () {
|
||||
@@ -265,6 +264,7 @@ void main() {
|
||||
'TREE_SHAKE_ICONS=true',
|
||||
'FLUTTER_TARGET=lib/other.dart',
|
||||
'BUNDLE_SKSL_PATH=foo/bar.sksl.json',
|
||||
'EXCLUDED_ARCHS=arm64',
|
||||
]));
|
||||
}, overrides: <Type, Generator>{
|
||||
FileSystem: () => fileSystem,
|
||||
|
||||
@@ -41,7 +41,10 @@ void main() {
|
||||
|
||||
// Config is updated if command succeeded.
|
||||
expect(generatedConfig, exists);
|
||||
expect(generatedConfig.readAsStringSync(), contains('DART_OBFUSCATION=true'));
|
||||
expect(generatedConfig.readAsStringSync(), allOf(
|
||||
contains('DART_OBFUSCATION=true'),
|
||||
isNot(contains('EXCLUDED_ARCHS')),
|
||||
));
|
||||
|
||||
// file that only exists if app was fully built.
|
||||
final File frameworkPlist = fileSystem.file(
|
||||
|
||||
Reference in New Issue
Block a user