Condition VNDK check on TARGET_BUILD_APPS
Bug: 113560265 Test: (with the topic) Test: mv prebuilts/vndk/v28 v28 Test: make TARGET_PRODUCT=aosp_arm TARGET_BUILD_APPS=Launcher3 TARGET_BUILD_VARIANT=userdebug --> build pass Test: lunch aosp_arm-userdebug --> error: VNDK version 28 not found Test: mv v28 prebuilts/vndk/v28 Test: lunch aosp_arm-userdebug --> no error Change-Id: Ifb553a5ee4cec8b3f3b79aebdf824d64571fa817
This commit is contained in:
parent
5f8eb7c553
commit
924d2d929d
1 changed files with 2 additions and 0 deletions
|
@ -446,9 +446,11 @@ else
|
|||
TARGET_VENDOR_TEST_SUFFIX :=
|
||||
endif
|
||||
|
||||
ifeq (,$(TARGET_BUILD_APPS))
|
||||
ifdef PRODUCT_EXTRA_VNDK_VERSIONS
|
||||
$(foreach v,$(PRODUCT_EXTRA_VNDK_VERSIONS),$(call check_vndk_version,$(v)))
|
||||
endif
|
||||
endif
|
||||
|
||||
# Ensure that BOARD_SYSTEMSDK_VERSIONS are all within PLATFORM_SYSTEMSDK_VERSIONS
|
||||
_unsupported_systemsdk_versions := $(filter-out $(PLATFORM_SYSTEMSDK_VERSIONS),$(BOARD_SYSTEMSDK_VERSIONS))
|
||||
|
|
Loading…
Reference in a new issue