Android.mk revision 16a2ada049447c156648812b94d25be07869f284
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/Camera3DummyStream.cpp \ 51 device3/StatusTracker.cpp \ 52 gui/RingBufferConsumer.cpp \ 53 utils/CameraTraces.cpp \ 54 55LOCAL_SHARED_LIBRARIES:= \ 56 libui \ 57 liblog \ 58 libutils \ 59 libbinder \ 60 libcutils \ 61 libmedia \ 62 libcamera_client \ 63 libgui \ 64 libhardware \ 65 libsync \ 66 libcamera_metadata \ 67 libjpeg 68 69LOCAL_C_INCLUDES += \ 70 system/media/camera/include \ 71 system/media/private/camera/include \ 72 external/jpeg 73 74 75LOCAL_CFLAGS += -Wall -Wextra 76 77LOCAL_MODULE:= libcameraservice 78 79include $(BUILD_SHARED_LIBRARY) 80