1LOCAL_PATH:= $(call my-dir) 2 3include $(CLEAR_TBLGEN_VARS) 4 5TBLGEN_TABLES := \ 6 AttrList.inc \ 7 Attrs.inc \ 8 CommentCommandList.inc \ 9 CommentNodes.inc \ 10 DeclNodes.inc \ 11 DiagnosticCommonKinds.inc \ 12 StmtNodes.inc 13 14clang_index_SRC_FILES := \ 15 CommentToXML.cpp \ 16 USRGeneration.cpp \ 17 18# For the host 19# ===================================================== 20include $(CLEAR_VARS) 21 22LOCAL_SRC_FILES := $(clang_index_SRC_FILES) 23LOCAL_MODULE:= libclangIndex 24LOCAL_MODULE_TAGS := optional 25 26include $(CLANG_HOST_BUILD_MK) 27include $(CLANG_VERSION_INC_MK) 28include $(CLANG_TBLGEN_RULES_MK) 29include $(BUILD_HOST_STATIC_LIBRARY) 30 31# For the target 32# ===================================================== 33include $(CLEAR_VARS) 34 35LOCAL_SRC_FILES := $(clang_index_SRC_FILES) 36LOCAL_MODULE:= libclangIndex 37LOCAL_MODULE_TAGS := optional 38 39include $(CLANG_DEVICE_BUILD_MK) 40include $(CLANG_VERSION_INC_MK) 41include $(CLANG_TBLGEN_RULES_MK) 42include $(BUILD_STATIC_LIBRARY) 43