summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2016-10-05 12:40:46 -0700
committerChih-Hung Hsieh <chh@google.com>2016-10-05 12:40:46 -0700
commitf2eef891456126617e25fcb754e28eada3b21a55 (patch)
tree50264044a7e2f19b876c81af625fd6f6ecc6feae
parenta53057c79c979fa16ee272a7cc7021a067225115 (diff)
downloadfio-f2eef891456126617e25fcb754e28eada3b21a55.tar.gz
Disable clang-analyzer checks.
For some special builds that enable clang-tidy checks, disable the clang-analyzer-* checks. Bug: 31559947 Test: make with WITH_TIDY=1 and WITH_TIDY_CHECKS=* Change-Id: I232d536b8c2ecd5d866a12e3c95d4a5eee89e8b9
-rw-r--r--Android.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 4046154b..29dd2819 100644
--- a/Android.mk
+++ b/Android.mk
@@ -17,6 +17,9 @@ LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
+# b/31559947, work around clang-tidy bug, disable clang-analyzer checks.
+LOCAL_TIDY_CHECKS := -clang-analyzer*
+
LOCAL_CFLAGS_32 += -DBITS_PER_LONG=32 -DCONFIG_64BIT
LOCAL_CFLAGS_64 += -DBITS_PER_LONG=64 -DCONFIG_32BIT