blob: da5ac599ea41b95d765b131e52bde5ab87628544 [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 \
Jianing Weicb0652e2014-03-12 18:29:36 -070025 CaptureResult.cpp \
Igor Murashkin0b88a622014-03-18 18:15:23 -070026 CameraParameters2.cpp \
Mathias Agopian3cf61352010-02-09 17:46:37 -080027 ICamera.cpp \
28 ICameraClient.cpp \
Wu-cheng Li4ca2c7c2011-06-01 17:22:24 +080029 ICameraService.cpp \
Igor Murashkinbfc99152013-02-27 12:55:20 -080030 ICameraServiceListener.cpp \
Wu-cheng Li4ca2c7c2011-06-01 17:22:24 +080031 ICameraRecordingProxy.cpp \
Igor Murashkin634a5152013-02-20 17:15:11 -080032 ICameraRecordingProxyListener.cpp \
33 IProCameraUser.cpp \
34 IProCameraCallbacks.cpp \
Eino-Ville Talvala7b82efe2013-07-25 17:12:35 -070035 camera2/ICameraDeviceUser.cpp \
36 camera2/ICameraDeviceCallbacks.cpp \
37 camera2/CaptureRequest.cpp \
Igor Murashkin634a5152013-02-20 17:15:11 -080038 ProCamera.cpp \
Igor Murashkinc073ba52013-02-26 14:32:34 -080039 CameraBase.cpp \
Ruben Brunk5698d442014-06-18 10:39:40 -070040 CameraUtils.cpp \
Ruben Brunkd1176ef2014-02-21 10:51:38 -080041 VendorTagDescriptor.cpp
Mathias Agopian3cf61352010-02-09 17:46:37 -080042
43LOCAL_SHARED_LIBRARIES := \
44 libcutils \
45 libutils \
Ying Wangda0dc0a2013-04-09 21:53:49 -070046 liblog \
Mathias Agopian3cf61352010-02-09 17:46:37 -080047 libbinder \
48 libhardware \
Jamie Gennisbfa33aa2010-12-20 11:51:31 -080049 libui \
Igor Murashkin7efa5202013-02-13 15:53:56 -080050 libgui \
51 libcamera_metadata \
52
53LOCAL_C_INCLUDES += \
Igor Murashkin1d880232013-02-20 16:50:13 -080054 system/media/camera/include \
Ruben Brunkb2119af2014-05-09 19:57:56 -070055 system/media/private/camera/include \
Mathias Agopian3cf61352010-02-09 17:46:37 -080056
57LOCAL_MODULE:= libcamera_client
58
Mathias Agopian3cf61352010-02-09 17:46:37 -080059include $(BUILD_SHARED_LIBRARY)