mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-22 16:03:25 +00:00

Built to libwebp code in to support the static option of webp loader. Code from :https://github.com/jacklicn/libwebp This forking version only contains the minimal webp decoding feature. Binary Size: +68kb Co-authored-by: Hermet Park <hermet@lottiefiles.com> issue: https://github.com/thorvg/thorvg/issues/1427
14 lines
No EOL
304 B
Meson
14 lines
No EOL
304 B
Meson
source_file = [
|
|
'tvgWebpLoader.h',
|
|
'tvgWebpLoader.cpp',
|
|
]
|
|
|
|
webp_dep = dependency('libwebp', required: false)
|
|
|
|
if webp_dep.found()
|
|
subloader_dep += [declare_dependency(
|
|
include_directories : include_directories('.'),
|
|
dependencies : webp_dep,
|
|
sources : source_file
|
|
)]
|
|
endif |