1 LOCAL_PATH:= $(call my-dir) 2 3 include $(CLEAR_TBLGEN_VARS) 4 5 TBLGEN_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 22 clang_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 # ===================================================== 51 include $(CLEAR_VARS) 52 53 LOCAL_SRC_FILES := $(clang_basic_SRC_FILES) 54 LOCAL_MODULE:= libclangBasic 55 LOCAL_MODULE_TAGS := optional 56 57 include $(CLANG_HOST_BUILD_MK) 58 include $(CLANG_VERSION_INC_MK) 59 include $(CLANG_TBLGEN_RULES_MK) 60 include $(BUILD_HOST_STATIC_LIBRARY) 61 62 # For the target 63 # ===================================================== 64 include $(CLEAR_VARS) 65 66 LOCAL_SRC_FILES := $(clang_basic_SRC_FILES) 67 LOCAL_MODULE:= libclangBasic 68 LOCAL_MODULE_TAGS := optional 69 70 include $(CLANG_DEVICE_BUILD_MK) 71 include $(CLANG_VERSION_INC_MK) 72 include $(CLANG_TBLGEN_RULES_MK) 73 include $(BUILD_STATIC_LIBRARY) 74