From d44db54ce455fa599b78430e013bb77acf7ec822 Mon Sep 17 00:00:00 2001 From: Rick Chen Date: Thu, 6 Oct 2022 15:18:28 +0800 Subject: [PATCH] usf: Include usf_product.mk for USF PDK. Bug: 249408706 Test: Compile pass. Verified sensor list & sampling. The validation is done both on PDK build and master build. Signed-off-by: Rick Chen Change-Id: I871eaf232244405174701d109cc473c0576b4191 --- device.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/device.mk b/device.mk index f5e31c10..f52471be 100644 --- a/device.mk +++ b/device.mk @@ -888,7 +888,11 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk) #$(call inherit-product-if-exists, hardware/google_devices/zuma/zuma.mk) #$(call inherit-product-if-exists, vendor/google_devices/common/exynos-vendor.mk) #$(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/firmware/bcm4375/device-bcm.mk) +ifeq ($(wildcard vendor/google/sensors/usf),) +$(call inherit-product-if-exists, vendor/google_devices/zuma/proprietary/usf/usf_product.mk) +else $(call inherit-product-if-exists, vendor/google/sensors/usf/android/usf_efw_product.mk) +endif $(call inherit-product-if-exists, vendor/google/services/LyricCameraHAL/src/build/device-vendor.mk) $(call inherit-product-if-exists, vendor/google/camera/devices/whi/device-vendor.mk)