aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin Moore <devinmoore@google.com>2023-11-07 19:31:09 +0000
committerDevin Moore <devinmoore@google.com>2023-11-07 22:41:51 +0000
commitbb3d8f4f22f828ee33de2773b2b250139d04cf12 (patch)
tree85cfb7cce75145bac6618c91b1af66c4513419ea
parentdc48eb6a6176f5c62cd79b2116cfbd04c079f094 (diff)
downloadcommon-bb3d8f4f22f828ee33de2773b2b250139d04cf12.tar.gz
Add all of the packages used to support older/upgrading devices to GSI
There are packages included in system_ext based on the shipping api level of the device. All of those packages should be added to GSI to support all of the devices with supported shipping API levels Test: lunch aosp_x86_64 && m Bug: 298506436 Bug: 205764958 Change-Id: I0956b25bc4e4dc1f80584adc8664bad7a291eca0
-rw-r--r--gsi_system_ext.mk11
1 files changed, 5 insertions, 6 deletions
diff --git a/gsi_system_ext.mk b/gsi_system_ext.mk
index 7e06f87..026e8c0 100644
--- a/gsi_system_ext.mk
+++ b/gsi_system_ext.mk
@@ -30,13 +30,12 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
CarrierConfig
-# Add these HIDL services to the GSI. They are optional for devices to add to system_ext
-# for HIDL support, so we add them to the GSI to support those devices that rely on them.
-# These can be removed once we stop supporting upgrades for devices with Android V vendor
-# images because HIDL HALs are not allowed for Android V+.
+# Add all of the packages used to support older/upgrading devices
+# These can be removed as we drop support for the older API levels
PRODUCT_PACKAGES += \
- hwservicemanager \
- android.hidl.allocator@1.0-service
+ $(PRODUCT_PACKAGES_SHIPPING_API_LEVEL_29) \
+ $(PRODUCT_PACKAGES_SHIPPING_API_LEVEL_33) \
+ $(PRODUCT_PACKAGES_SHIPPING_API_LEVEL_34)
# Install a copy of the debug policy to the system_ext partition, and allow
# init-second-stage to load debug policy from system_ext.