Add COMPILER_INDEX_STORE_ENABLE=NO to macOS build and tests (#37806)
This commit is contained in:
parent
c2c4774cc6
commit
5ed3b418a1
@ -250,6 +250,7 @@ Future<void> main() async {
|
|||||||
'CODE_SIGN_IDENTITY=-',
|
'CODE_SIGN_IDENTITY=-',
|
||||||
'EXPANDED_CODE_SIGN_IDENTITY=-',
|
'EXPANDED_CODE_SIGN_IDENTITY=-',
|
||||||
'CONFIGURATION_BUILD_DIR=${tempDir.path}',
|
'CONFIGURATION_BUILD_DIR=${tempDir.path}',
|
||||||
|
'COMPILER_INDEX_STORE_ENABLE=NO',
|
||||||
],
|
],
|
||||||
environment: <String, String> {
|
environment: <String, String> {
|
||||||
'FLUTTER_ANALYTICS_LOG_FILE': analyticsOutputFile.path,
|
'FLUTTER_ANALYTICS_LOG_FILE': analyticsOutputFile.path,
|
||||||
@ -294,6 +295,7 @@ Future<void> main() async {
|
|||||||
'CODE_SIGN_IDENTITY=-',
|
'CODE_SIGN_IDENTITY=-',
|
||||||
'EXPANDED_CODE_SIGN_IDENTITY=-',
|
'EXPANDED_CODE_SIGN_IDENTITY=-',
|
||||||
'CONFIGURATION_BUILD_DIR=${tempDir.path}',
|
'CONFIGURATION_BUILD_DIR=${tempDir.path}',
|
||||||
|
'COMPILER_INDEX_STORE_ENABLE=NO',
|
||||||
],
|
],
|
||||||
canFail: true
|
canFail: true
|
||||||
);
|
);
|
||||||
|
@ -54,6 +54,7 @@ Future<void> buildMacOS({
|
|||||||
'-derivedDataPath', flutterBuildDir.absolute.path,
|
'-derivedDataPath', flutterBuildDir.absolute.path,
|
||||||
'OBJROOT=${fs.path.join(flutterBuildDir.absolute.path, 'Build', 'Intermediates.noindex')}',
|
'OBJROOT=${fs.path.join(flutterBuildDir.absolute.path, 'Build', 'Intermediates.noindex')}',
|
||||||
'SYMROOT=${fs.path.join(flutterBuildDir.absolute.path, 'Build', 'Products')}',
|
'SYMROOT=${fs.path.join(flutterBuildDir.absolute.path, 'Build', 'Products')}',
|
||||||
|
'COMPILER_INDEX_STORE_ENABLE=NO',
|
||||||
]);
|
]);
|
||||||
final Status status = logger.startProgress(
|
final Status status = logger.startProgress(
|
||||||
'Building macOS application...',
|
'Building macOS application...',
|
||||||
|
@ -97,6 +97,7 @@ void main() {
|
|||||||
'-derivedDataPath', flutterBuildDir.absolute.path,
|
'-derivedDataPath', flutterBuildDir.absolute.path,
|
||||||
'OBJROOT=${fs.path.join(flutterBuildDir.absolute.path, 'Build', 'Intermediates.noindex')}',
|
'OBJROOT=${fs.path.join(flutterBuildDir.absolute.path, 'Build', 'Intermediates.noindex')}',
|
||||||
'SYMROOT=${fs.path.join(flutterBuildDir.absolute.path, 'Build', 'Products')}',
|
'SYMROOT=${fs.path.join(flutterBuildDir.absolute.path, 'Build', 'Products')}',
|
||||||
|
'COMPILER_INDEX_STORE_ENABLE=NO',
|
||||||
])).thenAnswer((Invocation invocation) async {
|
])).thenAnswer((Invocation invocation) async {
|
||||||
fs.file(fs.path.join('macos', 'Flutter', 'ephemeral', '.app_filename'))
|
fs.file(fs.path.join('macos', 'Flutter', 'ephemeral', '.app_filename'))
|
||||||
..createSync(recursive: true)
|
..createSync(recursive: true)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user