1 LOCAL_PATH:= $(call my-dir) 2 3 include $(CLEAR_TBLGEN_VARS) 4 5 TBLGEN_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 20 clang_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 ModuleFileExtension.cpp \ 32 ModuleManager.cpp 33 34 # For the host 35 # ===================================================== 36 include $(CLEAR_VARS) 37 38 LOCAL_SRC_FILES := $(clang_serialization_SRC_FILES) 39 LOCAL_MODULE:= libclangSerialization 40 LOCAL_MODULE_TAGS := optional 41 42 include $(CLANG_HOST_BUILD_MK) 43 include $(CLANG_TBLGEN_RULES_MK) 44 include $(CLANG_VERSION_INC_MK) 45 include $(BUILD_HOST_STATIC_LIBRARY) 46 47 # For the target 48 # ===================================================== 49 include $(CLEAR_VARS) 50 51 LOCAL_SRC_FILES := $(clang_serialization_SRC_FILES) 52 LOCAL_MODULE:= libclangSerialization 53 LOCAL_MODULE_TAGS := optional 54 55 include $(CLANG_DEVICE_BUILD_MK) 56 include $(CLANG_TBLGEN_RULES_MK) 57 include $(CLANG_VERSION_INC_MK) 58 include $(BUILD_STATIC_LIBRARY) 59