// Copyright 2010 The Android Open Source Project // 2017-2020 The LineageOS Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. cc_library_shared { name: "libcamera_client_m7", aidl: { export_aidl_headers: true, include_dirs: [ "frameworks/av/camera/aidl", "frameworks/native/aidl/gui", ], }, srcs: [ // AIDL files for camera interfaces ":libcamera_client_aidl", // Source for camera interface parcelables, and manually-written interfaces "Camera.cpp", "CameraBase.cpp", "CameraUtils.cpp", "CameraMetadata.cpp", "CameraParameters.cpp", "CameraParameters2.cpp", "CaptureResult.cpp", "camera2/CaptureRequest.cpp", "camera2/ConcurrentCamera.cpp", "camera2/OutputConfiguration.cpp", "camera2/SessionConfiguration.cpp", "camera2/SubmitInfo.cpp", "ICamera.cpp", "ICameraClient.cpp", "ICameraRecordingProxy.cpp", "ICameraRecordingProxyListener.cpp", "VendorTagDescriptor.cpp", ], shared_libs: [ "libcutils", "libutils", "liblog", "libbinder", "libgui", "libcamera_metadata", "libnativewindow", ], include_dirs: [ "system/media/private/camera/include", "frameworks/native/include/media/openmax", ], export_include_dirs: [ "include", "include/camera" ], cflags: [ "-Werror", "-Wall", "-Wextra", ], }