Suppress many less important clang-tidy warnings. am: 0c1f83a
authorChih-Hung Hsieh <chh@google.com>
Wed, 13 Apr 2016 00:30:35 +0000 (00:30 +0000)
committerandroid-build-merger <android-build-merger@google.com>
Wed, 13 Apr 2016 00:30:35 +0000 (00:30 +0000)
am: c5e1ad2

* commit 'c5e1ad2dd5890a12a5160d6d30cfeb1410698528':
  Suppress many less important clang-tidy warnings.

Change-Id: Ib7ed4b255d04259b6689e56929b94e42178bd0da

1  2 
Android.mk

diff --cc Android.mk
@@@ -908,10 -729,15 +908,14 @@@ LOCAL_STATIC_LIBRARIES := 
                libpng_ndk \
  
  LOCAL_CFLAGS += \
 -      $(deqp_compile_flags) \
 -      -Wno-error=date-time
 +      $(deqp_compile_flags)
  
+ # 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_CPPFLAGS += -Wno-non-virtual-dtor -fwrapv
  LOCAL_NDK_STL_VARIANT := gnustl_static
  LOCAL_RTTI_FLAG := -frtti -fexceptions
  LOCAL_MULTILIB := both