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

Commit e8741ec1 authored by Chih-hung Hsieh's avatar Chih-hung Hsieh Committed by Automerger Merge Worker
Browse files

Merge "Do not append empty DEFAULT_TIDY_HEADER_DIRS" am: 9f9236ec

Original change: https://android-review.googlesource.com/c/platform/build/+/1584714

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Iaa822bdba750d2c64b95786aa60a7867671ba870
parents 41e93101 9f9236ec
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ $(lastword \
)
endef

# Default filter contains current directory $1 and DEFAULT_TIDY_HEADER_DIRS.
# Default filter contains current directory $1 and optional DEFAULT_TIDY_HEADER_DIRS.
define default_tidy_header_filter
  -header-filter="($(subst $(space),,$1|$(DEFAULT_TIDY_HEADER_DIRS)))"
  -header-filter=$(if $(DEFAULT_TIDY_HEADER_DIRS),"($1/|$(DEFAULT_TIDY_HEADER_DIRS))",$1/)
endef