blob: ebbf0aadff368af1085678183460246bd538f3ab [file] [log] [blame]
LOCAL_PATH:= $(call my-dir)
# For the host only
# =====================================================
include $(CLEAR_VARS)
include $(CLEAR_TBLGEN_VARS)
TBLGEN_TABLES := \
AttrList.inc \
Attrs.inc \
CommentCommandList.inc \
CommentNodes.inc \
DeclNodes.inc \
DiagnosticCommonKinds.inc \
DiagnosticAnalysisKinds.inc \
StmtNodes.inc
clang_analysis_SRC_FILES := \
AnalysisDeclContext.cpp \
BodyFarm.cpp \
CallGraph.cpp \
CFG.cpp \
CFGReachabilityAnalysis.cpp \
CFGStmtMap.cpp \
CocoaConventions.cpp \
Dominators.cpp \
FormatString.cpp \
LiveVariables.cpp \
ObjCNoReturn.cpp \
PostOrderCFGView.cpp \
PrintfFormatString.cpp \
ProgramPoint.cpp \
PseudoConstantAnalysis.cpp \
ReachableCode.cpp \
ScanfFormatString.cpp \
ThreadSafety.cpp \
UninitializedValues.cpp
LOCAL_SRC_FILES := $(clang_analysis_SRC_FILES)
LOCAL_CFLAGS := -fno-strict-aliasing $(call-cc-cpp-option,-Qunused-arguments)
LOCAL_MODULE:= libclangAnalysis
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_TAGS := optional
include $(CLANG_HOST_BUILD_MK)
include $(CLANG_TBLGEN_RULES_MK)
include $(BUILD_HOST_STATIC_LIBRARY)