diff mbox series

[hwc] drm_hwcomposer: move library to /vendor

Message ID 20170922224226.563-1-robh@kernel.org
State New
Headers show
Series [hwc] drm_hwcomposer: move library to /vendor | expand

Commit Message

Rob Herring Sept. 22, 2017, 10:42 p.m. UTC
As part of Treble project in Android O, all the device specific files have
to be located in a separate vendor partition. This is done by setting
LOCAL_PROPRIETARY_MODULE (the name is misleading). This change will not
break existing platforms without a vendor partition as it will just move
files to /system/vendor.

Signed-off-by: Rob Herring <robh@kernel.org>
---
 Android.mk | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/Android.mk b/Android.mk
index 2c4f7e3ee930..aa95b44c6075 100644
--- a/Android.mk
+++ b/Android.mk
@@ -94,6 +94,8 @@  LOCAL_MODULE_TAGS := optional
 LOCAL_MODULE_RELATIVE_PATH := hw
 LOCAL_MODULE_CLASS := SHARED_LIBRARIES
 LOCAL_MODULE_SUFFIX := $(TARGET_SHLIB_SUFFIX)
+LOCAL_VENDOR_MODULE := true
+
 include $(BUILD_SHARED_LIBRARY)
 
 include $(call all-makefiles-under,$(LOCAL_PATH))