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