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 | |
| 23 | LOCAL_SRC_FILES:= \ |
Eino-Ville Talvala | 5e08d60 | 2012-05-16 14:59:25 -0700 | [diff] [blame] | 24 | CameraService.cpp \ |
Igor Murashkin | 98e2472 | 2013-06-19 19:51:04 -0700 | [diff] [blame] | 25 | CameraDeviceFactory.cpp \ |
Chien-Yu Chen | 3068d73 | 2015-02-09 13:29:57 -0800 | [diff] [blame] | 26 | CameraFlashlight.cpp \ |
Eino-Ville Talvala | 7b82efe | 2013-07-25 17:12:35 -0700 | [diff] [blame] | 27 | common/Camera2ClientBase.cpp \ |
| 28 | common/CameraDeviceBase.cpp \ |
Yin-Chia Yeh | e074a93 | 2015-01-30 10:29:02 -0800 | [diff] [blame] | 29 | common/CameraModule.cpp \ |
Eino-Ville Talvala | 7b82efe | 2013-07-25 17:12:35 -0700 | [diff] [blame] | 30 | common/FrameProcessorBase.cpp \ |
| 31 | api1/CameraClient.cpp \ |
| 32 | api1/Camera2Client.cpp \ |
| 33 | api1/client2/Parameters.cpp \ |
| 34 | api1/client2/FrameProcessor.cpp \ |
| 35 | api1/client2/StreamingProcessor.cpp \ |
| 36 | api1/client2/JpegProcessor.cpp \ |
| 37 | api1/client2/CallbackProcessor.cpp \ |
| 38 | api1/client2/ZslProcessor.cpp \ |
Ruben Brunk | 6551e1e | 2014-09-09 16:20:53 -0700 | [diff] [blame] | 39 | api1/client2/ZslProcessorInterface.cpp \ |
Eino-Ville Talvala | 7b82efe | 2013-07-25 17:12:35 -0700 | [diff] [blame] | 40 | api1/client2/BurstCapture.cpp \ |
| 41 | api1/client2/JpegCompressor.cpp \ |
| 42 | api1/client2/CaptureSequencer.cpp \ |
| 43 | api1/client2/ZslProcessor3.cpp \ |
| 44 | api2/CameraDeviceClient.cpp \ |
Eino-Ville Talvala | 7b82efe | 2013-07-25 17:12:35 -0700 | [diff] [blame] | 45 | device2/Camera2Device.cpp \ |
| 46 | device3/Camera3Device.cpp \ |
| 47 | device3/Camera3Stream.cpp \ |
| 48 | device3/Camera3IOStreamBase.cpp \ |
| 49 | device3/Camera3InputStream.cpp \ |
| 50 | device3/Camera3OutputStream.cpp \ |
| 51 | device3/Camera3ZslStream.cpp \ |
Eino-Ville Talvala | 16a2ada | 2014-08-27 14:41:33 -0700 | [diff] [blame] | 52 | device3/Camera3DummyStream.cpp \ |
Eino-Ville Talvala | f1e98d8 | 2013-09-06 09:32:43 -0700 | [diff] [blame] | 53 | device3/StatusTracker.cpp \ |
Igor Murashkin | 4060274 | 2013-04-29 10:31:06 -0700 | [diff] [blame] | 54 | gui/RingBufferConsumer.cpp \ |
Igor Murashkin | ff3e31d | 2013-10-23 16:40:06 -0700 | [diff] [blame] | 55 | utils/CameraTraces.cpp \ |
Ruben Brunk | cc77671 | 2015-02-17 20:18:47 -0800 | [diff] [blame] | 56 | utils/AutoConditionLock.cpp \ |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 57 | |
| 58 | LOCAL_SHARED_LIBRARIES:= \ |
| 59 | libui \ |
Ying Wang | da0dc0a | 2013-04-09 21:53:49 -0700 | [diff] [blame] | 60 | liblog \ |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 61 | libutils \ |
| 62 | libbinder \ |
| 63 | libcutils \ |
| 64 | libmedia \ |
Ruben Brunk | 99e6971 | 2015-05-26 17:25:07 -0700 | [diff] [blame] | 65 | libmediautils \ |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 66 | libcamera_client \ |
Iliyan Malchev | 8951a97 | 2011-04-14 16:55:59 -0700 | [diff] [blame] | 67 | libgui \ |
Eino-Ville Talvala | f69c70d | 2012-05-20 15:59:14 -0700 | [diff] [blame] | 68 | libhardware \ |
Jamie Gennis | 1e5b2b3 | 2012-06-13 16:29:51 -0700 | [diff] [blame] | 69 | libsync \ |
James Painter | e538206 | 2012-09-05 18:02:32 -0700 | [diff] [blame] | 70 | libcamera_metadata \ |
| 71 | libjpeg |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 72 | |
Eino-Ville Talvala | 61ab9f9 | 2012-05-17 10:30:54 -0700 | [diff] [blame] | 73 | LOCAL_C_INCLUDES += \ |
James Painter | e538206 | 2012-09-05 18:02:32 -0700 | [diff] [blame] | 74 | system/media/camera/include \ |
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 | |
Igor Murashkin | ddf3c50 | 2012-10-12 16:56:11 -0700 | [diff] [blame] | 79 | |
| 80 | LOCAL_CFLAGS += -Wall -Wextra |
| 81 | |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 82 | LOCAL_MODULE:= libcameraservice |
| 83 | |
Mathias Agopian | 65ab471 | 2010-07-14 17:59:35 -0700 | [diff] [blame] | 84 | include $(BUILD_SHARED_LIBRARY) |