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 CommentCommandList.inc \ 19 CommentNodes.inc \ 20 DeclNodes.inc \ 21 DiagnosticCommonKinds.inc \ 22 DiagnosticFrontendKinds.inc \ 23 DiagnosticSemaKinds.inc \ 24 DiagnosticSerializationKinds.inc \ 25 StmtNodes.inc 26 27clang_serialization_SRC_FILES :=\ 28 ASTCommon.cpp \ 29 ASTReader.cpp \ 30 ASTReaderDecl.cpp \ 31 ASTReaderStmt.cpp \ 32 ASTWriter.cpp \ 33 ASTWriterDecl.cpp \ 34 ASTWriterStmt.cpp \ 35 GeneratePCH.cpp \ 36 GlobalModuleIndex.cpp \ 37 Module.cpp \ 38 ModuleManager.cpp 39 40LOCAL_SRC_FILES := $(clang_serialization_SRC_FILES) 41 42 43include $(CLANG_HOST_BUILD_MK) 44include $(CLANG_TBLGEN_RULES_MK) 45include $(CLANG_VERSION_INC_MK) 46include $(BUILD_HOST_STATIC_LIBRARY) 47