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