summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorMartin Liu <liumartin@google.com>2020-04-26 01:09:14 +0800
committerMartin Liu <liumartin@google.com>2020-04-27 10:56:47 +0800
commite6e989beced05d097240e4281650d41c8d89137f (patch)
tree06622f2bd6b54bd7217a38b9ff96b65c5d082349 /mm
parentfd56a7d1b992d1fb811e9dcb7e46df62d7300a6b (diff)
add common pixel mm_logd
Bug: 151100384 Test: boot Signed-off-by: Martin Liu <liumartin@google.com> Change-Id: I9ff5dbb238cb045ddc4a75f6de82e4e5ff71e925
Diffstat (limited to 'mm')
-rw-r--r--mm/device.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/mm/device.mk b/mm/device.mk
index 15b4b0e..150410e 100644
--- a/mm/device.mk
+++ b/mm/device.mk
@@ -1,4 +1,9 @@
PRODUCT_COPY_FILES += \
hardware/google/pixel/mm/pixel-mm.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/pixel-mm.rc
+ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
+PRODUCT_PACKAGES += \
+ mm_logd
+endif
+
BOARD_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/mm