Merge "Remove TARGET_FLATTEN_APEX" into main am: 5d7f9cb2a1
Original change: https://android-review.googlesource.com/c/platform/build/+/2727593 Change-Id: Ide054683665fe88e04f46f607b7408f1b7ccda01 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -5775,9 +5775,6 @@ endif
|
||||
ifeq ($(BUILDING_WITH_VSDK),true)
|
||||
$(hide) echo "building_with_vsdk=true" >> $@
|
||||
endif
|
||||
ifeq ($(TARGET_FLATTEN_APEX),false)
|
||||
$(hide) echo "target_flatten_apex=false" >> $@
|
||||
endif
|
||||
|
||||
$(call declare-0p-target,$(INSTALLED_FASTBOOT_INFO_TARGET))
|
||||
|
||||
|
@@ -971,24 +971,6 @@ ifneq ($(BOARD_VNDK_VERSION),current)
|
||||
endif
|
||||
TARGET_VENDOR_TEST_SUFFIX := /vendor
|
||||
|
||||
###########################################
|
||||
# APEXes are by default not flattened, i.e. updatable.
|
||||
#
|
||||
# APEX flattening can also be forcibly enabled (resp. disabled) by
|
||||
# setting OVERRIDE_TARGET_FLATTEN_APEX to true (resp. false), e.g. by
|
||||
# setting the OVERRIDE_TARGET_FLATTEN_APEX environment variable.
|
||||
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)))
|
||||
|
Reference in New Issue
Block a user