Home | History | Annotate | Download | only in libcameraservice
      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 
     15 LOCAL_PATH:= $(call my-dir)
     16 
     17 #
     18 # libcameraservice
     19 #
     20 
     21 include $(CLEAR_VARS)
     22 
     23 # Camera service source
     24 
     25 LOCAL_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 
     56 LOCAL_SHARED_LIBRARIES:= \
     57     libui \
     58     liblog \
     59     libutils \
     60     libbinder \
     61     libcutils \
     62     libmedia \
     63     libmediautils \
     64     libcamera_client \
     65     libgui \
     66     libhardware \
     67     libsync \
     68     libcamera_metadata \
     69     libjpeg \
     70     libmemunreachable
     71 
     72 LOCAL_C_INCLUDES += \
     73     system/media/private/camera/include \
     74     frameworks/native/include/media/openmax \
     75     external/jpeg
     76 
     77 LOCAL_EXPORT_C_INCLUDE_DIRS := \
     78     frameworks/av/services/camera/libcameraservice
     79 
     80 LOCAL_CFLAGS += -Wall -Wextra -Werror
     81 
     82 LOCAL_MODULE:= libcameraservice
     83 
     84 include $(BUILD_SHARED_LIBRARY)
     85