1LOCAL_PATH:= $(call my-dir) 2 3clang_static_analyzer_checkers_TBLGEN_TABLES := \ 4 AttrKinds.inc \ 5 AttrList.inc \ 6 AttrParsedAttrList.inc \ 7 Attrs.inc \ 8 Checkers.inc \ 9 CommentNodes.inc \ 10 DeclNodes.inc \ 11 DiagnosticCommonKinds.inc \ 12 StmtNodes.inc 13 14clang_static_analyzer_checkers_SRC_FILES := \ 15 AnalyzerStatsChecker.cpp \ 16 ArrayBoundChecker.cpp \ 17 ArrayBoundCheckerV2.cpp \ 18 AttrNonNullChecker.cpp \ 19 BasicObjCFoundationChecks.cpp \ 20 BoolAssignmentChecker.cpp \ 21 BuiltinFunctionChecker.cpp \ 22 CStringChecker.cpp \ 23 CStringSyntaxChecker.cpp \ 24 CallAndMessageChecker.cpp \ 25 CastSizeChecker.cpp \ 26 CastToStructChecker.cpp \ 27 CheckObjCDealloc.cpp \ 28 CheckObjCInstMethSignature.cpp \ 29 CheckSecuritySyntaxOnly.cpp \ 30 CheckSizeofPointer.cpp \ 31 CheckerDocumentation.cpp \ 32 ChrootChecker.cpp \ 33 ClangCheckers.cpp \ 34 CommonBugCategories.cpp \ 35 DeadStoresChecker.cpp \ 36 DebugCheckers.cpp \ 37 DereferenceChecker.cpp \ 38 DivZeroChecker.cpp \ 39 DynamicTypePropagation.cpp \ 40 ExprInspectionChecker.cpp \ 41 FixedAddressChecker.cpp \ 42 GenericTaintChecker.cpp \ 43 IdempotentOperationChecker.cpp \ 44 LLVMConventionsChecker.cpp \ 45 MacOSKeychainAPIChecker.cpp \ 46 MacOSXAPIChecker.cpp \ 47 MallocChecker.cpp \ 48 MallocOverflowSecurityChecker.cpp \ 49 MallocSizeofChecker.cpp \ 50 NSAutoreleasePoolChecker.cpp \ 51 NSErrorChecker.cpp \ 52 NoReturnFunctionChecker.cpp \ 53 OSAtomicChecker.cpp \ 54 ObjCAtSyncChecker.cpp \ 55 ObjCContainersASTChecker.cpp \ 56 ObjCContainersChecker.cpp \ 57 ObjCSelfInitChecker.cpp \ 58 ObjCUnusedIVarsChecker.cpp \ 59 PointerArithChecker.cpp \ 60 PointerSubChecker.cpp \ 61 PthreadLockChecker.cpp \ 62 RetainCountChecker.cpp \ 63 ReturnPointerRangeChecker.cpp \ 64 ReturnUndefChecker.cpp \ 65 StackAddrEscapeChecker.cpp \ 66 StreamChecker.cpp \ 67 TaintTesterChecker.cpp \ 68 TraversalChecker.cpp \ 69 UndefBranchChecker.cpp \ 70 UndefCapturedBlockVarChecker.cpp \ 71 UndefResultChecker.cpp \ 72 UndefinedArraySubscriptChecker.cpp \ 73 UndefinedAssignmentChecker.cpp \ 74 UnixAPIChecker.cpp \ 75 UnreachableCodeChecker.cpp \ 76 VirtualCallChecker.cpp \ 77 VLASizeChecker.cpp 78 79# For the host only 80# ===================================================== 81include $(CLEAR_VARS) 82include $(CLEAR_TBLGEN_VARS) 83 84TBLGEN_TABLES := $(clang_static_analyzer_checkers_TBLGEN_TABLES) 85 86LOCAL_SRC_FILES := $(clang_static_analyzer_checkers_SRC_FILES) 87 88LOCAL_MODULE:= libclangStaticAnalyzerCheckers 89 90LOCAL_MODULE_TAGS := optional 91 92include $(CLANG_HOST_BUILD_MK) 93include $(CLANG_TBLGEN_RULES_MK) 94include $(CLANG_VERSION_INC_MK) 95include $(BUILD_HOST_STATIC_LIBRARY) 96