blob: e8ef24efd64639441c75cb34bc409335068b4d6b [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
Mathias Agopian65ab4712010-07-14 17:59:35 -070015LOCAL_PATH:= $(call my-dir)
16
Mathias Agopian65ab4712010-07-14 17:59:35 -070017#
18# libcameraservice
19#
20
21include $(CLEAR_VARS)
22
23LOCAL_SRC_FILES:= \
Eino-Ville Talvala5e08d602012-05-16 14:59:25 -070024 CameraService.cpp \
Igor Murashkin98e24722013-06-19 19:51:04 -070025 CameraDeviceFactory.cpp \
Chien-Yu Chen3068d732015-02-09 13:29:57 -080026 CameraFlashlight.cpp \
Eino-Ville Talvala7b82efe2013-07-25 17:12:35 -070027 common/Camera2ClientBase.cpp \
28 common/CameraDeviceBase.cpp \
Yin-Chia Yehe074a932015-01-30 10:29:02 -080029 common/CameraModule.cpp \
Eino-Ville Talvala7b82efe2013-07-25 17:12:35 -070030 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 Brunk6551e1e2014-09-09 16:20:53 -070039 api1/client2/ZslProcessorInterface.cpp \
Eino-Ville Talvala7b82efe2013-07-25 17:12:35 -070040 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 Talvala7b82efe2013-07-25 17:12:35 -070045 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 Talvala16a2ada2014-08-27 14:41:33 -070052 device3/Camera3DummyStream.cpp \
Eino-Ville Talvalaf1e98d82013-09-06 09:32:43 -070053 device3/StatusTracker.cpp \
Igor Murashkin40602742013-04-29 10:31:06 -070054 gui/RingBufferConsumer.cpp \
Igor Murashkinff3e31d2013-10-23 16:40:06 -070055 utils/CameraTraces.cpp \
Ruben Brunkcc776712015-02-17 20:18:47 -080056 utils/AutoConditionLock.cpp \
Mathias Agopian65ab4712010-07-14 17:59:35 -070057
58LOCAL_SHARED_LIBRARIES:= \
59 libui \
Ying Wangda0dc0a2013-04-09 21:53:49 -070060 liblog \
Mathias Agopian65ab4712010-07-14 17:59:35 -070061 libutils \
62 libbinder \
63 libcutils \
64 libmedia \
Ruben Brunk99e69712015-05-26 17:25:07 -070065 libmediautils \
Mathias Agopian65ab4712010-07-14 17:59:35 -070066 libcamera_client \
Iliyan Malchev8951a972011-04-14 16:55:59 -070067 libgui \
Eino-Ville Talvalaf69c70d2012-05-20 15:59:14 -070068 libhardware \
Jamie Gennis1e5b2b32012-06-13 16:29:51 -070069 libsync \
James Paintere5382062012-09-05 18:02:32 -070070 libcamera_metadata \
71 libjpeg
Mathias Agopian65ab4712010-07-14 17:59:35 -070072
Eino-Ville Talvala61ab9f92012-05-17 10:30:54 -070073LOCAL_C_INCLUDES += \
James Paintere5382062012-09-05 18:02:32 -070074 system/media/camera/include \
Ruben Brunkd1176ef2014-02-21 10:51:38 -080075 system/media/private/camera/include \
Eino-Ville Talvalad46a6b92015-05-14 17:26:24 -070076 frameworks/native/include/media/openmax \
James Paintere5382062012-09-05 18:02:32 -070077 external/jpeg
Eino-Ville Talvala61ab9f92012-05-17 10:30:54 -070078
Igor Murashkinddf3c502012-10-12 16:56:11 -070079
80LOCAL_CFLAGS += -Wall -Wextra
81
Mathias Agopian65ab4712010-07-14 17:59:35 -070082LOCAL_MODULE:= libcameraservice
83
Mathias Agopian65ab4712010-07-14 17:59:35 -070084include $(BUILD_SHARED_LIBRARY)