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

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

Change-Id: I24a55a6004302412633c959ab9959645d8ed5f0f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Jooyung Han 2023-06-05 04:28:05 +00:00 committed by Automerger Merge Worker
commit 1fb5bc31cf

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