1 LOCAL_PATH:= $(call my-dir) 2 3 # For the host only 4 # ===================================================== 5 include $(CLEAR_VARS) 6 include $(CLEAR_TBLGEN_VARS) 7 8 TBLGEN_TABLES := \ 9 DiagnosticASTKinds.inc \ 10 DiagnosticAnalysisKinds.inc \ 11 DiagnosticCommentKinds.inc \ 12 DiagnosticCommonKinds.inc \ 13 DiagnosticDriverKinds.inc \ 14 DiagnosticFrontendKinds.inc \ 15 DiagnosticGroups.inc \ 16 DiagnosticIndexName.inc \ 17 DiagnosticLexKinds.inc \ 18 DiagnosticParseKinds.inc \ 19 DiagnosticSemaKinds.inc \ 20 DiagnosticSerializationKinds.inc \ 21 arm_neon.inc 22 23 clang_basic_SRC_FILES := \ 24 Builtins.cpp \ 25 CharInfo.cpp \ 26 Diagnostic.cpp \ 27 DiagnosticIDs.cpp \ 28 FileManager.cpp \ 29 FileSystemStatCache.cpp \ 30 IdentifierTable.cpp \ 31 LangOptions.cpp \ 32 Module.cpp \ 33 ObjCRuntime.cpp \ 34 OpenMPKinds.cpp \ 35 OperatorPrecedence.cpp \ 36 SourceLocation.cpp \ 37 SourceManager.cpp \ 38 TargetInfo.cpp \ 39 Targets.cpp \ 40 TokenKinds.cpp \ 41 Version.cpp \ 42 VersionTuple.cpp 43 44 LOCAL_SRC_FILES := $(clang_basic_SRC_FILES) 45 46 LOCAL_MODULE:= libclangBasic 47 LOCAL_MODULE_TAGS := optional 48 49 LOCAL_MODULE_TAGS := optional 50 51 include $(CLANG_HOST_BUILD_MK) 52 include $(CLANG_VERSION_INC_MK) 53 include $(CLANG_TBLGEN_RULES_MK) 54 include $(BUILD_HOST_STATIC_LIBRARY) 55