1 LOCAL_PATH := $(call my-dir) 2 3 include $(CLEAR_VARS) 4 LOCAL_MODULE := Vector4 5 LOCAL_SRC_FILES := Vector4.cpp 6 ifneq ($(filter $(TARGET_ARCH_ABI), armeabi-v7a armeabi-v7a-hard),) 7 LOCAL_CFLAGS += -DHAVE_NEON=1 -march=armv7-a -mfpu=neon -ftree-vectorize -ffast-math -mfloat-abi=softfp 8 endif 9 ifneq ($(filter $(TARGET_ARCH_ABI),x86),) 10 # x86 ABI was recently changed to gen SSSE3 by default. Disable it in order 11 # for this test to run on emulator-x86 w/o KVM/HAXM 12 LOCAL_CFLAGS += -mno-ssse3 -msse3 13 endif 14 15 include $(BUILD_EXECUTABLE) 16