blob: d084a240fe3ad9e14a76753989eb5b0d15684090 [file] [log] [blame]
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := Vector4
LOCAL_SRC_FILES := Vector4.cpp
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
LOCAL_CFLAGS += -DHAVE_NEON=1 -march=armv7-a -mfpu=neon -ftree-vectorize -ffast-math -mfloat-abi=softfp
endif
ifeq ($(TARGET_ARCH_ABI),x86)
# x86 ABI was recently changed to gen SSSE3 by default. Disable it in order
# for this test to run on emulator-x86 w/o KVM/HAXM
LOCAL_CFLAGS += -mno-ssse3 -msse3
endif
include $(BUILD_EXECUTABLE)