Home | History | Annotate | Download | only in Index
      1 LOCAL_PATH:= $(call my-dir)
      2 
      3 include $(CLEAR_TBLGEN_VARS)
      4 
      5 TBLGEN_TABLES := \
      6   AttrList.inc \
      7   Attrs.inc \
      8   CommentCommandList.inc \
      9   CommentNodes.inc \
     10   DeclNodes.inc \
     11   DiagnosticCommonKinds.inc \
     12   StmtNodes.inc
     13 
     14 clang_index_SRC_FILES := \
     15   CommentToXML.cpp \
     16   USRGeneration.cpp \
     17 
     18 # For the host
     19 # =====================================================
     20 include $(CLEAR_VARS)
     21 
     22 LOCAL_SRC_FILES := $(clang_index_SRC_FILES)
     23 LOCAL_MODULE:= libclangIndex
     24 LOCAL_MODULE_TAGS := optional
     25 
     26 include $(CLANG_HOST_BUILD_MK)
     27 include $(CLANG_VERSION_INC_MK)
     28 include $(CLANG_TBLGEN_RULES_MK)
     29 include $(BUILD_HOST_STATIC_LIBRARY)
     30 
     31 # For the target
     32 # =====================================================
     33 include $(CLEAR_VARS)
     34 
     35 LOCAL_SRC_FILES := $(clang_index_SRC_FILES)
     36 LOCAL_MODULE:= libclangIndex
     37 LOCAL_MODULE_TAGS := optional
     38 
     39 include $(CLANG_DEVICE_BUILD_MK)
     40 include $(CLANG_VERSION_INC_MK)
     41 include $(CLANG_TBLGEN_RULES_MK)
     42 include $(BUILD_STATIC_LIBRARY)
     43