1LOCAL_PATH:= $(call my-dir) 2 3option_SRC_FILES := \ 4 Arg.cpp \ 5 ArgList.cpp \ 6 Option.cpp \ 7 OptTable.cpp 8 9# For the host 10# ===================================================== 11include $(CLEAR_VARS) 12 13# FIXME: This only requires RTTI because tblgen uses it. Fix that. 14REQUIRES_RTTI := 1 15 16LOCAL_SRC_FILES := $(option_SRC_FILES) 17 18LOCAL_MODULE:= libLLVMOption 19 20LOCAL_CFLAGS := -D__android__ 21 22LOCAL_MODULE_TAGS := optional 23 24include $(LLVM_HOST_BUILD_MK) 25include $(BUILD_HOST_STATIC_LIBRARY) 26 27# For the device 28# ===================================================== 29include $(CLEAR_VARS) 30 31LOCAL_SRC_FILES := $(option_SRC_FILES) 32 33LOCAL_MODULE:= libLLVMOption 34 35LOCAL_CFLAGS := -D__android__ 36 37LOCAL_MODULE_TAGS := optional 38 39include $(LLVM_DEVICE_BUILD_MK) 40include $(BUILD_STATIC_LIBRARY) 41