Merge "Exclude dirs from binder interface whitelisting"

This commit is contained in:
Ivan Lozano 2019-12-06 02:25:10 +00:00 committed by Gerrit Code Review
commit deaf3fc74a
1 changed files with 6 additions and 0 deletions

View File

@ -84,6 +84,12 @@ ifneq ($(NATIVE_COVERAGE),true)
my_native_coverage := false
endif
# Exclude directories from manual binder interface whitelisting.
# TODO(b/145621474): Move this check into IInterface.h when clang-tidy no longer uses absolute paths.
ifneq (,$(filter $(addsuffix %,$(ALLOWED_MANUAL_INTERFACE_PATHS)),$(LOCAL_PATH)))
my_cflags += -DDO_NOT_CHECK_MANUAL_BINDER_INTERFACES
endif
ifneq ($(strip $(ENABLE_XOM)),false)
ifndef LOCAL_IS_HOST_MODULE
my_xom := true