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 AttrPCHRead.inc \ 15 AttrPCHWrite.inc \ 16 DiagnosticCommonKinds.inc \ 17 DiagnosticFrontendKinds.inc \ 18 Attrs.inc \ 19 DeclNodes.inc \ 20 StmtNodes.inc 21 22clang_serialization_SRC_FILES :=\ 23 GeneratePCH.cpp \ 24 ASTCommon.cpp \ 25 ASTReader.cpp \ 26 ASTReaderDecl.cpp \ 27 ASTReaderStmt.cpp \ 28 ASTWriter.cpp \ 29 ASTWriterDecl.cpp \ 30 ASTWriterStmt.cpp \ 31 ChainedIncludesSource.cpp 32 33LOCAL_SRC_FILES := $(clang_serialization_SRC_FILES) 34 35 36include $(CLANG_HOST_BUILD_MK) 37include $(CLANG_TBLGEN_RULES_MK) 38include $(CLANG_VERSION_INC_MK) 39include $(BUILD_HOST_STATIC_LIBRARY) 40