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_INTRINSICS_MK) 16include $(BUILD_HOST_STATIC_LIBRARY) 17 18# For the device 19# ===================================================== 20ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 21include $(CLEAR_VARS) 22 23LOCAL_MODULE:= libLLVMPasses 24LOCAL_MODULE_TAGS := optional 25LOCAL_SRC_FILES := $(passes_SRC_FILES) 26 27include $(LLVM_DEVICE_BUILD_MK) 28include $(LLVM_GEN_INTRINSICS_MK) 29include $(BUILD_STATIC_LIBRARY) 30endif 31