• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
23# Camera service source
24
25LOCAL_SRC_FILES :=  \
26    CameraService.cpp \
27    CameraFlashlight.cpp \
28    common/Camera2ClientBase.cpp \
29    common/CameraDeviceBase.cpp \
30    common/CameraModule.cpp \
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 \
39    api1/client2/JpegCompressor.cpp \
40    api1/client2/CaptureSequencer.cpp \
41    api1/client2/ZslProcessor.cpp \
42    api2/CameraDeviceClient.cpp \
43    device3/Camera3Device.cpp \
44    device3/Camera3Stream.cpp \
45    device3/Camera3IOStreamBase.cpp \
46    device3/Camera3InputStream.cpp \
47    device3/Camera3OutputStream.cpp \
48    device3/Camera3ZslStream.cpp \
49    device3/Camera3DummyStream.cpp \
50    device3/StatusTracker.cpp \
51    device3/Camera3BufferManager.cpp \
52    gui/RingBufferConsumer.cpp \
53    utils/CameraTraces.cpp \
54    utils/AutoConditionLock.cpp \
55    utils/TagMonitor.cpp
56
57LOCAL_SHARED_LIBRARIES:= \
58    libui \
59    liblog \
60    libutils \
61    libbinder \
62    libcutils \
63    libmedia \
64    libmediautils \
65    libcamera_client \
66    libgui \
67    libhardware \
68    libsync \
69    libcamera_metadata \
70    libjpeg \
71    libmemunreachable
72
73LOCAL_C_INCLUDES += \
74    system/media/private/camera/include \
75    frameworks/native/include/media/openmax \
76    external/jpeg
77
78LOCAL_EXPORT_C_INCLUDE_DIRS := \
79    frameworks/av/services/camera/libcameraservice
80
81LOCAL_CFLAGS += -Wall -Wextra -Werror
82
83LOCAL_MODULE:= libcameraservice
84
85include $(BUILD_SHARED_LIBRARY)
86