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

Commit 80c6f1d

Browse files
authored
Merge pull request #100 from montegoulding/fixemscripten
[[ Skia Update ]] Fix emscripen builds
2 parents 506388e + 3ec1df6 commit 80c6f1d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

libskia/libskia.gyp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1764,7 +1764,7 @@
17641764
'sources/':
17651765
[
17661766
# Disable windows-specific code
1767-
['exclude', '_win(_dw)?.cpp$'],
1767+
['exclude', '_win(_dw)?.*\\.cpp$'],
17681768
['exclude', '^src/.*/win/.*$'],
17691769
['exclude', 'WIC\\.cpp$'],
17701770
],
@@ -1802,6 +1802,7 @@
18021802
[
18031803
# Disable anything CoreGraphics related
18041804
['exclude', 'CG\\.'],
1805+
['exclude', '_mac\\.cpp$'],
18051806
],
18061807
},
18071808
],
@@ -1872,8 +1873,8 @@
18721873
# Don't build FreeType or FontConfig code
18731874
['exclude', 'fontconfig'],
18741875
['exclude', 'FontConfig'],
1875-
['exclude', 'SkFontMgr_custom'],
1876-
],
1876+
['exclude', 'SkFontMgr_custom_(embedded|empty)'],
1877+
],
18771878
},
18781879
],
18791880
[

0 commit comments

Comments
 (0)