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