1LOCAL_PATH:= $(call my-dir) 2 3# For the host only 4# ===================================================== 5include $(CLEAR_VARS) 6include $(CLEAR_TBLGEN_VARS) 7 8LOCAL_MODULE:= libclangIndex 9 10LOCAL_MODULE_TAGS := optional 11 12TBLGEN_TABLES := \ 13 AttrList.inc \ 14 Attrs.inc \ 15 DiagnosticCommonKinds.inc \ 16 DeclNodes.inc \ 17 StmtNodes.inc 18 19clang_index_SRC_FILES := \ 20 ASTLocation.cpp \ 21 Analyzer.cpp \ 22 CallGraph.cpp \ 23 DeclReferenceMap.cpp \ 24 Entity.cpp \ 25 GlobalSelector.cpp \ 26 Handlers.cpp \ 27 IndexProvider.cpp \ 28 Indexer.cpp \ 29 Program.cpp \ 30 SelectorMap.cpp 31 32LOCAL_SRC_FILES := $(clang_index_SRC_FILES) 33 34 35include $(CLANG_HOST_BUILD_MK) 36include $(CLANG_TBLGEN_RULES_MK) 37include $(BUILD_HOST_STATIC_LIBRARY) 38