Ruben Brunk | d1176ef | 2014-02-21 10:51:38 -0800 | [diff] [blame] | 1 | # 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 Murashkin | 1d88023 | 2013-02-20 16:50:13 -0800 | [diff] [blame] | 15 | CAMERA_CLIENT_LOCAL_PATH:= $(call my-dir) |
| 16 | include $(call all-subdir-makefiles) |
Mathias Agopian | 3cf6135 | 2010-02-09 17:46:37 -0800 | [diff] [blame] | 17 | include $(CLEAR_VARS) |
| 18 | |
Igor Murashkin | 1d88023 | 2013-02-20 16:50:13 -0800 | [diff] [blame] | 19 | LOCAL_PATH := $(CAMERA_CLIENT_LOCAL_PATH) |
| 20 | |
Eino-Ville Talvala | d56db1d | 2015-12-17 16:50:35 -0800 | [diff] [blame^] | 21 | LOCAL_AIDL_INCLUDES := \ |
| 22 | frameworks/av/camera/aidl \ |
| 23 | frameworks/base/core/java \ |
| 24 | frameworks/native/aidl/gui |
| 25 | |
| 26 | # AIDL files for camera interfaces |
| 27 | # The headers for these interfaces will be available to any modules that |
| 28 | # include libcamera_client, at the path "aidl/package/path/BnFoo.h" |
| 29 | |
| 30 | LOCAL_SRC_FILES := \ |
| 31 | aidl/android/hardware/ICameraService.aidl \ |
| 32 | aidl/android/hardware/ICameraServiceListener.aidl \ |
| 33 | aidl/android/hardware/camera2/ICameraDeviceCallbacks.aidl \ |
| 34 | aidl/android/hardware/camera2/ICameraDeviceUser.aidl |
| 35 | |
| 36 | # Source for camera interface parcelables, and manually-written interfaces |
| 37 | |
| 38 | LOCAL_SRC_FILES += \ |
Mathias Agopian | 3cf6135 | 2010-02-09 17:46:37 -0800 | [diff] [blame] | 39 | Camera.cpp \ |
Igor Murashkin | 7efa520 | 2013-02-13 15:53:56 -0800 | [diff] [blame] | 40 | CameraMetadata.cpp \ |
Mathias Agopian | 3cf6135 | 2010-02-09 17:46:37 -0800 | [diff] [blame] | 41 | CameraParameters.cpp \ |
Jianing Wei | cb0652e | 2014-03-12 18:29:36 -0700 | [diff] [blame] | 42 | CaptureResult.cpp \ |
Igor Murashkin | 0b88a62 | 2014-03-18 18:15:23 -0700 | [diff] [blame] | 43 | CameraParameters2.cpp \ |
Mathias Agopian | 3cf6135 | 2010-02-09 17:46:37 -0800 | [diff] [blame] | 44 | ICamera.cpp \ |
| 45 | ICameraClient.cpp \ |
Ruben Brunk | 2823ce0 | 2015-05-19 17:25:13 -0700 | [diff] [blame] | 46 | ICameraServiceProxy.cpp \ |
Wu-cheng Li | 4ca2c7c | 2011-06-01 17:22:24 +0800 | [diff] [blame] | 47 | ICameraRecordingProxy.cpp \ |
Igor Murashkin | 634a515 | 2013-02-20 17:15:11 -0800 | [diff] [blame] | 48 | ICameraRecordingProxyListener.cpp \ |
Eino-Ville Talvala | 7b82efe | 2013-07-25 17:12:35 -0700 | [diff] [blame] | 49 | camera2/CaptureRequest.cpp \ |
Yin-Chia Yeh | b97babb | 2015-03-12 13:42:44 -0700 | [diff] [blame] | 50 | camera2/OutputConfiguration.cpp \ |
Eino-Ville Talvala | d56db1d | 2015-12-17 16:50:35 -0800 | [diff] [blame^] | 51 | camera2/SubmitInfo.cpp \ |
Igor Murashkin | c073ba5 | 2013-02-26 14:32:34 -0800 | [diff] [blame] | 52 | CameraBase.cpp \ |
Ruben Brunk | 5698d44 | 2014-06-18 10:39:40 -0700 | [diff] [blame] | 53 | CameraUtils.cpp \ |
Ruben Brunk | d1176ef | 2014-02-21 10:51:38 -0800 | [diff] [blame] | 54 | VendorTagDescriptor.cpp |
Mathias Agopian | 3cf6135 | 2010-02-09 17:46:37 -0800 | [diff] [blame] | 55 | |
| 56 | LOCAL_SHARED_LIBRARIES := \ |
| 57 | libcutils \ |
| 58 | libutils \ |
Ying Wang | da0dc0a | 2013-04-09 21:53:49 -0700 | [diff] [blame] | 59 | liblog \ |
Mathias Agopian | 3cf6135 | 2010-02-09 17:46:37 -0800 | [diff] [blame] | 60 | libbinder \ |
| 61 | libhardware \ |
Jamie Gennis | bfa33aa | 2010-12-20 11:51:31 -0800 | [diff] [blame] | 62 | libui \ |
Igor Murashkin | 7efa520 | 2013-02-13 15:53:56 -0800 | [diff] [blame] | 63 | libgui \ |
| 64 | libcamera_metadata \ |
| 65 | |
| 66 | LOCAL_C_INCLUDES += \ |
Igor Murashkin | 1d88023 | 2013-02-20 16:50:13 -0800 | [diff] [blame] | 67 | system/media/camera/include \ |
Ruben Brunk | b2119af | 2014-05-09 19:57:56 -0700 | [diff] [blame] | 68 | system/media/private/camera/include \ |
Praveen Chavan | 6773d47 | 2016-01-13 01:24:30 -0800 | [diff] [blame] | 69 | frameworks/native/include/media/openmax \ |
Eino-Ville Talvala | d56db1d | 2015-12-17 16:50:35 -0800 | [diff] [blame^] | 70 | frameworks/av/include/camera |
| 71 | |
| 72 | LOCAL_EXPORT_C_INCLUDE_DIRS := \ |
| 73 | system/media/camera/include \ |
| 74 | frameworks/av/include/camera |
Mathias Agopian | 3cf6135 | 2010-02-09 17:46:37 -0800 | [diff] [blame] | 75 | |
| 76 | LOCAL_MODULE:= libcamera_client |
| 77 | |
Mathias Agopian | 3cf6135 | 2010-02-09 17:46:37 -0800 | [diff] [blame] | 78 | include $(BUILD_SHARED_LIBRARY) |