uwb: move calibrations to device specific folder

The UWB calibration files were previously copied from the Qorvo
area. They are now copied from the device specific folder.

Bug: 307692986
Change-Id: I18e38abb7ee6e1e44f967f755b22bd3db50720e6
Signed-off-by: Hasan Awais <hasanawais@google.com>
This commit is contained in:
Hasan Awais 2023-10-27 16:57:36 +00:00
parent 7261a09a29
commit 287b73f251
12 changed files with 571 additions and 147 deletions

View file

@ -18,6 +18,13 @@ TARGET_KERNEL_DIR ?= device/google/comet-kernel
TARGET_BOARD_KERNEL_HEADERS := device/google/comet-kernel/kernel-headers
TARGET_RECOVERY_DEFAULT_ROTATION := ROTATION_RIGHT
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
USE_UWBFIELDTESTQM := true
endif
ifeq ($(filter factory_comet, $(TARGET_PRODUCT)),)
include device/google/comet/uwb/uwb_calibration.mk
endif
$(call inherit-product-if-exists, vendor/google_devices/comet/prebuilts/device-vendor-comet.mk)
$(call inherit-product-if-exists, vendor/google_devices/zumapro/prebuilts/device-vendor.mk)
$(call inherit-product-if-exists, vendor/google_devices/zumapro/proprietary/device-vendor.mk)
@ -172,6 +179,10 @@ PRODUCT_PACKAGES += \
# Trusty liboemcrypto.so
PRODUCT_SOONG_NAMESPACES += vendor/google_devices/comet/prebuilts
# UWB
PRODUCT_SOONG_NAMESPACES += \
device/google/comet/uwb
# Location
# SDK build system
$(call soong_config_set, include_libsitril-gps-wifi, board_without_radio, $(BOARD_WITHOUT_RADIO))