blob: 369d0c518e2fcf605cd4208bd8b62c837a9756a0 [file] [log] [blame]
Ruben Brunkd1176ef2014-02-21 10:51:38 -08001# Copyright 2010 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
Igor Murashkin1d880232013-02-20 16:50:13 -080015CAMERA_CLIENT_LOCAL_PATH:= $(call my-dir)
16include $(call all-subdir-makefiles)
Mathias Agopian3cf61352010-02-09 17:46:37 -080017include $(CLEAR_VARS)
18
Igor Murashkin1d880232013-02-20 16:50:13 -080019LOCAL_PATH := $(CAMERA_CLIENT_LOCAL_PATH)
20
Mathias Agopian3cf61352010-02-09 17:46:37 -080021LOCAL_SRC_FILES:= \
22 Camera.cpp \
Igor Murashkin7efa5202013-02-13 15:53:56 -080023 CameraMetadata.cpp \
Mathias Agopian3cf61352010-02-09 17:46:37 -080024 CameraParameters.cpp \
25 ICamera.cpp \
26 ICameraClient.cpp \
Wu-cheng Li4ca2c7c2011-06-01 17:22:24 +080027 ICameraService.cpp \
Igor Murashkinbfc99152013-02-27 12:55:20 -080028 ICameraServiceListener.cpp \
Wu-cheng Li4ca2c7c2011-06-01 17:22:24 +080029 ICameraRecordingProxy.cpp \
Igor Murashkin634a5152013-02-20 17:15:11 -080030 ICameraRecordingProxyListener.cpp \
31 IProCameraUser.cpp \
32 IProCameraCallbacks.cpp \
Eino-Ville Talvala7b82efe2013-07-25 17:12:35 -070033 camera2/ICameraDeviceUser.cpp \
34 camera2/ICameraDeviceCallbacks.cpp \
35 camera2/CaptureRequest.cpp \
Igor Murashkin634a5152013-02-20 17:15:11 -080036 ProCamera.cpp \
Igor Murashkinc073ba52013-02-26 14:32:34 -080037 CameraBase.cpp \
Ruben Brunkd1176ef2014-02-21 10:51:38 -080038 VendorTagDescriptor.cpp
Mathias Agopian3cf61352010-02-09 17:46:37 -080039
40LOCAL_SHARED_LIBRARIES := \
41 libcutils \
42 libutils \
Ying Wangda0dc0a2013-04-09 21:53:49 -070043 liblog \
Mathias Agopian3cf61352010-02-09 17:46:37 -080044 libbinder \
45 libhardware \
Jamie Gennisbfa33aa2010-12-20 11:51:31 -080046 libui \
Igor Murashkin7efa5202013-02-13 15:53:56 -080047 libgui \
48 libcamera_metadata \
49
50LOCAL_C_INCLUDES += \
Igor Murashkin1d880232013-02-20 16:50:13 -080051 system/media/camera/include \
Ruben Brunkd1176ef2014-02-21 10:51:38 -080052 system/media/private/camera/include
Mathias Agopian3cf61352010-02-09 17:46:37 -080053
54LOCAL_MODULE:= libcamera_client
55
Mathias Agopian3cf61352010-02-09 17:46:37 -080056include $(BUILD_SHARED_LIBRARY)