Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 28b88e4

Browse files
Merge pull request #98 from montegoulding/fixtargetarch
Fix iOS builds
2 parents e72f47c + 9cec71a commit 28b88e4

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

libskia/libskia.gyp

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1689,14 +1689,24 @@
16891689
},
16901690
],
16911691
[
1692-
'target_arch in ("armv7", "arm64")',
1692+
'target_arch in ("armv7", "arm64", "armv7 arm64")',
16931693
{
16941694
'sources/':
16951695
[
16961696
# Enable NEON optimisations
16971697
['include', 'opts/.+_(arm|neon|NEON).*'],
16981698
],
16991699
},
1700+
],
1701+
[
1702+
'target_arch in ("arm64", "armv7 arm64")',
1703+
{
1704+
'sources/':
1705+
[
1706+
# Enable crc32 optimisations
1707+
['include', 'opts/.+_crc32.*'],
1708+
],
1709+
},
17001710
],
17011711
[
17021712
'OS == "win"',

0 commit comments

Comments
 (0)