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) 30ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) 31 32LOCAL_SRC_FILES := $(option_SRC_FILES) 33 34LOCAL_MODULE:= libLLVMOption 35 36LOCAL_CFLAGS := -D__android__ 37 38LOCAL_MODULE_TAGS := optional 39 40include $(LLVM_DEVICE_BUILD_MK) 41include $(BUILD_STATIC_LIBRARY) 42endif 43