summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorMartin Liu <liumartin@google.com>2020-04-27 10:53:33 +0800
committerMartin Liu <liumartin@google.com>2020-04-27 10:56:47 +0800
commite854c2ada68dbc445c6472d083e0982c60a635b4 (patch)
treebe2f2c21f9d277473ff1dceddf188cd5e32ae978 /mm
parente6e989beced05d097240e4281650d41c8d89137f (diff)
add common pixel mm_logd for legacy device
Bug: 151100384 Test: boot Signed-off-by: Martin Liu <liumartin@google.com> Change-Id: I326551bdb237ec04b5f2d2129f57d5df1a656e31
Diffstat (limited to 'mm')
-rw-r--r--mm/device_legacy.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/mm/device_legacy.mk b/mm/device_legacy.mk
index fc988c7..140fb85 100644
--- a/mm/device_legacy.mk
+++ b/mm/device_legacy.mk
@@ -1,4 +1,9 @@
PRODUCT_COPY_FILES += \
hardware/google/pixel/mm/pixel-mm-legacy.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/pixel-mm-legacy.rc
+ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
+PRODUCT_PACKAGES += \
+ mm_logd
+endif
+
BOARD_SEPOLICY_DIRS += hardware/google/pixel-sepolicy/mm