From a84bd15d43c81f1fdf77c429e3e6424ef707727d Mon Sep 17 00:00:00 2001 From: Rick Chen Date: Wed, 8 Jun 2022 01:27:56 +0800 Subject: [PATCH] usf: Include usf_product.mk for USF PDK. Bug: 234324473 Test: Compile pass. Verified sensor list & sampling on C10. The validation is done both on PDK build and tm-d1-dev build. Signed-off-by: Rick Chen Change-Id: I371104ceeb39d668dabaf2ba5f705146c60d9bab --- device.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/device.mk b/device.mk index 9fc98552..b83d2f95 100644 --- a/device.mk +++ b/device.mk @@ -910,7 +910,11 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk) #$(call inherit-product-if-exists, hardware/google_devices/gs201/gs201.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/gs201/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)