1150e0efec6302fa5a8c3b5c3c4ecf5778d3a29f5LoganLOCAL_PATH:= $(call my-dir) 2150e0efec6302fa5a8c3b5c3c4ecf5778d3a29f5Logan 3150e0efec6302fa5a8c3b5c3c4ecf5778d3a29f5Logan# For the host only 4150e0efec6302fa5a8c3b5c3c4ecf5778d3a29f5Logan# ===================================================== 5150e0efec6302fa5a8c3b5c3c4ecf5778d3a29f5Loganinclude $(CLEAR_VARS) 6150e0efec6302fa5a8c3b5c3c4ecf5778d3a29f5Loganinclude $(CLEAR_TBLGEN_VARS) 7150e0efec6302fa5a8c3b5c3c4ecf5778d3a29f5Logan 8150e0efec6302fa5a8c3b5c3c4ecf5778d3a29f5LoganLOCAL_MODULE:= libclangFrontendTool 9150e0efec6302fa5a8c3b5c3c4ecf5778d3a29f5Logan 10150e0efec6302fa5a8c3b5c3c4ecf5778d3a29f5LoganLOCAL_MODULE_TAGS := optional 11150e0efec6302fa5a8c3b5c3c4ecf5778d3a29f5Logan 12150e0efec6302fa5a8c3b5c3c4ecf5778d3a29f5LoganTBLGEN_TABLES := \ 13150e0efec6302fa5a8c3b5c3c4ecf5778d3a29f5Logan DiagnosticCommonKinds.inc \ 14150e0efec6302fa5a8c3b5c3c4ecf5778d3a29f5Logan DiagnosticFrontendKinds.inc \ 15150e0efec6302fa5a8c3b5c3c4ecf5778d3a29f5Logan CC1Options.inc 16150e0efec6302fa5a8c3b5c3c4ecf5778d3a29f5Logan 17150e0efec6302fa5a8c3b5c3c4ecf5778d3a29f5Loganclang_frontend_tool_SRC_FILES := \ 18150e0efec6302fa5a8c3b5c3c4ecf5778d3a29f5Logan ExecuteCompilerInvocation.cpp 19150e0efec6302fa5a8c3b5c3c4ecf5778d3a29f5Logan 20651f13cea278ec967336033dd032faef0e9fc2ecStephen HinesLOCAL_CFLAGS += -DCLANG_ENABLE_STATIC_ANALYZER 21651f13cea278ec967336033dd032faef0e9fc2ecStephen HinesLOCAL_CFLAGS += -DCLANG_ENABLE_REWRITER 22651f13cea278ec967336033dd032faef0e9fc2ecStephen Hines 23150e0efec6302fa5a8c3b5c3c4ecf5778d3a29f5LoganLOCAL_SRC_FILES := $(clang_frontend_tool_SRC_FILES) 24150e0efec6302fa5a8c3b5c3c4ecf5778d3a29f5Logan 25150e0efec6302fa5a8c3b5c3c4ecf5778d3a29f5Loganinclude $(CLANG_HOST_BUILD_MK) 26150e0efec6302fa5a8c3b5c3c4ecf5778d3a29f5Loganinclude $(CLANG_TBLGEN_RULES_MK) 27150e0efec6302fa5a8c3b5c3c4ecf5778d3a29f5Loganinclude $(BUILD_HOST_STATIC_LIBRARY) 28