Exclude dirs from binder interface whitelisting
Exclude vendor/ and hardware/ from the manually written binder interface whitelist. Bug: 136279235 Test: interfaces in excluded directories are not checked against whitelist. Change-Id: I71152995466a25e92b6d0b153538ebfc1b252f5b
This commit is contained in:
@@ -84,6 +84,12 @@ ifneq ($(NATIVE_COVERAGE),true)
|
|||||||
my_native_coverage := false
|
my_native_coverage := false
|
||||||
endif
|
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)
|
ifneq ($(strip $(ENABLE_XOM)),false)
|
||||||
ifndef LOCAL_IS_HOST_MODULE
|
ifndef LOCAL_IS_HOST_MODULE
|
||||||
my_xom := true
|
my_xom := true
|
||||||
|
Reference in New Issue
Block a user