From df33a89dc2f5f5431637f6430c07e3b385c70c90 Mon Sep 17 00:00:00 2001 From: Konsta Date: Wed, 11 Jun 2025 18:36:53 +0300 Subject: [PATCH] enforce-product-packages-exist: add exception for com.android.ranging * Android 16 ranging feature. https://developer.android.com/develop/connectivity/ranging * com.android.ranging is nowhere found in AOSP though should be built. https://android.googlesource.com/platform/build/+/1e9faa2bc926ed9ee4cb9e6c3cb61a5887ac135e build/make/core/main.mk:1096: warning: device/brcm/rpi5/aosp_rpi5.mk includes non-existent modules in PRODUCT_PACKAGES Offending entries: com.android.ranging build/make/core/main.mk:1096: warning: device/brcm/rpi5/aosp_rpi5_car.mk includes non-existent modules in PRODUCT_PACKAGES Offending entries: Bluetooth Keyguard Launcher2 OverviewApp RotaryIME RotaryPlayground com.android.ranging libnfc_ndef libvariablespeed pppd build/make/core/main.mk:1096: warning: device/brcm/rpi5/aosp_rpi5_tv.mk includes non-existent modules in PRODUCT_PACKAGES Offending entries: com.android.ranging --- aosp_rpi5.mk | 2 +- aosp_rpi5_car.mk | 2 +- aosp_rpi5_tv.mk | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/aosp_rpi5.mk b/aosp_rpi5.mk index 93ba5ab..82eab27 100644 --- a/aosp_rpi5.mk +++ b/aosp_rpi5.mk @@ -12,7 +12,7 @@ PRODUCT_AAPT_PREF_CONFIG := hdpi PRODUCT_CHARACTERISTICS := tablet,nosdcard $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk) -$(call enforce-product-packages-exist,) +$(call enforce-product-packages-exist,com.android.ranging) # Overlays PRODUCT_PACKAGES += \ diff --git a/aosp_rpi5_car.mk b/aosp_rpi5_car.mk index 92f21bb..aabd38c 100644 --- a/aosp_rpi5_car.mk +++ b/aosp_rpi5_car.mk @@ -15,7 +15,7 @@ PRODUCT_CHARACTERISTICS := automotive,nosdcard $(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk) $(call inherit-product, packages/services/Car/car_product/build/car.mk) -$(call enforce-product-packages-exist,Bluetooth Keyguard Launcher2 OverviewApp RotaryIME RotaryPlayground libnfc_ndef libvariablespeed pppd) +$(call enforce-product-packages-exist,Bluetooth Keyguard Launcher2 OverviewApp RotaryIME RotaryPlayground com.android.ranging libnfc_ndef libvariablespeed pppd) # Audio PRODUCT_PACKAGES += \ diff --git a/aosp_rpi5_tv.mk b/aosp_rpi5_tv.mk index df950d1..21cc7a5 100644 --- a/aosp_rpi5_tv.mk +++ b/aosp_rpi5_tv.mk @@ -11,7 +11,7 @@ PRODUCT_AAPT_PREF_CONFIG := tvdpi PRODUCT_CHARACTERISTICS := tv $(call inherit-product, device/google/atv/products/atv_base.mk) -$(call enforce-product-packages-exist,) +$(call enforce-product-packages-exist,com.android.ranging) # Android TV PRODUCT_PACKAGES += \