1 # Copyright 2010 The Android Open Source Project
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 CAMERA_CLIENT_LOCAL_PATH:= $(call my-dir)
16 include $(call all-subdir-makefiles)
19 LOCAL_PATH := $(CAMERA_CLIENT_LOCAL_PATH)
21 LOCAL_AIDL_INCLUDES := \
22 frameworks/av/camera/aidl \
23 frameworks/base/core/java \
24 frameworks/native/aidl/gui
26 # AIDL files for camera interfaces
27 # The headers for these interfaces will be available to any modules that
28 # include libcamera_client, at the path "aidl/package/path/BnFoo.h"
31 aidl/android/hardware/ICameraService.aidl \
32 aidl/android/hardware/ICameraServiceListener.aidl \
33 aidl/android/hardware/camera2/ICameraDeviceCallbacks.aidl \
34 aidl/android/hardware/camera2/ICameraDeviceUser.aidl
36 # Source for camera interface parcelables, and manually-written interfaces
41 CameraParameters.cpp \
43 CameraParameters2.cpp \
46 ICameraServiceProxy.cpp \
47 ICameraRecordingProxy.cpp \
48 ICameraRecordingProxyListener.cpp \
49 camera2/CaptureRequest.cpp \
50 camera2/OutputConfiguration.cpp \
51 camera2/SubmitInfo.cpp \
54 VendorTagDescriptor.cpp
56 LOCAL_SHARED_LIBRARIES := \
67 system/media/camera/include \
68 system/media/private/camera/include \
69 frameworks/native/include/media/openmax \
70 frameworks/av/include/camera
72 LOCAL_EXPORT_C_INCLUDE_DIRS := \
73 system/media/camera/include \
74 frameworks/av/include/camera
76 LOCAL_CFLAGS += -Werror -Wall -Wextra
78 LOCAL_MODULE:= libcamera_client
80 include $(BUILD_SHARED_LIBRARY)