1 LOCAL_PATH:= $(call my-dir) 2 3 LLVM_ROOT_PATH := $(LOCAL_PATH)/../../../../external/llvm 4 include $(LLVM_ROOT_PATH)/llvm.mk 5 6 bitcode_writer_2_9_SRC_FILES := \ 7 BitcodeWriter.cpp \ 8 BitcodeWriterPass.cpp \ 9 ValueEnumerator.cpp 10 11 # For the host 12 # ===================================================== 13 include $(CLEAR_VARS) 14 15 LOCAL_CFLAGS += $(local_cflags_for_slang) 16 LOCAL_C_INCLUDES += frameworks/compile/slang 17 18 LOCAL_SRC_FILES := $(bitcode_writer_2_9_SRC_FILES) 19 20 LOCAL_MODULE:= libLLVMBitWriter_2_9 21 22 LOCAL_MODULE_TAGS := optional 23 24 include $(LLVM_HOST_BUILD_MK) 25 include $(LLVM_GEN_INTRINSICS_MK) 26 include $(BUILD_HOST_STATIC_LIBRARY) 27 28