mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-23 16:35:59 +00:00

introduced the JerryScript engine to interpret Lottie expressions, enhancing the capability to support runtime programmable animation logic within Lottie expressions spec. This feature, based on js scripting, represents the most complicated addition to the Lottie spec so far. ThorVG probably could includes an option to toggle this feature at build time, allowing for customizable user configurations according to specific requirements. removed unused features for the optimal size: - DEBUGGER - MEM_STATS - SNAPSHOT - BUILTIN_JSON - BUILTIN_PROXY - BUILTIN_REFLECT - BUILTIN_ATOMICS - PROMISE_CALLBACK - MODULE_SYSTEM - SYSTEM_PORT This is an experimental version. Please manually enable the 'lottie-expressions' in meson.build when you wish to use it. See: https://jerryscript.net/
28 lines
No EOL
644 B
Meson
28 lines
No EOL
644 B
Meson
if lottie_expressions
|
|
subdir('jerryscript')
|
|
endif
|
|
|
|
source_file = [
|
|
'tvgLottieAnimation.cpp',
|
|
'tvgLottieBuilder.h',
|
|
'tvgLottieInterpolator.h',
|
|
'tvgLottieLoader.h',
|
|
'tvgLottieModel.h',
|
|
'tvgLottieParser.h',
|
|
'tvgLottieParserHandler.h',
|
|
'tvgLottieProperty.h',
|
|
'tvgLottieBuilder.cpp',
|
|
'tvgLottieInterpolator.cpp',
|
|
'tvgLottieLoader.cpp',
|
|
'tvgLottieModel.cpp',
|
|
'tvgLottieParserHandler.cpp',
|
|
'tvgLottieParser.cpp'
|
|
]
|
|
|
|
subloader_dep += [declare_dependency(
|
|
include_directories : include_directories('.'),
|
|
sources : source_file
|
|
)]
|
|
|
|
install_headers('thorvg_lottie.h')
|
|
headers += include_directories('.') |