summaryrefslogtreecommitdiffstats
path: root/libs3cjpeg/Android.mk
diff options
context:
space:
mode:
authorJeong-Seok Yang <jseok.yang@samsung.com>2010-09-20 23:41:49 -0700
committerMaarten Hooft <mthooft@google.com>2010-09-22 22:46:21 -0700
commit1d7e98b26719cc40cf67bed478c3ef0638c78460 (patch)
tree53410fe2919db6dbd5b3a8f43f7e2161b4c1978e /libs3cjpeg/Android.mk
parent94e25540e70899a7f1545cb435e090668341e7b1 (diff)
downloaddevice_samsung_crespo-1d7e98b26719cc40cf67bed478c3ef0638c78460.tar.gz
device_samsung_crespo-1d7e98b26719cc40cf67bed478c3ef0638c78460.tar.bz2
device_samsung_crespo-1d7e98b26719cc40cf67bed478c3ef0638c78460.zip
libs3cjpeg: library for using H/W JPEG encoder
Change-Id: I8259d86085cfc866428e5023a990cace9a384836 Signed-off-by: Jeong-Seok Yang <jseok.yang@samsung.com>
Diffstat (limited to 'libs3cjpeg/Android.mk')
-rw-r--r--libs3cjpeg/Android.mk38
1 files changed, 38 insertions, 0 deletions
diff --git a/libs3cjpeg/Android.mk b/libs3cjpeg/Android.mk
new file mode 100644
index 0000000..7f8c823
--- /dev/null
+++ b/libs3cjpeg/Android.mk
@@ -0,0 +1,38 @@
+# 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 s5pc110,$(TARGET_BOARD_PLATFORM)),)
+
+LOCAL_PATH:= $(call my-dir)
+include $(CLEAR_VARS)
+
+
+LOCAL_C_INCLUDES := $(LOCAL_PATH)
+LOCAL_C_INCLUDES += $(LOCAL_PATH)/../include
+
+LOCAL_SRC_FILES:= \
+ JpegEncoder.cpp
+
+LOCAL_SHARED_LIBRARIES:= liblog
+LOCAL_SHARED_LIBRARIES+= libdl
+
+LOCAL_MODULE:= libs3cjpeg
+
+LOCAL_MODULE_TAGS := optional
+
+LOCAL_PRELINK_MODULE := false
+
+include $(BUILD_SHARED_LIBRARY)
+
+endif