Add PRODUCT_PACKAGES_SHIPPING_API_LEVEL_29
The PRODUCT_PACKAGES_SHIPPING_API_LEVEL_29 is added. This value is base
module when shipping api level is less than or equal to 29.
Bug: 124531214
Test: m -j
Change-Id: I0f06b04cf4c824b9c975d9b84f4a0e8171acef75
Merged-In: I0f06b04cf4c824b9c975d9b84f4a0e8171acef75
(cherry picked from commit a18f974bd7
)
This commit is contained in:
parent
56772d7213
commit
f3cd49787a
2 changed files with 10 additions and 1 deletions
|
@ -335,6 +335,12 @@ ifeq ($(PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS),)
|
|||
endif
|
||||
endif
|
||||
|
||||
ifdef PRODUCT_SHIPPING_API_LEVEL
|
||||
ifneq (,$(call math_gt_or_eq,29,$(PRODUCT_SHIPPING_API_LEVEL)))
|
||||
PRODUCT_PACKAGES += $(PRODUCT_PACKAGES_SHIPPING_API_LEVEL_29)
|
||||
endif
|
||||
endif
|
||||
|
||||
# If build command defines OVERRIDE_PRODUCT_EXTRA_VNDK_VERSIONS,
|
||||
# override PRODUCT_EXTRA_VNDK_VERSIONS with it.
|
||||
ifdef OVERRIDE_PRODUCT_EXTRA_VNDK_VERSIONS
|
||||
|
|
|
@ -41,7 +41,6 @@ PRODUCT_HOST_PACKAGES += \
|
|||
# Base modules and settings for the vendor partition.
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.cas@1.1-service \
|
||||
android.hardware.configstore@1.1-service \
|
||||
android.hardware.media.omx@1.0-service \
|
||||
boringssl_self_test_vendor \
|
||||
dumpsys_vendor \
|
||||
|
@ -70,6 +69,10 @@ PRODUCT_PACKAGES += \
|
|||
vndservice \
|
||||
vndservicemanager \
|
||||
|
||||
# Base module when shipping api level is less than or equal to 29
|
||||
PRODUCT_PACKAGES_SHIPPING_API_LEVEL_29 += \
|
||||
android.hardware.configstore@1.1-service \
|
||||
|
||||
# VINTF data for vendor image
|
||||
PRODUCT_PACKAGES += \
|
||||
device_compatibility_matrix.xml \
|
||||
|
|
Loading…
Reference in a new issue