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