Deprecation message for TARGET_FLATTEN_APEX

Bug: 278826656
Test: OVERRIDE_TARGET_FLATTEN_APEX=true m nothing (shows warning)
Change-Id: I60e463348f87d8e1520245702eaa99c4c5356b61
This commit is contained in:
Jooyung Han 2023-06-02 14:15:34 +09:00
parent f9a6f5f06b
commit 4b8c962c7b

View file

@ -1000,6 +1000,14 @@ ifdef OVERRIDE_TARGET_FLATTEN_APEX
TARGET_FLATTEN_APEX := $(OVERRIDE_TARGET_FLATTEN_APEX)
endif
# TODO(b/278826656) Remove the following message
ifeq (true,$(TARGET_FLATTEN_APEX))
$(warning ********************************************************************************)
$(warning Flattened APEX will be deprecated soon. Please stop using flattened APEX and use)
$(warning "image" APEX instead.)
$(warning ********************************************************************************)
endif
ifeq (,$(TARGET_BUILD_UNBUNDLED))
ifdef PRODUCT_EXTRA_VNDK_VERSIONS
$(foreach v,$(PRODUCT_EXTRA_VNDK_VERSIONS),$(call check_vndk_version,$(v)))