diff --git a/core/envsetup.mk b/core/envsetup.mk index 644b9126f..56d8e2956 100644 --- a/core/envsetup.mk +++ b/core/envsetup.mk @@ -446,9 +446,11 @@ else TARGET_VENDOR_TEST_SUFFIX := endif +ifeq (,$(TARGET_BUILD_APPS)) ifdef PRODUCT_EXTRA_VNDK_VERSIONS $(foreach v,$(PRODUCT_EXTRA_VNDK_VERSIONS),$(call check_vndk_version,$(v))) endif +endif # Ensure that BOARD_SYSTEMSDK_VERSIONS are all within PLATFORM_SYSTEMSDK_VERSIONS _unsupported_systemsdk_versions := $(filter-out $(PLATFORM_SYSTEMSDK_VERSIONS),$(BOARD_SYSTEMSDK_VERSIONS)) diff --git a/target/product/aosp_arm.mk b/target/product/aosp_arm.mk index f0752a8e2..795f8aac6 100644 --- a/target/product/aosp_arm.mk +++ b/target/product/aosp_arm.mk @@ -38,4 +38,7 @@ PRODUCT_PACKAGES += \ # Needed by Pi newly launched device to pass VtsTrebleSysProp on GSI PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true +# Support addtional P vendor interface +PRODUCT_EXTRA_VNDK_VERSIONS := 28 + PRODUCT_NAME := aosp_arm diff --git a/target/product/aosp_arm64.mk b/target/product/aosp_arm64.mk index ab231110c..f3f3c5af4 100644 --- a/target/product/aosp_arm64.mk +++ b/target/product/aosp_arm64.mk @@ -54,6 +54,9 @@ PRODUCT_PACKAGES += \ # Needed by Pi newly launched device to pass VtsTrebleSysProp on GSI PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true +# Support addtional P vendor interface +PRODUCT_EXTRA_VNDK_VERSIONS := 28 + PRODUCT_NAME := aosp_arm64 PRODUCT_DEVICE := generic_arm64 PRODUCT_BRAND := Android diff --git a/target/product/aosp_x86.mk b/target/product/aosp_x86.mk index 9d1b14bc9..e3167af45 100644 --- a/target/product/aosp_x86.mk +++ b/target/product/aosp_x86.mk @@ -38,4 +38,7 @@ PRODUCT_PACKAGES += \ # Needed by Pi newly launched device to pass VtsTrebleSysProp on GSI PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true +# Support addtional P vendor interface +PRODUCT_EXTRA_VNDK_VERSIONS := 28 + PRODUCT_NAME := aosp_x86 diff --git a/target/product/aosp_x86_64.mk b/target/product/aosp_x86_64.mk index b38c4173e..222adaab8 100644 --- a/target/product/aosp_x86_64.mk +++ b/target/product/aosp_x86_64.mk @@ -54,6 +54,9 @@ PRODUCT_PACKAGES += \ # Needed by Pi newly launched device to pass VtsTrebleSysProp on GSI PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true +# Support addtional P vendor interface +PRODUCT_EXTRA_VNDK_VERSIONS := 28 + ifdef NET_ETH0_STARTONBOOT PRODUCT_PROPERTY_OVERRIDES += net.eth0.startonboot=1 endif diff --git a/target/product/treble_common.mk b/target/product/treble_common.mk index 6b0ef2ffb..5c2a67857 100644 --- a/target/product/treble_common.mk +++ b/target/product/treble_common.mk @@ -54,5 +54,5 @@ PRODUCT_COPY_FILES += \ PRODUCT_PACKAGES += \ ld.config.vndk_lite.txt -# Support addtional O-MR1 vendor interface -PRODUCT_EXTRA_VNDK_VERSIONS := 27 +# Support addtional O-MR1 and P vendor interface +PRODUCT_EXTRA_VNDK_VERSIONS := 27 28