summaryrefslogtreecommitdiff
path: root/libhwcutilsmodule
diff options
context:
space:
mode:
authorcodewalker <codewalker@hardkernel.com>2014-08-19 18:20:50 +0900
committerDongjin Kim <tobetter@gmail.com>2014-08-19 18:47:59 +0900
commit500214a10db4a78d4eee9649ced413716b7c2fbb (patch)
tree5731fbcab43476265d26996e5be9e6fe50545f8b /libhwcutilsmodule
parent6414706ded5e58737ec115a9963d24627e02f8e1 (diff)
downloadandroid_hardware_samsung_slsi_exynos5430-500214a10db4a78d4eee9649ced413716b7c2fbb.tar.gz
android_hardware_samsung_slsi_exynos5430-500214a10db4a78d4eee9649ced413716b7c2fbb.tar.xz
android_hardware_samsung_slsi_exynos5430-500214a10db4a78d4eee9649ced413716b7c2fbb.zip
Samsung Patch (05/27/2014) - RTM 1.00
Change-Id: I013f933ac0a52c4cc1b5e5b550a92b06534a0a34
Diffstat (limited to 'libhwcutilsmodule')
-rw-r--r--libhwcutilsmodule/Android.mk45
-rw-r--r--libhwcutilsmodule/ExynosMPPModule.cpp11
-rw-r--r--libhwcutilsmodule/ExynosMPPModule.h14
3 files changed, 70 insertions, 0 deletions
diff --git a/libhwcutilsmodule/Android.mk b/libhwcutilsmodule/Android.mk
new file mode 100644
index 0000000..9eb6b2e
--- /dev/null
+++ b/libhwcutilsmodule/Android.mk
@@ -0,0 +1,45 @@
+# Copyright (C) 2008 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.
+
+ifeq ($(filter-out exynos5,$(TARGET_BOARD_PLATFORM)),)
+
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_PRELINK_MODULE := false
+LOCAL_SHARED_LIBRARIES := liblog libutils libcutils libexynosutils libexynosv4l2 libsync libhwcutils libexynosgscaler libmpp
+
+ifeq ($(BOARD_USES_VIRTUAL_DISPLAY), true)
+LOCAL_CFLAGS += -DUSES_VIRTUAL_DISPLAY
+endif
+
+LOCAL_C_INCLUDES := \
+ $(LOCAL_PATH)/../../exynos5/include \
+ $(TOP)/hardware/samsung_slsi/exynos/include \
+ $(TOP)/hardware/samsung_slsi/exynos/libexynosutils \
+ $(TOP)/hardware/samsung_slsi/$(TARGET_SOC)/include \
+ $(TOP)/hardware/samsung_slsi/$(TARGET_SOC)/libhwcmodule \
+ $(TOP)/hardware/samsung_slsi/exynos/libhwc \
+ $(TOP)/hardware/samsung_slsi/exynos/libhwcutils \
+ $(TOP)/hardware/samsung_slsi/exynos/libdisplay \
+ $(TOP)/hardware/samsung_slsi/exynos/libmpp
+
+LOCAL_SRC_FILES := \
+ ExynosMPPModule.cpp
+
+LOCAL_MODULE_TAGS := eng
+LOCAL_MODULE := libhwcutilsmodule
+include $(BUILD_SHARED_LIBRARY)
+
+endif
diff --git a/libhwcutilsmodule/ExynosMPPModule.cpp b/libhwcutilsmodule/ExynosMPPModule.cpp
new file mode 100644
index 0000000..2bf3751
--- /dev/null
+++ b/libhwcutilsmodule/ExynosMPPModule.cpp
@@ -0,0 +1,11 @@
+#include "ExynosMPPModule.h"
+#include "ExynosDisplay.h"
+
+ExynosMPPModule::ExynosMPPModule(ExynosDisplay *display, int index)
+ : ExynosMPP(display, index)
+{
+}
+
+ExynosMPPModule::~ExynosMPPModule()
+{
+}
diff --git a/libhwcutilsmodule/ExynosMPPModule.h b/libhwcutilsmodule/ExynosMPPModule.h
new file mode 100644
index 0000000..4ab85fe
--- /dev/null
+++ b/libhwcutilsmodule/ExynosMPPModule.h
@@ -0,0 +1,14 @@
+#ifndef EXYNOS_MPP_MODULE_H
+#define EXYNOS_MPP_MODULE_H
+
+#include "ExynosMPP.h"
+
+class ExynosDisplay;
+
+class ExynosMPPModule : public ExynosMPP {
+ public:
+ ExynosMPPModule(ExynosDisplay *display, int index);
+ ~ExynosMPPModule();
+};
+
+#endif