OSDN Git Service

Use DEFAULT_EXTERNAL_VENDOR_TIDY_CHECKS for vendor/google_devices
authorChih-Hung Hsieh <chh@google.com>
Fri, 30 Sep 2016 17:41:27 +0000 (10:41 -0700)
committerChih-Hung Hsieh <chh@google.com>
Fri, 30 Sep 2016 21:50:43 +0000 (14:50 -0700)
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

index c1d485d..c156f31 100644 (file)
@@ -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