1 LOCAL_PATH:= $(call my-dir) 2 3 include $(CLEAR_TBLGEN_VARS) 4 5 TBLGEN_TABLES := \ 6 AttrList.inc \ 7 AttrParsedAttrList.inc \ 8 Attrs.inc \ 9 AttrVisitor.inc \ 10 CommentCommandList.inc \ 11 CommentNodes.inc \ 12 DiagnosticCommonKinds.inc \ 13 DiagnosticFrontendKinds.inc \ 14 DiagnosticGroups.inc \ 15 DiagnosticSerializationKinds.inc \ 16 DeclNodes.inc \ 17 StmtNodes.inc \ 18 19 clang_libclang_SRC_FILES := \ 20 ARCMigrate.cpp \ 21 BuildSystem.cpp \ 22 CIndex.cpp \ 23 CIndexCXX.cpp \ 24 CIndexCodeCompletion.cpp \ 25 CIndexDiagnostic.cpp \ 26 CIndexHigh.cpp \ 27 CIndexInclusionStack.cpp \ 28 CIndexUSRs.cpp \ 29 CIndexer.cpp \ 30 CXComment.cpp \ 31 CXCompilationDatabase.cpp \ 32 CXCursor.cpp \ 33 CXLoadedDiagnostic.cpp \ 34 CXSourceLocation.cpp \ 35 CXStoredDiagnostic.cpp \ 36 CXString.cpp \ 37 CXType.cpp \ 38 IndexBody.cpp \ 39 IndexDecl.cpp \ 40 IndexTypeSourceInfo.cpp \ 41 Indexing.cpp \ 42 IndexingContext.cpp \ 43 44 # For the host 45 # ===================================================== 46 include $(CLEAR_VARS) 47 48 LOCAL_SRC_FILES := $(clang_libclang_SRC_FILES) 49 LOCAL_MODULE := libclangLibclang 50 LOCAL_MODULE_TAGS := optional 51 52 include $(CLANG_HOST_BUILD_MK) 53 include $(CLANG_VERSION_INC_MK) 54 include $(CLANG_TBLGEN_RULES_MK) 55 include $(BUILD_HOST_STATIC_LIBRARY) 56 57 # For the target 58 # ===================================================== 59 include $(CLEAR_VARS) 60 61 LOCAL_SRC_FILES := $(clang_libclang_SRC_FILES) 62 LOCAL_MODULE := libclangLibclang 63 LOCAL_MODULE_TAGS := optional 64 65 include $(CLANG_DEVICE_BUILD_MK) 66 include $(CLANG_VERSION_INC_MK) 67 include $(CLANG_TBLGEN_RULES_MK) 68 include $(BUILD_STATIC_LIBRARY) 69