From 10efc73c063f392891398435535b0dd4b8a9ffbf Mon Sep 17 00:00:00 2001
From: Chih-Hung Hsieh <chh@google.com>
Date: Fri, 30 Sep 2016 10:41:27 -0700
Subject: [PATCH] Use DEFAULT_EXTERNAL_VENDOR_TIDY_CHECKS for
 vendor/google_devices

Many source files under vendor/google_devices
are old third party code with too many clang-tidy
misc-macro-parentheses warnings.

Test: build with WITH_TIDY=1
Change-Id: I79248af3ece9c7a4436b8cf5e6c25f224fd8201b
---
 core/clang/tidy.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/clang/tidy.mk b/core/clang/tidy.mk
index c1d485d6e..c156f3186 100644
--- a/core/clang/tidy.mk
+++ b/core/clang/tidy.mk
@@ -51,6 +51,7 @@ DEFAULT_LOCAL_TIDY_CHECKS := \
   hardware/qcom:$(DEFAULT_EXTERNAL_VENDOR_TIDY_CHECKS) \
   vendor/:$(DEFAULT_EXTERNAL_VENDOR_TIDY_CHECKS) \
   vendor/google:$(DEFAULT_GLOBAL_TIDY_CHECKS) \
+  vendor/google_devices:$(DEFAULT_EXTERNAL_VENDOR_TIDY_CHECKS) \
 
 # Returns 2nd word of $(1) if $(2) has prefix of the 1st word of $(1).
 define find_default_local_tidy_check2