Suppress google-* checks in vendor modules.

Too many warnings in vendor code that we cannot fix yet.

Bug: http://b/27779618
Change-Id: I8b65b1fd55c4e4d0dadf0617ab25962809237309
This commit is contained in:
Chih-Hung Hsieh
2016-04-29 15:16:59 -07:00
parent fb737e9002
commit 30f86e4ab8

View File

@@ -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