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 OperatorPrecedence.cpp \ 35 SourceLocation.cpp \ 36 SourceManager.cpp \ 37 TargetInfo.cpp \ 38 Targets.cpp \ 39 TokenKinds.cpp \ 40 Version.cpp \ 41 VersionTuple.cpp 42 43 LOCAL_SRC_FILES := $(clang_basic_SRC_FILES) 44 45 LOCAL_MODULE:= libclangBasic 46 LOCAL_MODULE_TAGS := optional 47 48 LOCAL_MODULE_TAGS := optional 49 50 include $(CLANG_HOST_BUILD_MK) 51 include $(CLANG_VERSION_INC_MK) 52 include $(CLANG_TBLGEN_RULES_MK) 53 include $(BUILD_HOST_STATIC_LIBRARY) 54