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
15LOCAL_PATH:= $(call my-dir)
16
17#
18# libcameraservice
19#
20
21include $(CLEAR_VARS)
22
23LOCAL_SRC_FILES:=               \
24    CameraService.cpp \
25    CameraDeviceFactory.cpp \
26    common/Camera2ClientBase.cpp \
27    common/CameraDeviceBase.cpp \
28    common/FrameProcessorBase.cpp \
29    api1/CameraClient.cpp \
30    api1/Camera2Client.cpp \
31    api1/client2/Parameters.cpp \
32    api1/client2/FrameProcessor.cpp \
33    api1/client2/StreamingProcessor.cpp \
34    api1/client2/JpegProcessor.cpp \
35    api1/client2/CallbackProcessor.cpp \
36    api1/client2/ZslProcessor.cpp \
37    api1/client2/ZslProcessorInterface.cpp \
38    api1/client2/BurstCapture.cpp \
39    api1/client2/JpegCompressor.cpp \
40    api1/client2/CaptureSequencer.cpp \
41    api1/client2/ZslProcessor3.cpp \
42    api2/CameraDeviceClient.cpp \
43    api_pro/ProCamera2Client.cpp \
44    device2/Camera2Device.cpp \
45    device3/Camera3Device.cpp \
46    device3/Camera3Stream.cpp \
47    device3/Camera3IOStreamBase.cpp \
48    device3/Camera3InputStream.cpp \
49    device3/Camera3OutputStream.cpp \
50    device3/Camera3ZslStream.cpp \
51    device3/Camera3DummyStream.cpp \
52    device3/StatusTracker.cpp \
53    gui/RingBufferConsumer.cpp \
54    utils/CameraTraces.cpp \
55
56LOCAL_SHARED_LIBRARIES:= \
57    libui \
58    liblog \
59    libutils \
60    libbinder \
61    libcutils \
62    libmedia \
63    libcamera_client \
64    libgui \
65    libhardware \
66    libsync \
67    libcamera_metadata \
68    libjpeg
69
70LOCAL_C_INCLUDES += \
71    system/media/camera/include \
72    system/media/private/camera/include \
73    external/jpeg
74
75
76LOCAL_CFLAGS += -Wall -Wextra
77
78LOCAL_MODULE:= libcameraservice
79
80include $(BUILD_SHARED_LIBRARY)
81