Merge "Deprecation message for TARGET_FLATTEN_APEX" am: e5cf1f98b8 am: 61f01731ac am: ed696898c7 am: 1fb5bc31cf

Original change: https://android-review.googlesource.com/c/platform/build/+/2612969

Change-Id: I3c9c3ed97ebf0d87ef5450655fc7ece0dc28dc3d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Jooyung Han 2023-06-05 05:12:00 +00:00 committed by Automerger Merge Worker
commit 006e940a7e

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)))