1LOCAL_PATH := $(call my-dir) 2 3x86_utils_SRC_FILES := \ 4 X86ShuffleDecode.cpp 5 6# For the device 7# ===================================================== 8ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 9include $(CLEAR_VARS) 10 11LOCAL_SRC_FILES := $(x86_utils_SRC_FILES) 12 13LOCAL_C_INCLUDES += $(LOCAL_PATH)/.. 14 15LOCAL_MODULE:= libLLVMX86Utils 16 17LOCAL_MODULE_TAGS := optional 18 19include $(LLVM_DEVICE_BUILD_MK) 20include $(BUILD_STATIC_LIBRARY) 21endif 22 23# For the host 24# ===================================================== 25include $(CLEAR_VARS) 26 27LOCAL_SRC_FILES := $(x86_utils_SRC_FILES) 28 29LOCAL_C_INCLUDES += $(LOCAL_PATH)/.. 30 31LOCAL_MODULE:= libLLVMX86Utils 32 33LOCAL_MODULE_TAGS := optional 34 35include $(LLVM_HOST_BUILD_MK) 36include $(BUILD_HOST_STATIC_LIBRARY) 37