device.mk: Add a camera test library to packages

Adds libgoogle_camera_hal_proprietary_tests to packages.

Also guards both test libraries to debug builds only.

Bug: 142818926
Test: Presubmit builds/tests
Change-Id: I31f107a447ac1c65281f817393c162bad8487dd5
This commit is contained in:
Cheng Gu
2019-10-23 17:26:52 -07:00
parent 38369c41c2
commit b9f2f033f7

View File

@@ -419,11 +419,17 @@ PRODUCT_PACKAGES += \
camera.device@3.2-impl \
camera.msm8998 \
libgooglecamerahal \
libgoogle_camera_hal_tests \
libqomx_core \
libmmjpeg_interface \
libmmcamera_interface
# Google Camera HAL test libraries in debug builds
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PACKAGES += \
libgoogle_camera_hal_proprietary_tests \
libgoogle_camera_hal_tests
endif
PRODUCT_PACKAGES += \
sensors.$(PRODUCT_HARDWARE) \
android.hardware.sensors@1.0-impl:64 \