Android.mk revision d1176ef16677b6c94fb893edb6a864cdccc0b190
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/BurstCapture.cpp \ 38 api1/client2/JpegCompressor.cpp \ 39 api1/client2/CaptureSequencer.cpp \ 40 api1/client2/ZslProcessor3.cpp \ 41 api2/CameraDeviceClient.cpp \ 42 api_pro/ProCamera2Client.cpp \ 43 device2/Camera2Device.cpp \ 44 device3/Camera3Device.cpp \ 45 device3/Camera3Stream.cpp \ 46 device3/Camera3IOStreamBase.cpp \ 47 device3/Camera3InputStream.cpp \ 48 device3/Camera3OutputStream.cpp \ 49 device3/Camera3ZslStream.cpp \ 50 device3/StatusTracker.cpp \ 51 gui/RingBufferConsumer.cpp \ 52 utils/CameraTraces.cpp \ 53 54LOCAL_SHARED_LIBRARIES:= \ 55 libui \ 56 liblog \ 57 libutils \ 58 libbinder \ 59 libcutils \ 60 libmedia \ 61 libcamera_client \ 62 libgui \ 63 libhardware \ 64 libsync \ 65 libcamera_metadata \ 66 libjpeg 67 68LOCAL_C_INCLUDES += \ 69 system/media/camera/include \ 70 system/media/private/camera/include \ 71 external/jpeg 72 73 74LOCAL_CFLAGS += -Wall -Wextra 75 76LOCAL_MODULE:= libcameraservice 77 78include $(BUILD_SHARED_LIBRARY) 79