Fix make conditional

`ifeq (foo,foo,)` is treated like `foo == foo,` which is not what we
want here, we want to clear this variable for user builds.

Change-Id: I57f92c7267102c9f3ac2b0130228de0b3036ac66
This commit is contained in:
Dan Willemsen 2021-12-21 21:54:15 +00:00
parent f6e4b7b769
commit 1637c37d21

View file

@ -412,7 +412,7 @@ $(foreach c,$(PRODUCT_SANITIZER_MODULE_CONFIGS),\
_psmc_modules := _psmc_modules :=
# Reset ADB keys for non-debuggable builds # Reset ADB keys for non-debuggable builds
ifeq (,$(filter eng userdebug,$(TARGET_BUILD_VARIANT)),) ifeq (,$(filter eng userdebug,$(TARGET_BUILD_VARIANT)))
PRODUCT_ADB_KEYS := PRODUCT_ADB_KEYS :=
endif endif
ifneq ($(filter-out 0 1,$(words $(PRODUCT_ADB_KEYS))),) ifneq ($(filter-out 0 1,$(words $(PRODUCT_ADB_KEYS))),)