Merge "Move default setting of a product variable" into qt-dev
am: 43b86c0182
Change-Id: I4ff87c28d74c5655f3deea7c112ff42712a7f5e9
This commit is contained in:
commit
dce130f251
2 changed files with 8 additions and 9 deletions
|
@ -808,15 +808,6 @@ PLATFORM_SEPOLICY_COMPAT_VERSIONS := \
|
|||
PLATFORM_SEPOLICY_VERSION \
|
||||
TOT_SEPOLICY_VERSION \
|
||||
|
||||
ifeq ($(PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS),)
|
||||
ifdef PRODUCT_SHIPPING_API_LEVEL
|
||||
ifeq (true,$(call math_gt_or_eq,$(PRODUCT_SHIPPING_API_LEVEL),29))
|
||||
PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS := true
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
.KATI_READONLY := PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS
|
||||
|
||||
ifeq ($(PRODUCT_RETROFIT_DYNAMIC_PARTITIONS),true)
|
||||
ifneq ($(PRODUCT_USE_DYNAMIC_PARTITIONS),true)
|
||||
$(error PRODUCT_USE_DYNAMIC_PARTITIONS must be true when PRODUCT_RETROFIT_DYNAMIC_PARTITIONS \
|
||||
|
|
|
@ -376,6 +376,14 @@ ifndef PRODUCT_BUILD_SUPER_PARTITION
|
|||
PRODUCT_BUILD_SUPER_PARTITION := $(PRODUCT_USE_DYNAMIC_PARTITIONS)
|
||||
endif
|
||||
|
||||
ifeq ($(PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS),)
|
||||
ifdef PRODUCT_SHIPPING_API_LEVEL
|
||||
ifeq (true,$(call math_gt_or_eq,$(PRODUCT_SHIPPING_API_LEVEL),29))
|
||||
PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS := true
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
|
||||
define product-overrides-config
|
||||
$$(foreach rule,$$(PRODUCT_$(1)_OVERRIDES),\
|
||||
$$(if $$(filter 2,$$(words $$(subst :,$$(space),$$(rule)))),,\
|
||||
|
|
Loading…
Reference in a new issue