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