Switch to lazy DRM in WearOS CF images

Widevine and Clearkey can be integrated as normal
HALs, or lazy HALs (started on-demand).
This CL makes those HALs start lazily in WearOS in Cuttlefish,
to match the behavior on device.

Bug: b/320416139
Test: `adb shell ps | grep drm` results in WV and clearkey
not showing up anymore.

Change-Id: Iae699d6b4f97edcdab5aea01199be988d08fc89d
diff --git a/shared/device.mk b/shared/device.mk
index c34d846..1d48f97 100644
--- a/shared/device.mk
+++ b/shared/device.mk
@@ -347,8 +347,13 @@
 #
 # Drm HAL
 #
+ifeq ($(TARGET_USE_LAZY_CLEARKEY),true)
+PRODUCT_PACKAGES += \
+    android.hardware.drm-service-lazy.clearkey
+else
 PRODUCT_PACKAGES += \
     android.hardware.drm@latest-service.clearkey
+endif
 
 -include vendor/widevine/libwvdrmengine/apex/device/device.mk
 
diff --git a/shared/wear/device_vendor.mk b/shared/wear/device_vendor.mk
index 003627a..f7046b8 100644
--- a/shared/wear/device_vendor.mk
+++ b/shared/wear/device_vendor.mk
@@ -33,6 +33,12 @@
 $(call inherit-product, device/google/cuttlefish/shared/telephony/device_vendor.mk)
 $(call inherit-product, device/google/cuttlefish/shared/sensors/device_vendor.mk)
 $(call inherit-product, device/google/cuttlefish/shared/virgl/device_vendor.mk)
+
+# WearOS uses the lazy Widevine and Clearkey HALs
+TARGET_BUILD_WIDEVINE := lazy
+TARGET_BUILD_WIDEVINE_USE_PREBUILT := true
+TARGET_USE_LAZY_CLEARKEY := true
+
 $(call inherit-product, device/google/cuttlefish/shared/device.mk)
 
 PRODUCT_COPY_FILES += \