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 PPCaching.cpp \ 21 PPDirectives.cpp \ 22 PPExpressions.cpp \ 23 PPLexerChange.cpp \ 24 PPMacroExpansion.cpp \ 25 PTHLexer.cpp \ 26 Pragma.cpp \ 27 PreprocessingRecord.cpp \ 28 Preprocessor.cpp \ 29 PreprocessorLexer.cpp \ 30 ScratchBuffer.cpp \ 31 TokenConcatenation.cpp \ 32 TokenLexer.cpp 33 34LOCAL_SRC_FILES := $(clang_lex_SRC_FILES) 35 36LOCAL_MODULE:= libclangLex 37LOCAL_MODULE_TAGS := optional 38 39LOCAL_MODULE_TAGS := optional 40 41include $(CLANG_HOST_BUILD_MK) 42include $(CLANG_TBLGEN_RULES_MK) 43include $(BUILD_HOST_STATIC_LIBRARY) 44