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