Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4b4b2da1 authored by Chih-hung Hsieh's avatar Chih-hung Hsieh Committed by Gerrit Code Review
Browse files

Merge "Accept environment variables DEFAULT_*_TIDY_CHECKS"

parents 5d8c73e3 8fdda6e4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
# Global tidy checks include only google*, performance*,
# and misc-macro-parentheses, but not google-readability*
# or google-runtime-references.
DEFAULT_GLOBAL_TIDY_CHECKS := \
DEFAULT_GLOBAL_TIDY_CHECKS ?= \
  $(subst $(space),, \
    -*,google* \
    ,misc-macro-parentheses \
@@ -29,7 +29,7 @@ DEFAULT_GLOBAL_TIDY_CHECKS := \

# There are too many clang-tidy warnings in external and vendor projects.
# Enable only some google checks for these projects.
DEFAULT_EXTERNAL_VENDOR_TIDY_CHECKS := \
DEFAULT_EXTERNAL_VENDOR_TIDY_CHECKS ?= \
  $(subst $(space),, \
    -*,google* \
    ,-google-build-using-namespace \