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 | |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 15 | LOCAL_PATH:= $(call my-dir) |
| 16 | |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 17 | # |
| 18 | # libcameraservice |
| 19 | # |
| 20 | |
| 21 | include $(CLEAR_VARS) |
| 22 | |
Eino-Ville Talvala | d56db1d | 2015-12-17 16:50:35 -0800 | [diff] [blame] | 23 | # Camera service source |
| 24 | |
| 25 | LOCAL_SRC_FILES := \ |
Eino-Ville Talvala | 5e08d60 | 2012-05-16 14:59:25 -0700 | [diff] [blame] | 26 | CameraService.cpp \ |
Chien-Yu Chen | 3068d73 | 2015-02-09 13:29:57 -0800 | [diff] [blame] | 27 | CameraFlashlight.cpp \ |
Eino-Ville Talvala | 7b82efe | 2013-07-25 17:12:35 -0700 | [diff] [blame] | 28 | common/Camera2ClientBase.cpp \ |
| 29 | common/CameraDeviceBase.cpp \ |
Yin-Chia Yeh | e074a93 | 2015-01-30 10:29:02 -0800 | [diff] [blame] | 30 | common/CameraModule.cpp \ |
Eino-Ville Talvala | 7b82efe | 2013-07-25 17:12:35 -0700 | [diff] [blame] | 31 | common/FrameProcessorBase.cpp \ |
| 32 | api1/CameraClient.cpp \ |
| 33 | api1/Camera2Client.cpp \ |
| 34 | api1/client2/Parameters.cpp \ |
| 35 | api1/client2/FrameProcessor.cpp \ |
| 36 | api1/client2/StreamingProcessor.cpp \ |
| 37 | api1/client2/JpegProcessor.cpp \ |
| 38 | api1/client2/CallbackProcessor.cpp \ |
Eino-Ville Talvala | 7b82efe | 2013-07-25 17:12:35 -0700 | [diff] [blame] | 39 | api1/client2/JpegCompressor.cpp \ |
| 40 | api1/client2/CaptureSequencer.cpp \ |
Eino-Ville Talvala | d309fb9 | 2015-11-25 12:12:45 -0800 | [diff] [blame] | 41 | api1/client2/ZslProcessor.cpp \ |
Eino-Ville Talvala | 7b82efe | 2013-07-25 17:12:35 -0700 | [diff] [blame] | 42 | api2/CameraDeviceClient.cpp \ |
Eino-Ville Talvala | 7b82efe | 2013-07-25 17:12:35 -0700 | [diff] [blame] | 43 | device3/Camera3Device.cpp \ |
| 44 | device3/Camera3Stream.cpp \ |
| 45 | device3/Camera3IOStreamBase.cpp \ |
| 46 | device3/Camera3InputStream.cpp \ |
| 47 | device3/Camera3OutputStream.cpp \ |
| 48 | device3/Camera3ZslStream.cpp \ |
Eino-Ville Talvala | 16a2ada | 2014-08-27 14:41:33 -0700 | [diff] [blame] | 49 | device3/Camera3DummyStream.cpp \ |
Eino-Ville Talvala | f1e98d8 | 2013-09-06 09:32:43 -0700 | [diff] [blame] | 50 | device3/StatusTracker.cpp \ |
Zhijun He | 125684a | 2015-12-26 15:07:30 -0800 | [diff] [blame] | 51 | device3/Camera3BufferManager.cpp \ |
Igor Murashkin | 4060274 | 2013-04-29 10:31:06 -0700 | [diff] [blame] | 52 | gui/RingBufferConsumer.cpp \ |
Igor Murashkin | ff3e31d | 2013-10-23 16:40:06 -0700 | [diff] [blame] | 53 | utils/CameraTraces.cpp \ |
Eino-Ville Talvala | 4d45383 | 2016-07-15 11:56:53 -0700 | [diff] [blame] | 54 | utils/AutoConditionLock.cpp \ |
| 55 | utils/TagMonitor.cpp |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 56 | |
| 57 | LOCAL_SHARED_LIBRARIES:= \ |
| 58 | libui \ |
Ying Wang | da0dc0a | 2013-04-09 21:53:49 -0700 | [diff] [blame] | 59 | liblog \ |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 60 | libutils \ |
| 61 | libbinder \ |
| 62 | libcutils \ |
| 63 | libmedia \ |
Ruben Brunk | 99e6971 | 2015-05-26 17:25:07 -0700 | [diff] [blame] | 64 | libmediautils \ |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 65 | libcamera_client \ |
Iliyan Malchev | 8951a97 | 2011-04-14 16:55:59 -0700 | [diff] [blame] | 66 | libgui \ |
Eino-Ville Talvala | f69c70d | 2012-05-20 15:59:14 -0700 | [diff] [blame] | 67 | libhardware \ |
James Painter | e538206 | 2012-09-05 18:02:32 -0700 | [diff] [blame] | 68 | libcamera_metadata \ |
Eino-Ville Talvala | d89821e | 2016-04-20 11:23:50 -0700 | [diff] [blame] | 69 | libjpeg \ |
| 70 | libmemunreachable |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 71 | |
Marco Nelissen | 2635065 | 2016-10-25 13:17:47 -0700 | [diff] [blame] | 72 | LOCAL_EXPORT_SHARED_LIBRARY_HEADERS := libbinder libcamera_client |
Christopher Wiley | e0c3179 | 2016-04-14 10:29:30 -0700 | [diff] [blame] | 73 | |
Eino-Ville Talvala | 61ab9f9 | 2012-05-17 10:30:54 -0700 | [diff] [blame] | 74 | LOCAL_C_INCLUDES += \ |
Ruben Brunk | d1176ef | 2014-02-21 10:51:38 -0800 | [diff] [blame] | 75 | system/media/private/camera/include \ |
Eino-Ville Talvala | d46a6b9 | 2015-05-14 17:26:24 -0700 | [diff] [blame] | 76 | frameworks/native/include/media/openmax \ |
James Painter | e538206 | 2012-09-05 18:02:32 -0700 | [diff] [blame] | 77 | external/jpeg |
Eino-Ville Talvala | 61ab9f9 | 2012-05-17 10:30:54 -0700 | [diff] [blame] | 78 | |
Eino-Ville Talvala | d56db1d | 2015-12-17 16:50:35 -0800 | [diff] [blame] | 79 | LOCAL_EXPORT_C_INCLUDE_DIRS := \ |
| 80 | frameworks/av/services/camera/libcameraservice |
Igor Murashkin | ddf3c50 | 2012-10-12 16:56:11 -0700 | [diff] [blame] | 81 | |
Eino-Ville Talvala | 02bf032 | 2016-02-18 12:41:10 -0800 | [diff] [blame] | 82 | LOCAL_CFLAGS += -Wall -Wextra -Werror |
Igor Murashkin | ddf3c50 | 2012-10-12 16:56:11 -0700 | [diff] [blame] | 83 | |
Yi Kong | debd04d | 2017-06-01 10:53:59 -0700 | [diff] [blame^] | 84 | # Workaround for invalid unused-lambda-capture warning http://b/38349491 |
| 85 | LOCAL_CLANG_CFLAGS += -Wno-error=unused-lambda-capture |
| 86 | |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 87 | LOCAL_MODULE:= libcameraservice |
| 88 | |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 89 | include $(BUILD_SHARED_LIBRARY) |