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