1LOCAL_PATH:= $(call my-dir)
2
3include $(CLEAR_TBLGEN_VARS)
4
5TBLGEN_TABLES := \
6  AttrHasAttributeImpl.inc \
7  DiagnosticASTKinds.inc \
8  DiagnosticAnalysisKinds.inc \
9  DiagnosticCommentKinds.inc \
10  DiagnosticCommonKinds.inc \
11  DiagnosticDriverKinds.inc \
12  DiagnosticFrontendKinds.inc \
13  DiagnosticGroups.inc \
14  DiagnosticIndexName.inc \
15  DiagnosticLexKinds.inc \
16  DiagnosticParseKinds.inc \
17  DiagnosticSemaKinds.inc \
18  DiagnosticSerializationKinds.inc \
19  arm_neon.h \
20  arm_neon.inc
21
22clang_basic_SRC_FILES := \
23  Attributes.cpp \
24  Builtins.cpp \
25  CharInfo.cpp \
26  Diagnostic.cpp \
27  DiagnosticIDs.cpp \
28  DiagnosticOptions.cpp \
29  FileManager.cpp \
30  FileSystemStatCache.cpp \
31  IdentifierTable.cpp \
32  LangOptions.cpp \
33  Module.cpp \
34  ObjCRuntime.cpp \
35  OpenMPKinds.cpp \
36  OperatorPrecedence.cpp \
37  SanitizerBlacklist.cpp \
38  Sanitizers.cpp \
39  SourceLocation.cpp \
40  SourceManager.cpp \
41  TargetInfo.cpp \
42  Targets.cpp \
43  TokenKinds.cpp \
44  Version.cpp \
45  VersionTuple.cpp \
46  VirtualFileSystem.cpp \
47  Warnings.cpp
48
49# For the host
50# =====================================================
51include $(CLEAR_VARS)
52
53LOCAL_SRC_FILES := $(clang_basic_SRC_FILES)
54LOCAL_MODULE:= libclangBasic
55LOCAL_MODULE_TAGS := optional
56
57include $(CLANG_HOST_BUILD_MK)
58include $(CLANG_VERSION_INC_MK)
59include $(CLANG_TBLGEN_RULES_MK)
60include $(BUILD_HOST_STATIC_LIBRARY)
61
62# For the target
63# =====================================================
64include $(CLEAR_VARS)
65
66LOCAL_SRC_FILES := $(clang_basic_SRC_FILES)
67LOCAL_MODULE:= libclangBasic
68LOCAL_MODULE_TAGS := optional
69
70include $(CLANG_DEVICE_BUILD_MK)
71include $(CLANG_VERSION_INC_MK)
72include $(CLANG_TBLGEN_RULES_MK)
73include $(BUILD_STATIC_LIBRARY)
74