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 CAMERA_CLIENT_LOCAL_PATH:= $(call my-dir) 16 include $(call all-subdir-makefiles) 17 include $(CLEAR_VARS) 18 19 LOCAL_PATH := $(CAMERA_CLIENT_LOCAL_PATH) 20 21 LOCAL_SRC_FILES:= \ 22 Camera.cpp \ 23 CameraMetadata.cpp \ 24 CameraParameters.cpp \ 25 CaptureResult.cpp \ 26 CameraParameters2.cpp \ 27 ICamera.cpp \ 28 ICameraClient.cpp \ 29 ICameraService.cpp \ 30 ICameraServiceListener.cpp \ 31 ICameraRecordingProxy.cpp \ 32 ICameraRecordingProxyListener.cpp \ 33 IProCameraUser.cpp \ 34 IProCameraCallbacks.cpp \ 35 camera2/ICameraDeviceUser.cpp \ 36 camera2/ICameraDeviceCallbacks.cpp \ 37 camera2/CaptureRequest.cpp \ 38 ProCamera.cpp \ 39 CameraBase.cpp \ 40 CameraUtils.cpp \ 41 VendorTagDescriptor.cpp 42 43 LOCAL_SHARED_LIBRARIES := \ 44 libcutils \ 45 libutils \ 46 liblog \ 47 libbinder \ 48 libhardware \ 49 libui \ 50 libgui \ 51 libcamera_metadata \ 52 53 LOCAL_C_INCLUDES += \ 54 system/media/camera/include \ 55 system/media/private/camera/include \ 56 57 LOCAL_MODULE:= libcamera_client 58 59 include $(BUILD_SHARED_LIBRARY) 60