Android.mk revision e559960d1ce602c55b8a4800068148f0ccf5defd
1LOCAL_PATH:= $(call my-dir) 2 3include $(CLEAR_TBLGEN_VARS) 4 5TBLGEN_TABLES := \ 6 AttrList.inc \ 7 Attrs.inc \ 8 AttrParsedAttrList.inc \ 9 AttrVisitor.inc \ 10 CC1Options.inc \ 11 CommentCommandList.inc \ 12 CommentNodes.inc \ 13 DiagnosticASTKinds.inc \ 14 DiagnosticCommonKinds.inc \ 15 DiagnosticDriverKinds.inc \ 16 DiagnosticFrontendKinds.inc \ 17 DiagnosticLexKinds.inc \ 18 DiagnosticSemaKinds.inc \ 19 DeclNodes.inc \ 20 StmtNodes.inc 21 22clang_frontend_SRC_FILES := \ 23 ASTConsumers.cpp \ 24 ASTMerge.cpp \ 25 ASTUnit.cpp \ 26 CacheTokens.cpp \ 27 ChainedDiagnosticConsumer.cpp \ 28 ChainedIncludesSource.cpp \ 29 CompilerInstance.cpp \ 30 CompilerInvocation.cpp \ 31 CreateInvocationFromCommandLine.cpp \ 32 DependencyFile.cpp \ 33 DependencyGraph.cpp \ 34 DiagnosticRenderer.cpp \ 35 FrontendAction.cpp \ 36 FrontendActions.cpp \ 37 FrontendOptions.cpp \ 38 HeaderIncludeGen.cpp \ 39 InitHeaderSearch.cpp \ 40 InitPreprocessor.cpp \ 41 LangStandards.cpp \ 42 LayoutOverrideSource.cpp \ 43 LogDiagnosticPrinter.cpp \ 44 ModuleDependencyCollector.cpp \ 45 MultiplexConsumer.cpp \ 46 PrintPreprocessedOutput.cpp \ 47 SerializedDiagnosticPrinter.cpp \ 48 TextDiagnostic.cpp \ 49 TextDiagnosticBuffer.cpp \ 50 TextDiagnosticPrinter.cpp \ 51 VerifyDiagnosticConsumer.cpp 52 53# For the host 54# ===================================================== 55include $(CLEAR_VARS) 56 57LOCAL_SRC_FILES := $(clang_frontend_SRC_FILES) 58LOCAL_MODULE:= libclangFrontend 59LOCAL_MODULE_TAGS:= optional 60 61include $(CLANG_HOST_BUILD_MK) 62include $(CLANG_TBLGEN_RULES_MK) 63include $(CLANG_VERSION_INC_MK) 64include $(BUILD_HOST_STATIC_LIBRARY) 65 66# For the target 67# ===================================================== 68include $(CLEAR_VARS) 69 70LOCAL_SRC_FILES := $(clang_frontend_SRC_FILES) 71LOCAL_MODULE:= libclangFrontend 72LOCAL_MODULE_TAGS:= optional 73 74include $(CLANG_DEVICE_BUILD_MK) 75include $(CLANG_TBLGEN_RULES_MK) 76include $(CLANG_VERSION_INC_MK) 77include $(BUILD_STATIC_LIBRARY) 78