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

[[ emscripten ]] Fix missing symbol errors when linking libskia for emscripten-wasm #144

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 5 additions & 10 deletions libskia/libskia.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
'skia_include_dirs':
[
'include/android',
'include/animator',
'include/c',
'include/codec',
'include/config',
Expand All @@ -27,7 +26,6 @@
'include/views',
'include/xml',
'src/android',
'src/animator',
'src/c',
'src/codec',
'src/core',
Expand Down Expand Up @@ -767,7 +765,7 @@
'src/animator/SkDisplayType.cpp',
'src/animator/SkDisplayTypes.cpp',
'src/animator/SkDisplayXMLParser.cpp',
'src/animator/SkDraw3D.h',
'src/animator/SkDraw3D.cpp',
'src/animator/SkDrawBitmap.cpp',
'src/animator/SkDrawBlur.cpp',
'src/animator/SkDrawClip.cpp',
Expand Down Expand Up @@ -799,7 +797,7 @@
'src/animator/SkMemberInfo.cpp',
'src/animator/SkOpArray.cpp',
'src/animator/SkOperandIterpolator.cpp',
'src/animator/SkPaintPart.h',
'src/animator/SkPaintPart.cpp',
'src/animator/SkParseSVGPath.cpp',
'src/animator/SkPathParts.cpp',
'src/animator/SkPostParts.cpp',
Expand Down Expand Up @@ -1146,7 +1144,7 @@
'src/core/SkLinearBitmapPipeline.cpp',
'src/core/SkLineClipper.cpp',
'src/core/SkLiteDL.cpp',
'src/core/SkLiteRecorder.h',
'src/core/SkLiteRecorder.cpp',
'src/core/SkLocalMatrixImageFilter.cpp',
'src/core/SkLocalMatrixShader.cpp',
'src/core/SkMallocPixelRef.cpp',
Expand Down Expand Up @@ -1722,11 +1720,8 @@
['exclude', '^src/codec/.*Codec.*\\.cpp$'],
['include', '^src/codec/SkCodec(ImageGenerator)?\\.cpp$'],

# Disable animation scripting
['exclude', 'src/animator/SkScript'],

# SkSnapshot doesn't build
['exclude', 'src/animator/SkSnapshot'],
# Disable unused and unsupported animator
['exclude', 'src/animator/*'],

# Don't build XPS
['exclude', '/xps/'],
Expand Down