native/Android.cmake links the decoder into an Android app's native target, and ziran.toml names it under [tool.android.native] for src/libwebp.zi. native/build.sh checks the fetched libwebp against the ref in ziran.toml instead of a second copy of the commit.
4 lines
189 B
CMake
4 lines
189 B
CMake
include("${CMAKE_CURRENT_LIST_DIR}/WebP.cmake")
|
|
ziran_webp_decoder(ziran_webp_android "${ZIRAN_SOURCE_libwebp}")
|
|
target_link_libraries("${ZIRAN_ANDROID_TARGET}" PRIVATE ziran_webp_android)
|