aboutsummaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorSean Paul <seanpaul@chromium.org>2015-01-20 16:56:04 -0500
committerSean Paul <seanpaul@google.com>2015-02-04 14:46:27 -0800
commite0c4c3d719ba0758fc0e1369de71b34f9442407b (patch)
treee61dee6329e671e39c9f676eba0f0dc909b4def9 /Android.mk
parente0268cbb6c7364bf550a8bf0bb1770f8b4e42dd4 (diff)
downloaddrm_hwcomposer-e0c4c3d719ba0758fc0e1369de71b34f9442407b.tar.gz
drm_hwcomposer: Initial implementation
This adds a very basic hwcomposer implementation on top of libdrm. Signed-off-by: Sean Paul <seanpaul@chromium.org> Change-Id: I472feb9bc08a4c4cd9849370c849d266ea58da9c
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk38
1 files changed, 38 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
new file mode 100644
index 0000000..3b14cdd
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,38 @@
+# Copyright (C) 2015 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_SHARED_LIBRARIES := \
+ libdrm \
+ libhardware \
+ liblog \
+ libutils \
+
+LOCAL_C_INCLUDES := \
+ external/drm_gralloc \
+ external/libdrm \
+ external/libdrm/include/drm \
+ system/core/include/utils \
+
+LOCAL_CFLAGS :=
+LOCAL_SRC_FILES := hwcomposer.cpp
+LOCAL_MODULE := hwcomposer.drm
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_RELATIVE_PATH := hw
+LOCAL_MODULE_CLASS := SHARED_LIBRARIES
+LOCAL_MODULE_SUFFIX := $(TARGET_SHLIB_SUFFIX)
+include $(BUILD_SHARED_LIBRARY)