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