consider changing android neon build according to:
android.mk does not build neon. need to use TARGET_ARCH_VARIANT. But the
.neon.cc suffix is not supported by platform sdk.
Also the following trick works for NDK, but the add-src-files-target-cflags
does not work on platform sdk either.
//
http://stackoverflow.com/questions/7679363/android-build-system-neon-and-non-neo
n-builds
ifeq ($(TARGET_ARCH_VARIANT),armv7-a)
LOCAL_CFLAGS += -DLIBYUV_NEON
LOCAL_NEON_SRC_FILES := \
source/compare_neon.cc \
source/rotate_neon.cc \
source/row_neon.cc \
source/scale_neon.cc
LOCAL_SRC_FILES += $(LOCAL_NEON_SRC_FILES)
LOCAL_NEON_CFLAGS := -mfloat-abi=softfp -mfpu=neon -march=armv7
TARGET-process-src-files-tags += $(call add-src-files-target-cflags, $(LOCAL_NEON_SRC_FILES), $(LOCAL_NEON_CFLAGS))
endif
Original issue reported on code.google.com by fbarch...@google.com on 26 Dec 2013 at 9:13
Original issue reported on code.google.com by
fbarch...@google.com
on 26 Dec 2013 at 9:13