Check for the presence of the ANDROID_ABI variable

BUG=webp:632

Change-Id: I8169be37d7b739b206ffb6555d58ff79a34c3605
This commit is contained in:
Vincent Rabaud 2024-03-06 14:50:30 +01:00
parent 45f995a37e
commit 79e05c7f9f

View File

@ -61,7 +61,7 @@ endif()
set(WEBP_SIMD_FILES_TO_INCLUDE) set(WEBP_SIMD_FILES_TO_INCLUDE)
set(WEBP_SIMD_FLAGS_TO_INCLUDE) set(WEBP_SIMD_FLAGS_TO_INCLUDE)
if(${ANDROID}) if(ANDROID AND ANDROID_ABI)
if(${ANDROID_ABI} STREQUAL "armeabi-v7a") if(${ANDROID_ABI} STREQUAL "armeabi-v7a")
# This is because Android studio uses the configuration "-march=armv7-a # This is because Android studio uses the configuration "-march=armv7-a
# -mfloat-abi=softfp -mfpu=vfpv3-d16" that does not trigger neon # -mfloat-abi=softfp -mfpu=vfpv3-d16" that does not trigger neon