aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSunita Nadampalli2014-11-17 14:00:48 -0600
committerSunita Nadampalli2014-11-17 14:00:48 -0600
commit02907e6c0b25f3abbb90f762681a9b13abe29477 (patch)
tree83183f247f564db4507bc8a29b800676f8073cd3 /Android.mk
parent5693201c37da9070928a751d79cbfed6bb8dd051 (diff)
downloadrepo-libdce-02907e6c0b25f3abbb90f762681a9b13abe29477.tar.gz
repo-libdce-02907e6c0b25f3abbb90f762681a9b13abe29477.tar.xz
repo-libdce-02907e6c0b25f3abbb90f762681a9b13abe29477.zip
libdce[Android]: Added support for DRM based Android memplugin
This patch adds memplugin implementation for GEM allocator and dce buffer locking via MmRPC for Android builds. Android memplugin implement memplugin interface for buffers with and without memheaders. This implementation is for DRM/GEM buffer allocations. And libdce_android implements GEM buffer registration and unregistration with MmRPC. Change-Id: Ie72c988a37f987446f7d7c1d97225295de73d305 Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk22
1 files changed, 6 insertions, 16 deletions
diff --git a/Android.mk b/Android.mk
index a648153..d4e3146 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,18 +1,3 @@
1#
2# Copyright (C) 2010 The Android Open Source Project
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16LOCAL_PATH:= $(call my-dir) 1LOCAL_PATH:= $(call my-dir)
17 2
18# 3#
@@ -28,18 +13,23 @@ LOCAL_C_INCLUDES += \
28 $(LOCAL_PATH)/packages/xdctools/ \ 13 $(LOCAL_PATH)/packages/xdctools/ \
29 $(LOCAL_PATH)/ \ 14 $(LOCAL_PATH)/ \
30 hardware/ti/ipc/packages/ \ 15 hardware/ti/ipc/packages/ \
16 external/libdrm/include/drm \
17 external/libdrm/omap \
18 external/libdrm
31 19
32LOCAL_SHARED_LIBRARIES := \ 20LOCAL_SHARED_LIBRARIES := \
33 libmmrpc \ 21 libmmrpc \
34 libc \ 22 libc \
35 libcutils \ 23 libcutils \
36 liblog \ 24 liblog \
25 libdrm \
26 libdrm_omap
37 27
38LOCAL_CFLAGS += -DBUILDOS_ANDROID -DDCE_DEBUG_ENABLE=1 -DDCE_DEBUG_LEVEL=1 28LOCAL_CFLAGS += -DBUILDOS_ANDROID -DDCE_DEBUG_ENABLE=1 -DDCE_DEBUG_LEVEL=1
39 29
40LOCAL_MODULE_TAGS:= optional 30LOCAL_MODULE_TAGS:= optional
41 31
42LOCAL_SRC_FILES:= libdce.c 32LOCAL_SRC_FILES:= libdce.c libdce_android.c memplugin_android.c
43 33
44 34
45LOCAL_MODULE:= libdce 35LOCAL_MODULE:= libdce