Home | History | Annotate | Download | only in Serialization
      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   CommentCommandList.inc \
     19   CommentNodes.inc \
     20   DeclNodes.inc \
     21   DiagnosticCommonKinds.inc \
     22   DiagnosticFrontendKinds.inc \
     23   DiagnosticSemaKinds.inc \
     24   DiagnosticSerializationKinds.inc \
     25   StmtNodes.inc
     26 
     27 clang_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 
     40 LOCAL_SRC_FILES := $(clang_serialization_SRC_FILES)
     41 
     42 
     43 include $(CLANG_HOST_BUILD_MK)
     44 include $(CLANG_TBLGEN_RULES_MK)
     45 include $(CLANG_VERSION_INC_MK)
     46 include $(BUILD_HOST_STATIC_LIBRARY)
     47