Merge "Stops including extra VNDK apexes if the VNDK current apex is on vendor."

This commit is contained in:
Daniel Norman
2021-01-15 16:31:58 +00:00
committed by Gerrit Code Review

View File

@@ -161,7 +161,10 @@ endif
include $(BUILD_PHONY_PACKAGE) include $(BUILD_PHONY_PACKAGE)
include $(CLEAR_VARS) include $(CLEAR_VARS)
_vndk_versions := $(PRODUCT_EXTRA_VNDK_VERSIONS) _vndk_versions :=
ifeq ($(filter com.android.vndk.current.on_vendor, $(PRODUCT_PACKAGES)),)
_vndk_versions += $(PRODUCT_EXTRA_VNDK_VERSIONS)
endif
ifneq ($(BOARD_VNDK_VERSION),current) ifneq ($(BOARD_VNDK_VERSION),current)
_vndk_versions += $(BOARD_VNDK_VERSION) _vndk_versions += $(BOARD_VNDK_VERSION)
endif endif