diff mbox

[libdrm] omap: add Android build support

Message ID 20180228185451.30562-1-afd@ti.com (mailing list archive)
State New, archived
Headers show

Commit Message

Andrew Davis Feb. 28, 2018, 6:54 p.m. UTC
From: Gowtham Tammana <g-tammana@ti.com>

Add Android.mk file to build libdrm_omap library.

Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
Signed-off-by: Andrew F. Davis <afd@ti.com>
---
 omap/Android.mk | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 omap/Android.mk

Comments

Emil Velikov March 2, 2018, 6:51 p.m. UTC | #1
On 28 February 2018 at 18:54, Andrew F. Davis <afd@ti.com> wrote:
> From: Gowtham Tammana <g-tammana@ti.com>
>
> Add Android.mk file to build libdrm_omap library.
>
Zero objections on my end, but can we have the use case mentioned in
the commit message.
Years ago I was looking for users of the library and I could not find any.

-Emil
Andrew Davis March 7, 2018, 4:17 p.m. UTC | #2
On 03/02/2018 12:51 PM, Emil Velikov wrote:
> On 28 February 2018 at 18:54, Andrew F. Davis <afd@ti.com> wrote:
>> From: Gowtham Tammana <g-tammana@ti.com>
>>
>> Add Android.mk file to build libdrm_omap library.
>>
> Zero objections on my end, but can we have the use case mentioned in
> the commit message.
> Years ago I was looking for users of the library and I could not find any.
> 

We use it in some older versions of our hardware composer for Android
and our user-space graphics stack, but the goal will be to reduce or
eliminate our dependence on the libdrm_omap specifics if we can. So I
don't have any public users right now.

Andrew

> -Emil
>
Emil Velikov March 22, 2018, 4:52 p.m. UTC | #3
On 7 March 2018 at 16:17, Andrew F. Davis <afd@ti.com> wrote:
> On 03/02/2018 12:51 PM, Emil Velikov wrote:
>> On 28 February 2018 at 18:54, Andrew F. Davis <afd@ti.com> wrote:
>>> From: Gowtham Tammana <g-tammana@ti.com>
>>>
>>> Add Android.mk file to build libdrm_omap library.
>>>
>> Zero objections on my end, but can we have the use case mentioned in
>> the commit message.
>> Years ago I was looking for users of the library and I could not find any.
>>
>
> We use it in some older versions of our hardware composer for Android
> and our user-space graphics stack, but the goal will be to reduce or
> eliminate our dependence on the libdrm_omap specifics if we can. So I
> don't have any public users right now.
>
Fair enough - pushed to master.

-Emil
diff mbox

Patch

diff --git a/omap/Android.mk b/omap/Android.mk
new file mode 100644
index 00000000..b25cca13
--- /dev/null
+++ b/omap/Android.mk
@@ -0,0 +1,13 @@ 
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := libdrm_omap
+LOCAL_VENDOR_MODULE := true
+
+LOCAL_SRC_FILES := omap_drm.c
+
+LOCAL_SHARED_LIBRARIES := libdrm
+
+include $(LIBDRM_COMMON_MK)
+
+include $(BUILD_SHARED_LIBRARY)