aboutsummaryrefslogtreecommitdiff
path: root/camera-wrapper/Android.mk
diff options
context:
space:
mode:
authorM1cha <sigmaepsilon92@gmail.com>2017-09-05 08:08:37 +0300
committerdd3boh <dade.garberi@gmail.com>2017-10-31 12:34:43 +0100
commit8aea1a4ef92d89610bad365aa1c21f665d01a2dd (patch)
tree8c4c3bc29d7d7c9dca3be0d1ac23011798212c10 /camera-wrapper/Android.mk
parent66b55e1e520374f373ac4b20b396859ec403db90 (diff)
z2_plus: add CameraWrapper
Change-Id: I71a943658a713ac94fcfb9972747df9ebe1174cc
Diffstat (limited to 'camera-wrapper/Android.mk')
-rw-r--r--camera-wrapper/Android.mk35
1 files changed, 35 insertions, 0 deletions
diff --git a/camera-wrapper/Android.mk b/camera-wrapper/Android.mk
new file mode 100644
index 0000000..ff96615
--- /dev/null
+++ b/camera-wrapper/Android.mk
@@ -0,0 +1,35 @@
+#
+# Copyright (C) 2016 The CyanogenMod 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_C_INCLUDES := \
+ system/media/camera/include
+
+LOCAL_SRC_FILES := \
+ CameraWrapper.cpp
+
+LOCAL_SHARED_LIBRARIES := \
+ libhardware liblog libcamera_client libgui libutils
+
+LOCAL_MODULE_RELATIVE_PATH := hw
+LOCAL_MODULE := camera.$(TARGET_BOARD_PLATFORM)
+LOCAL_MODULE_TAGS := optional
+
+LOCAL_32_BIT_ONLY := true
+include $(BUILD_SHARED_LIBRARY)