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