Files
avif/native/Android.cmake
waozi 8c44a98fd3 Commit the working copy's encode progress and Android build before merging
This checkout stayed at 8f706ac while later work was pushed from the same
working copy. The commit records the working copy as it is: the static
encode bridge with progress, the Android CMake file, the chroma
conversion and its contract test, the provider script and the manifest,
so the remote history can be merged without losing local edits.
2026-11-23 04:41:24 -03:00

11 lines
378 B
CMake

include("${CMAKE_CURRENT_LIST_DIR}/ZiranAvif.cmake")
if(DEFINED ZIRAN_SOURCE_libaom)
set(avif_mode AOM_SOURCE "${ZIRAN_SOURCE_libaom}")
else()
set(avif_mode DECODE_ONLY)
endif()
ziran_avif_add_native(AVIF_SOURCE "${ZIRAN_SOURCE_libavif}"
DAV1D_SOURCE "${ZIRAN_SOURCE_dav1d}" ${avif_mode})
target_link_libraries("${ZIRAN_ANDROID_TARGET}" PRIVATE ziran_avif::static)