1 LOCAL_PATH:= $(call my-dir) 2 3 # For the host only 4 # ===================================================== 5 include $(CLEAR_VARS) 6 include $(CLEAR_TBLGEN_VARS) 7 8 LOCAL_MODULE:= libclangIndex 9 10 LOCAL_MODULE_TAGS := optional 11 12 TBLGEN_TABLES := \ 13 AttrList.inc \ 14 Attrs.inc \ 15 DiagnosticCommonKinds.inc \ 16 DeclNodes.inc \ 17 StmtNodes.inc 18 19 clang_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 32 LOCAL_SRC_FILES := $(clang_index_SRC_FILES) 33 34 35 include $(CLANG_HOST_BUILD_MK) 36 include $(CLANG_TBLGEN_RULES_MK) 37 include $(BUILD_HOST_STATIC_LIBRARY) 38