Android.mk revision 651f13cea278ec967336033dd032faef0e9fc2ec
1LOCAL_PATH:= $(call my-dir)
2
3clang_static_analyzer_frontend_C_INCLUDES := \
4  $(CLANG_ROOT_PATH)/lib/StaticAnalyzer/Checkers
5
6clang_static_analyzer_frontend_TBLGEN_TABLES := \
7  AttrList.inc \
8  Attrs.inc \
9  AttrVisitor.inc \
10  CommentCommandList.inc \
11  CommentNodes.inc \
12  DeclNodes.inc \
13  DiagnosticCommonKinds.inc \
14  DiagnosticFrontendKinds.inc \
15  StmtNodes.inc
16
17clang_static_analyzer_frontend_SRC_FILES := \
18  AnalysisConsumer.cpp \
19  CheckerRegistration.cpp \
20  FrontendActions.cpp
21
22# For the host only
23# =====================================================
24include $(CLEAR_VARS)
25include $(CLEAR_TBLGEN_VARS)
26
27TBLGEN_TABLES := $(clang_static_analyzer_frontend_TBLGEN_TABLES)
28
29LOCAL_SRC_FILES := $(clang_static_analyzer_frontend_SRC_FILES)
30
31LOCAL_C_INCLUDES := $(clang_static_analyzer_frontend_C_INCLUDES)
32
33LOCAL_MODULE:= libclangStaticAnalyzerFrontend
34
35LOCAL_MODULE_TAGS := optional
36
37include $(CLANG_HOST_BUILD_MK)
38include $(CLANG_TBLGEN_RULES_MK)
39include $(CLANG_VERSION_INC_MK)
40include $(BUILD_HOST_STATIC_LIBRARY)
41