1LOCAL_PATH:= $(call my-dir) 2 3# For the host only 4# ===================================================== 5include $(CLEAR_VARS) 6include $(CLEAR_TBLGEN_VARS) 7 8LOCAL_MODULE:= libclangSerialization 9 10LOCAL_MODULE_TAGS := optional 11 12TBLGEN_TABLES := \ 13 AttrList.inc \ 14 AttrParsedAttrList.inc \ 15 AttrPCHRead.inc \ 16 AttrPCHWrite.inc \ 17 Attrs.inc \ 18 CommentNodes.inc \ 19 DeclNodes.inc \ 20 DiagnosticCommonKinds.inc \ 21 DiagnosticFrontendKinds.inc \ 22 DiagnosticSemaKinds.inc \ 23 DiagnosticSerializationKinds.inc \ 24 StmtNodes.inc 25 26clang_serialization_SRC_FILES :=\ 27 GeneratePCH.cpp \ 28 ASTCommon.cpp \ 29 ASTReader.cpp \ 30 ASTReaderDecl.cpp \ 31 ASTReaderStmt.cpp \ 32 ASTWriter.cpp \ 33 ASTWriterDecl.cpp \ 34 ASTWriterStmt.cpp \ 35 Module.cpp \ 36 ModuleManager.cpp 37 38LOCAL_SRC_FILES := $(clang_serialization_SRC_FILES) 39 40 41include $(CLANG_HOST_BUILD_MK) 42include $(CLANG_TBLGEN_RULES_MK) 43include $(CLANG_VERSION_INC_MK) 44include $(BUILD_HOST_STATIC_LIBRARY) 45