summaryrefslogtreecommitdiffstats
path: root/camera/Android.mk
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.org>2013-02-14 18:49:02 +0000
committerXpLoDWilD <xplodgui@gmail.com>2013-02-17 20:28:22 +0000
commit2806d8bfe0361daab80c43c9e2e38205b780237d (patch)
tree8b539c8ca1363827346183b240be58c7deb8dff0 /camera/Android.mk
parent2bd22a00bd6c148ddbd453896b7639d9eb86ba26 (diff)
downloaddevice_samsung_galaxys2-common-2806d8bfe0361daab80c43c9e2e38205b780237d.zip
device_samsung_galaxys2-common-2806d8bfe0361daab80c43c9e2e38205b780237d.tar.gz
device_samsung_galaxys2-common-2806d8bfe0361daab80c43c9e2e38205b780237d.tar.bz2
galaxys2: update for new kernel, cleanup, replicant camera hal
Camera HAL from: http://gitorious.org/replicant/device_samsung_galaxys2 Change-Id: I4191110be5b3368c608333d724f4217894dab4ac
Diffstat (limited to 'camera/Android.mk')
-rw-r--r--camera/Android.mk33
1 files changed, 28 insertions, 5 deletions
diff --git a/camera/Android.mk b/camera/Android.mk
index 46cce24..352a36d 100644
--- a/camera/Android.mk
+++ b/camera/Android.mk
@@ -1,15 +1,38 @@
+#
+# Copyright (C) 2013 Paul Kocialkowski
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
LOCAL_PATH := $(call my-dir)
+
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
- CameraWrapper.cpp
+ exynos_camera.c \
+ exynos_exif.c \
+ exynos_param.c \
+ exynos_v4l2.c
+
+LOCAL_C_INCLUDES := \
+ hardware/samsung/exynos4/hal/include
-LOCAL_SHARED_LIBRARIES := \
- libhardware liblog libcamera_client libutils
+LOCAL_SHARED_LIBRARIES := libutils libcutils liblog libcamera_client libhardware libs5pjpeg
+LOCAL_PRELINK_MODULE := false
+LOCAL_MODULE := camera.$(TARGET_BOOTLOADER_BOARD_NAME)
LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/hw
-LOCAL_MODULE := camera.$(TARGET_BOARD_PLATFORM)
LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)
-#include $(BUILD_HEAPTRACKED_SHARED_LIBRARY)