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:= libclangSerialization 9 10 LOCAL_MODULE_TAGS := optional 11 12 TBLGEN_TABLES := \ 13 AttrList.inc \ 14 AttrParsedAttrList.inc \ 15 AttrPCHRead.inc \ 16 AttrPCHWrite.inc \ 17 Attrs.inc \ 18 DeclNodes.inc \ 19 DiagnosticCommonKinds.inc \ 20 DiagnosticFrontendKinds.inc \ 21 DiagnosticSemaKinds.inc \ 22 DiagnosticSerializationKinds.inc \ 23 StmtNodes.inc 24 25 clang_serialization_SRC_FILES :=\ 26 GeneratePCH.cpp \ 27 ASTCommon.cpp \ 28 ASTReader.cpp \ 29 ASTReaderDecl.cpp \ 30 ASTReaderStmt.cpp \ 31 ASTWriter.cpp \ 32 ASTWriterDecl.cpp \ 33 ASTWriterStmt.cpp \ 34 Module.cpp \ 35 ModuleManager.cpp 36 37 LOCAL_SRC_FILES := $(clang_serialization_SRC_FILES) 38 39 40 include $(CLANG_HOST_BUILD_MK) 41 include $(CLANG_TBLGEN_RULES_MK) 42 include $(CLANG_VERSION_INC_MK) 43 include $(BUILD_HOST_STATIC_LIBRARY) 44