• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1LOCAL_PATH:= $(call my-dir)
2
3include $(CLEAR_TBLGEN_VARS)
4
5TBLGEN_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
19clang_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# =====================================================
46include $(CLEAR_VARS)
47
48LOCAL_SRC_FILES := $(clang_libclang_SRC_FILES)
49LOCAL_MODULE := libclangLibclang
50LOCAL_MODULE_TAGS := optional
51
52include $(CLANG_HOST_BUILD_MK)
53include $(CLANG_VERSION_INC_MK)
54include $(CLANG_TBLGEN_RULES_MK)
55include $(BUILD_HOST_STATIC_LIBRARY)
56
57# For the target
58# =====================================================
59include $(CLEAR_VARS)
60
61LOCAL_SRC_FILES := $(clang_libclang_SRC_FILES)
62LOCAL_MODULE := libclangLibclang
63LOCAL_MODULE_TAGS := optional
64
65include $(CLANG_DEVICE_BUILD_MK)
66include $(CLANG_VERSION_INC_MK)
67include $(CLANG_TBLGEN_RULES_MK)
68include $(BUILD_STATIC_LIBRARY)
69