Skip to content

Commit

Permalink
Android: move libraries to /vendor
Browse files Browse the repository at this point in the history
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.

Change-Id: I0e863d55406b3e2457bbaded818e7fd4f19f064a
Signed-off-by: Rob Herring <[email protected]>
  • Loading branch information
robherring committed Sep 15, 2017
1 parent d659dc3 commit 9455964
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ LOCAL_EXPORT_C_INCLUDE_DIRS := \
LOCAL_MODULE := gralloc.gbm
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_PROPRIETARY_MODULE := true

include $(BUILD_SHARED_LIBRARY)

include $(CLEAR_VARS)
Expand All @@ -46,4 +48,6 @@ LOCAL_EXPORT_C_INCLUDE_DIRS := \

LOCAL_MODULE := libgralloc_drm
LOCAL_MODULE_TAGS := optional
LOCAL_PROPRIETARY_MODULE := true

include $(BUILD_SHARED_LIBRARY)

0 comments on commit 9455964

Please sign in to comment.