diff --git a/target/product/aosp_arm.mk b/target/product/aosp_arm.mk index b872f48fc..6f7314a1a 100644 --- a/target/product/aosp_arm.mk +++ b/target/product/aosp_arm.mk @@ -14,6 +14,13 @@ # limitations under the License. # +# The system image of aosp_arm-userdebug is a GSI for the devices with: +# - ARM 32 bits user space +# - 64 bits binder interface +# - system-as-root +# - VNDK enforcement +# - compatible property override enabled + -include device/generic/goldfish/arm32-vendor.mk # TODO(b/78308559): includes vr_hwc into GSI before vr_hwc move to vendor @@ -22,6 +29,13 @@ PRODUCT_PACKAGES += \ include $(SRC_TARGET_DIR)/product/full.mk +# Enable A/B update +AB_OTA_UPDATER := true +AB_OTA_PARTITIONS := system +PRODUCT_PACKAGES += \ + update_engine \ + update_verifier + # Needed by Pi newly launched device to pass VtsTrebleSysProp on GSI PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true diff --git a/target/product/aosp_arm64.mk b/target/product/aosp_arm64.mk index 33defe144..297056d38 100644 --- a/target/product/aosp_arm64.mk +++ b/target/product/aosp_arm64.mk @@ -14,6 +14,13 @@ # limitations under the License. # +# The system image of aosp_arm64-userdebug is a GSI for the devices with: +# - ARM 64 bits user space +# - 64 bits binder interface +# - system-as-root +# - VNDK enforcement +# - compatible property override enabled + # This is a build configuration for a full-featured build of the # Open-Source part of the tree. It's geared toward a US-centric # build quite specifically for the emulator, and might not be @@ -38,6 +45,13 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk) $(call inherit-product, $(SRC_TARGET_DIR)/board/generic_arm64/device.mk) +# Enable A/B update +AB_OTA_UPDATER := true +AB_OTA_PARTITIONS := system +PRODUCT_PACKAGES += \ + update_engine \ + update_verifier + # Needed by Pi newly launched device to pass VtsTrebleSysProp on GSI PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true diff --git a/target/product/aosp_arm64_ab.mk b/target/product/aosp_arm64_ab.mk index 6ff11579e..d389c74d0 100644 --- a/target/product/aosp_arm64_ab.mk +++ b/target/product/aosp_arm64_ab.mk @@ -19,8 +19,20 @@ # on the generic system image, place them in build/make/target/board/ # treble_system.prop. +# aosp_arm64_ab-userdebug is a Legacy GSI for the devices with: +# - ARM 64 bits user space +# - 64 bits binder interface +# - system-as-root + include build/make/target/product/treble_common_64.mk +# Enable A/B update +AB_OTA_UPDATER := true +AB_OTA_PARTITIONS := system +PRODUCT_PACKAGES += \ + update_engine \ + update_verifier + PRODUCT_NAME := aosp_arm64_ab PRODUCT_DEVICE := generic_arm64_ab PRODUCT_BRAND := Android diff --git a/target/product/aosp_arm_ab.mk b/target/product/aosp_arm_ab.mk index 9a4688e50..5845d3ba8 100644 --- a/target/product/aosp_arm_ab.mk +++ b/target/product/aosp_arm_ab.mk @@ -19,8 +19,20 @@ # on the generic system image, place them in build/make/target/board/ # treble_system.prop. +# aosp_arm_ab-userdebug is a Legacy GSI for the devices with: +# - ARM 32 bits user space +# - 32 bits binder interface +# - system-as-root + include build/make/target/product/treble_common_32.mk +# Enable A/B update +AB_OTA_UPDATER := true +AB_OTA_PARTITIONS := system +PRODUCT_PACKAGES += \ + update_engine \ + update_verifier + PRODUCT_NAME := aosp_arm_ab PRODUCT_DEVICE := generic_arm_ab PRODUCT_BRAND := Android diff --git a/target/product/aosp_x86.mk b/target/product/aosp_x86.mk index 9ba952343..6b1d36fc8 100644 --- a/target/product/aosp_x86.mk +++ b/target/product/aosp_x86.mk @@ -14,6 +14,13 @@ # limitations under the License. # +# The system image of aosp_x86-userdebug is a GSI for the devices with: +# - x86 32 bits user space +# - 64 bits binder interface +# - system-as-root +# - VNDK enforcement +# - compatible property override enabled + -include device/generic/goldfish/x86-vendor.mk # TODO(b/78308559): includes vr_hwc into GSI before vr_hwc move to vendor @@ -22,6 +29,13 @@ PRODUCT_PACKAGES += \ include $(SRC_TARGET_DIR)/product/full_x86.mk +# Enable A/B update +AB_OTA_UPDATER := true +AB_OTA_PARTITIONS := system +PRODUCT_PACKAGES += \ + update_engine \ + update_verifier + # Needed by Pi newly launched device to pass VtsTrebleSysProp on GSI PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true diff --git a/target/product/aosp_x86_64.mk b/target/product/aosp_x86_64.mk index 7afc7825d..de9c6268c 100644 --- a/target/product/aosp_x86_64.mk +++ b/target/product/aosp_x86_64.mk @@ -14,6 +14,13 @@ # limitations under the License. # +# The system image of aosp_x86_64-userdebug is a GSI for the devices with: +# - x86 64 bits user space +# - 64 bits binder interface +# - system-as-root +# - VNDK enforcement +# - compatible property override enabled + # This is a build configuration for a full-featured build of the # Open-Source part of the tree. It's geared toward a US-centric # build quite specifically for the emulator, and might not be @@ -38,6 +45,13 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk) $(call inherit-product, $(SRC_TARGET_DIR)/board/generic_x86_64/device.mk) +# Enable A/B update +AB_OTA_UPDATER := true +AB_OTA_PARTITIONS := system +PRODUCT_PACKAGES += \ + update_engine \ + update_verifier + # Needed by Pi newly launched device to pass VtsTrebleSysProp on GSI PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true diff --git a/target/product/aosp_x86_64_ab.mk b/target/product/aosp_x86_64_ab.mk index 3524dbc54..d9163d76b 100644 --- a/target/product/aosp_x86_64_ab.mk +++ b/target/product/aosp_x86_64_ab.mk @@ -19,8 +19,20 @@ # on the generic system image, place them in build/make/target/board/ # treble_system.prop. +# aosp_x86_64_ab-userdebug is a Legacy GSI for the devices with: +# - x86 64 bits user space +# - 64 bits binder interface +# - system-as-root + include build/make/target/product/treble_common_64.mk +# Enable A/B update +AB_OTA_UPDATER := true +AB_OTA_PARTITIONS := system +PRODUCT_PACKAGES += \ + update_engine \ + update_verifier + PRODUCT_NAME := aosp_x86_64_ab PRODUCT_DEVICE := generic_x86_64_ab PRODUCT_BRAND := Android diff --git a/target/product/aosp_x86_ab.mk b/target/product/aosp_x86_ab.mk index e72b38db7..4fff3d155 100644 --- a/target/product/aosp_x86_ab.mk +++ b/target/product/aosp_x86_ab.mk @@ -19,8 +19,20 @@ # on the generic system image, place them in build/make/target/board/ # treble_system.prop. +# aosp_x86_ab-userdebug is a Legacy GSI for the devices with: +# - x86 32 bits user space +# - 32 bits binder interface +# - system-as-root + include build/make/target/product/treble_common_32.mk +# Enable A/B update +AB_OTA_UPDATER := true +AB_OTA_PARTITIONS := system +PRODUCT_PACKAGES += \ + update_engine \ + update_verifier + PRODUCT_NAME := aosp_x86_ab PRODUCT_DEVICE := generic_x86_ab PRODUCT_BRAND := Android