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