1LOCAL_PATH:= $(call my-dir) 2 3clang_codegen_TBLGEN_TABLES := \ 4 AttrList.inc \ 5 Attrs.inc \ 6 CommentCommandList.inc \ 7 CommentNodes.inc \ 8 DeclNodes.inc \ 9 DiagnosticCommonKinds.inc \ 10 DiagnosticFrontendKinds.inc \ 11 DiagnosticSemaKinds.inc \ 12 StmtNodes.inc \ 13 arm_neon.inc 14 15clang_codegen_SRC_FILES := \ 16 BackendUtil.cpp \ 17 CGAtomic.cpp \ 18 CGBlocks.cpp \ 19 CGBuiltin.cpp \ 20 CGCUDANV.cpp \ 21 CGCUDARuntime.cpp \ 22 CGCXX.cpp \ 23 CGCXXABI.cpp \ 24 CGCall.cpp \ 25 CGClass.cpp \ 26 CGCleanup.cpp \ 27 CGDebugInfo.cpp \ 28 CGDecl.cpp \ 29 CGDeclCXX.cpp \ 30 CGException.cpp \ 31 CGExpr.cpp \ 32 CGExprAgg.cpp \ 33 CGExprCXX.cpp \ 34 CGExprComplex.cpp \ 35 CGExprConstant.cpp \ 36 CGExprScalar.cpp \ 37 CGObjC.cpp \ 38 CGObjCGNU.cpp \ 39 CGObjCMac.cpp \ 40 CGObjCRuntime.cpp \ 41 CGOpenCLRuntime.cpp \ 42 CGRTTI.cpp \ 43 CGRecordLayoutBuilder.cpp \ 44 CGStmt.cpp \ 45 CGVTT.cpp \ 46 CGVTables.cpp \ 47 CodeGenAction.cpp \ 48 CodeGenFunction.cpp \ 49 CodeGenModule.cpp \ 50 CodeGenTBAA.cpp \ 51 CodeGenTypes.cpp \ 52 ItaniumCXXABI.cpp \ 53 MicrosoftCXXABI.cpp \ 54 MicrosoftVBTables.cpp \ 55 ModuleBuilder.cpp \ 56 TargetInfo.cpp 57 58# For the host only 59# ===================================================== 60include $(CLEAR_VARS) 61include $(CLEAR_TBLGEN_VARS) 62 63LOCAL_MODULE:= libclangCodeGen 64LOCAL_MODULE_TAGS := optional 65 66LOCAL_SRC_FILES := $(clang_codegen_SRC_FILES) 67TBLGEN_TABLES := $(clang_codegen_TBLGEN_TABLES) 68 69include $(CLANG_HOST_BUILD_MK) 70include $(CLANG_VERSION_INC_MK) 71include $(CLANG_TBLGEN_RULES_MK) 72include $(LLVM_GEN_INTRINSICS_MK) 73include $(BUILD_HOST_STATIC_LIBRARY) 74