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 DiagnosticLexKinds.inc \ 10 DiagnosticCommonKinds.inc \ 11 AttrSpellings.inc 12 13 clang_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 37 LOCAL_SRC_FILES := $(clang_lex_SRC_FILES) 38 39 LOCAL_MODULE:= libclangLex 40 LOCAL_MODULE_TAGS := optional 41 42 LOCAL_MODULE_TAGS := optional 43 44 include $(CLANG_HOST_BUILD_MK) 45 include $(CLANG_TBLGEN_RULES_MK) 46 include $(BUILD_HOST_STATIC_LIBRARY) 47