mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-19 20:08:28 +01:00
Check for the presence of the ANDROID_ABI variable
BUG=webp:632 Change-Id: I8169be37d7b739b206ffb6555d58ff79a34c3605
This commit is contained in:
parent
45f995a37e
commit
79e05c7f9f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user