From 0c1f83aee4709eef7ef2a3edd384f9c192f476fd Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Tue, 12 Apr 2016 14:57:24 -0700 Subject: [PATCH] Suppress many less important clang-tidy warnings. This will suppress about 947 warnings of google-explicit-constructor and 430 warnings of google-build-using-namespace. BUG: 28150914 BUG: 28150377 Change-Id: I2e4062e8408076f3e8b46a22e3b26c7de61102dc --- Android.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Android.mk b/Android.mk index a94fbac..4711969 100644 --- a/Android.mk +++ b/Android.mk @@ -732,6 +732,10 @@ LOCAL_CFLAGS += \ $(deqp_compile_flags) \ -Wno-error=date-time +# Suppress about 947 clang-tidy warnings of google-explicit-constructor, +# and 430 warnings of google-build-using-namespace. +LOCAL_TIDY_CHECKS := -google-build-using-namespace,-google-explicit-constructor + LOCAL_SDK_VERSION := 9 LOCAL_CPPFLAGS += -Wno-non-virtual-dtor LOCAL_NDK_STL_VARIANT := gnustl_static -- 2.7.4