Pixel Logger: remove the logger build for AOSP
Bug: 37854857
Change-Id: I54e340e0338910ba11041dd075af4f383aa530ca
Signed-off-by: Ecco Park <eccopark@google.com>
diff --git a/device-common.mk b/device-common.mk
index 132c67b..1b4bb5b 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -593,6 +593,13 @@
PRODUCT_PACKAGES += \
toybox_static
+ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
+ifeq (,$(filter aosp_marlin aosp_sailfish, $(TARGET_PRODUCT)))
+PRODUCT_PACKAGES += \
+ NexusLogger
+endif # filter it out for aosp build
+endif
+
# b/30349163
# Set Marlin/Sailfish default log size on userdebug/eng build to 1M
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))