1LOCAL_PATH:= $(call my-dir) 2 3# For the host only 4# ===================================================== 5include $(CLEAR_VARS) 6include $(CLEAR_TBLGEN_VARS) 7 8TBLGEN_TABLES := \ 9 DiagnosticLexKinds.inc \ 10 DiagnosticCommonKinds.inc \ 11 AttrSpellings.inc 12 13clang_lex_SRC_FILES := \ 14 HeaderMap.cpp \ 15 HeaderSearch.cpp \ 16 Lexer.cpp \ 17 LiteralSupport.cpp \ 18 MacroArgs.cpp \ 19 MacroInfo.cpp \ 20 ModuleMap.cpp \ 21 PPCaching.cpp \ 22 PPCallbacks.cpp \ 23 PPDirectives.cpp \ 24 PPExpressions.cpp \ 25 PPLexerChange.cpp \ 26 PPMacroExpansion.cpp \ 27 PTHLexer.cpp \ 28 Pragma.cpp \ 29 PreprocessingRecord.cpp \ 30 Preprocessor.cpp \ 31 PreprocessorLexer.cpp \ 32 ScratchBuffer.cpp \ 33 TokenConcatenation.cpp \ 34 TokenLexer.cpp 35 36LOCAL_SRC_FILES := $(clang_lex_SRC_FILES) 37 38LOCAL_MODULE:= libclangLex 39LOCAL_MODULE_TAGS := optional 40 41LOCAL_MODULE_TAGS := optional 42 43include $(CLANG_HOST_BUILD_MK) 44include $(CLANG_TBLGEN_RULES_MK) 45include $(BUILD_HOST_STATIC_LIBRARY) 46