From: Chih-Hung Hsieh Date: Fri, 29 Apr 2016 22:16:59 +0000 (-0700) Subject: Suppress google-* checks in vendor modules. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=30f86e4ab8cc53329752f26e79f4cc0b80e5485c;p=android-x86%2Fbuild.git Suppress google-* checks in vendor modules. Too many warnings in vendor code that we cannot fix yet. Bug: http://b/27779618 Change-Id: I8b65b1fd55c4e4d0dadf0617ab25962809237309 --- diff --git a/core/clang/tidy.mk b/core/clang/tidy.mk index e8a69ef64..e61b87852 100644 --- a/core/clang/tidy.mk +++ b/core/clang/tidy.mk @@ -29,10 +29,15 @@ DEFAULT_GLOBAL_TIDY_CHECKS := \ # where google-runtime-int is enabled at the end. DEFAULT_LOCAL_TIDY_CHECKS := \ external/:,-google-build-using-namespace \ - external/:,-google-explicit-constructor \ - external/:,-google-runtime-int \ + external/:,-google-explicit-constructor,-google-runtime-int \ external/google:,google-runtime-int \ external/webrtc/:,google-runtime-int \ + hardware/qcom:,-google-build-using-namespace \ + hardware/qcom:,-google-explicit-constructor,-google-runtime-int \ + vendor/lge:,-google-build-using-namespace \ + vendor/lge:,-google-explicit-constructor,-google-runtime-int \ + vendor/widevine:,-google-build-using-namespace \ + vendor/widevine:,-google-explicit-constructor,-google-runtime-int \ # Returns 2nd word of $(1) if $(2) has prefix of the 1st word of $(1). define find_default_local_tidy_check2