Logan | 150e0ef | 2011-01-19 10:29:26 +0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | # For the host only |
| 4 | # ===================================================== |
| 5 | include $(CLEAR_VARS) |
| 6 | include $(CLEAR_TBLGEN_VARS) |
| 7 | |
| 8 | LOCAL_MODULE:= libclangFrontendTool |
| 9 | |
| 10 | LOCAL_MODULE_TAGS := optional |
| 11 | |
| 12 | TBLGEN_TABLES := \ |
Stephen Hines | 176edba | 2014-12-01 14:53:08 -0800 | [diff] [blame] | 13 | DeclNodes.inc \ |
Logan | 150e0ef | 2011-01-19 10:29:26 +0800 | [diff] [blame] | 14 | DiagnosticCommonKinds.inc \ |
| 15 | DiagnosticFrontendKinds.inc \ |
Stephen Hines | 176edba | 2014-12-01 14:53:08 -0800 | [diff] [blame] | 16 | CC1Options.inc \ |
| 17 | CommentCommandList.inc \ |
| 18 | StmtNodes.inc |
Logan | 150e0ef | 2011-01-19 10:29:26 +0800 | [diff] [blame] | 19 | |
| 20 | clang_frontend_tool_SRC_FILES := \ |
| 21 | ExecuteCompilerInvocation.cpp |
| 22 | |
Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame] | 23 | LOCAL_CFLAGS += -DCLANG_ENABLE_STATIC_ANALYZER |
| 24 | LOCAL_CFLAGS += -DCLANG_ENABLE_REWRITER |
| 25 | |
Logan | 150e0ef | 2011-01-19 10:29:26 +0800 | [diff] [blame] | 26 | LOCAL_SRC_FILES := $(clang_frontend_tool_SRC_FILES) |
| 27 | |
| 28 | include $(CLANG_HOST_BUILD_MK) |
| 29 | include $(CLANG_TBLGEN_RULES_MK) |
| 30 | include $(BUILD_HOST_STATIC_LIBRARY) |