Build test packages only for userdebug and eng
Bug: 74436505
Test: Build has proper test packages
Change-Id: I95433a1364ed81299c37f3bf9e962aeddfbe4e0f
Merged-In: I724fa33b0ce1ad47163dd659ac9d139704d717ef
diff --git a/car_product/build/car.mk b/car_product/build/car.mk
index d9db5f6..7ebf370 100644
--- a/car_product/build/car.mk
+++ b/car_product/build/car.mk
@@ -30,6 +30,7 @@
screenrecord
# This is for testing
+ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
PRODUCT_PACKAGES += \
DefaultStorageMonitoringCompanionApp \
EmbeddedKitchenSinkApp \
@@ -37,6 +38,9 @@
VmsSubscriberClientSample \
android.car.cluster.loggingrenderer \
DirectRenderingClusterSample \
+ com.android.car.powertestservice \
+
+endif
PRODUCT_COPY_FILES := \
frameworks/av/media/libeffects/data/audio_effects.conf:system/etc/audio_effects.conf \