blob: de239531ba8a5837373b909a0e11a82eeb38a1b8 [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 \
Ruben Brunk2823ce02015-05-19 17:25:13 -070031 ICameraServiceProxy.cpp \
Wu-cheng Li4ca2c7c2011-06-01 17:22:24 +080032 ICameraRecordingProxy.cpp \
Igor Murashkin634a5152013-02-20 17:15:11 -080033 ICameraRecordingProxyListener.cpp \
Eino-Ville Talvala7b82efe2013-07-25 17:12:35 -070034 camera2/ICameraDeviceUser.cpp \
35 camera2/ICameraDeviceCallbacks.cpp \
36 camera2/CaptureRequest.cpp \
Yin-Chia Yehb97babb2015-03-12 13:42:44 -070037 camera2/OutputConfiguration.cpp \
Igor Murashkinc073ba52013-02-26 14:32:34 -080038 CameraBase.cpp \
Ruben Brunk5698d442014-06-18 10:39:40 -070039 CameraUtils.cpp \
Ruben Brunkd1176ef2014-02-21 10:51:38 -080040 VendorTagDescriptor.cpp
Mathias Agopian3cf61352010-02-09 17:46:37 -080041
42LOCAL_SHARED_LIBRARIES := \
43 libcutils \
44 libutils \
Ying Wangda0dc0a2013-04-09 21:53:49 -070045 liblog \
Mathias Agopian3cf61352010-02-09 17:46:37 -080046 libbinder \
47 libhardware \
Jamie Gennisbfa33aa2010-12-20 11:51:31 -080048 libui \
Igor Murashkin7efa5202013-02-13 15:53:56 -080049 libgui \
50 libcamera_metadata \
51
52LOCAL_C_INCLUDES += \
Igor Murashkin1d880232013-02-20 16:50:13 -080053 system/media/camera/include \
Ruben Brunkb2119af2014-05-09 19:57:56 -070054 system/media/private/camera/include \
Praveen Chavan6773d472016-01-13 01:24:30 -080055 frameworks/native/include/media/openmax \
Mathias Agopian3cf61352010-02-09 17:46:37 -080056
57LOCAL_MODULE:= libcamera_client
58
Mathias Agopian3cf61352010-02-09 17:46:37 -080059include $(BUILD_SHARED_LIBRARY)