106 lines
2.8 KiB
Makefile
106 lines
2.8 KiB
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
|
|
clang_static_analyzer_checkers_TBLGEN_TABLES := \
|
|
AttrKinds.inc \
|
|
AttrList.inc \
|
|
AttrParsedAttrList.inc \
|
|
Attrs.inc \
|
|
AttrVisitor.inc \
|
|
Checkers.inc \
|
|
CommentCommandList.inc \
|
|
CommentNodes.inc \
|
|
DeclNodes.inc \
|
|
DiagnosticCommonKinds.inc \
|
|
StmtNodes.inc
|
|
|
|
clang_static_analyzer_checkers_SRC_FILES := \
|
|
AllocationDiagnostics.cpp \
|
|
AnalyzerStatsChecker.cpp \
|
|
ArrayBoundChecker.cpp \
|
|
ArrayBoundCheckerV2.cpp \
|
|
BasicObjCFoundationChecks.cpp \
|
|
BoolAssignmentChecker.cpp \
|
|
BuiltinFunctionChecker.cpp \
|
|
CallAndMessageChecker.cpp \
|
|
CastSizeChecker.cpp \
|
|
CastToStructChecker.cpp \
|
|
CheckerDocumentation.cpp \
|
|
CheckObjCDealloc.cpp \
|
|
CheckObjCInstMethSignature.cpp \
|
|
CheckSecuritySyntaxOnly.cpp \
|
|
CheckSizeofPointer.cpp \
|
|
ChrootChecker.cpp \
|
|
ClangCheckers.cpp \
|
|
CStringChecker.cpp \
|
|
CStringSyntaxChecker.cpp \
|
|
DeadStoresChecker.cpp \
|
|
DebugCheckers.cpp \
|
|
DereferenceChecker.cpp \
|
|
DirectIvarAssignment.cpp \
|
|
DivZeroChecker.cpp \
|
|
DynamicTypeChecker.cpp \
|
|
DynamicTypePropagation.cpp \
|
|
ExprInspectionChecker.cpp \
|
|
FixedAddressChecker.cpp \
|
|
GenericTaintChecker.cpp \
|
|
IdenticalExprChecker.cpp \
|
|
IvarInvalidationChecker.cpp \
|
|
LLVMConventionsChecker.cpp \
|
|
LocalizationChecker.cpp \
|
|
MacOSKeychainAPIChecker.cpp \
|
|
MacOSXAPIChecker.cpp \
|
|
MallocChecker.cpp \
|
|
MallocOverflowSecurityChecker.cpp \
|
|
MallocSizeofChecker.cpp \
|
|
NonNullParamChecker.cpp \
|
|
NoReturnFunctionChecker.cpp \
|
|
NSAutoreleasePoolChecker.cpp \
|
|
NSErrorChecker.cpp \
|
|
NullabilityChecker.cpp \
|
|
ObjCAtSyncChecker.cpp \
|
|
ObjCContainersASTChecker.cpp \
|
|
ObjCContainersChecker.cpp \
|
|
ObjCMissingSuperCallChecker.cpp \
|
|
ObjCSelfInitChecker.cpp \
|
|
ObjCUnusedIVarsChecker.cpp \
|
|
PaddingChecker.cpp \
|
|
PointerArithChecker.cpp \
|
|
PointerSubChecker.cpp \
|
|
PthreadLockChecker.cpp \
|
|
RetainCountChecker.cpp \
|
|
ReturnPointerRangeChecker.cpp \
|
|
ReturnUndefChecker.cpp \
|
|
SimpleStreamChecker.cpp \
|
|
StackAddrEscapeChecker.cpp \
|
|
StreamChecker.cpp \
|
|
TaintTesterChecker.cpp \
|
|
TestAfterDivZeroChecker.cpp \
|
|
TraversalChecker.cpp \
|
|
UndefBranchChecker.cpp \
|
|
UndefCapturedBlockVarChecker.cpp \
|
|
UndefinedArraySubscriptChecker.cpp \
|
|
UndefinedAssignmentChecker.cpp \
|
|
UndefResultChecker.cpp \
|
|
UnixAPIChecker.cpp \
|
|
UnreachableCodeChecker.cpp \
|
|
VforkChecker.cpp \
|
|
VirtualCallChecker.cpp \
|
|
VLASizeChecker.cpp
|
|
|
|
# For the host only
|
|
# =====================================================
|
|
include $(CLEAR_VARS)
|
|
include $(CLEAR_TBLGEN_VARS)
|
|
|
|
TBLGEN_TABLES := $(clang_static_analyzer_checkers_TBLGEN_TABLES)
|
|
|
|
LOCAL_SRC_FILES := $(clang_static_analyzer_checkers_SRC_FILES)
|
|
|
|
LOCAL_MODULE:= libclangStaticAnalyzerCheckers
|
|
|
|
LOCAL_MODULE_TAGS := optional
|
|
|
|
include $(CLANG_HOST_BUILD_MK)
|
|
include $(CLANG_TBLGEN_RULES_MK)
|
|
include $(CLANG_VERSION_INC_MK)
|
|
include $(BUILD_HOST_STATIC_LIBRARY)
|