Bitcode strip Flutter.framework in assemble build target (#77329)

This commit is contained in:
Jenn Magder
2021-03-05 10:38:57 -08:00
committed by GitHub
parent 565e48777a
commit 7e02cc34f9
5 changed files with 151 additions and 33 deletions

View File

@@ -42,7 +42,7 @@ Future<bool> containsBitcode(String pathToBinary) async {
if (line.contains('segname __LLVM') && lines.length - index - 1 > 3) {
final String emptyBitcodeMarker = lines
.skip(index - 1)
.take(3)
.take(4)
.firstWhere(
(String line) => line.contains(' size 0x0000000000000001'),
orElse: () => null,