forked from openkylin/platform_build
Merge "Ensure TARGET_FLATTEN_APEX == true when ro.apex.updatable is not set"
This commit is contained in:
commit
333f7b5fcc
|
@ -534,6 +534,14 @@ else
|
|||
TARGET_VENDOR_TEST_SUFFIX :=
|
||||
endif
|
||||
|
||||
###########################################
|
||||
# APEXes are by default flattened, i.e. non-updatable.
|
||||
# It can be unflattened (and updatable) by inheriting from
|
||||
# updatable_apex.mk
|
||||
ifeq (,$(TARGET_FLATTEN_APEX))
|
||||
TARGET_FLATTEN_APEX := true
|
||||
endif
|
||||
|
||||
ifeq (,$(TARGET_BUILD_APPS))
|
||||
ifdef PRODUCT_EXTRA_VNDK_VERSIONS
|
||||
$(foreach v,$(PRODUCT_EXTRA_VNDK_VERSIONS),$(call check_vndk_version,$(v)))
|
||||
|
|
|
@ -18,3 +18,4 @@
|
|||
|
||||
PRODUCT_PROPERTY_OVERRIDES := ro.apex.updatable=true
|
||||
PRODUCT_PACKAGES := com.android.apex.cts.shim.v1_prebuilt
|
||||
TARGET_FLATTEN_APEX := false
|
||||
|
|
Loading…
Reference in New Issue