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 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 36 LOCAL_SRC_FILES := $(clang_lex_SRC_FILES) 37 38 LOCAL_MODULE:= libclangLex 39 LOCAL_MODULE_TAGS := optional 40 41 LOCAL_MODULE_TAGS := optional 42 43 include $(CLANG_HOST_BUILD_MK) 44 include $(CLANG_TBLGEN_RULES_MK) 45 include $(BUILD_HOST_STATIC_LIBRARY) 46