Avichal Rakesh | e1857f8 | 2022-06-08 17:47:23 -0700 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2020 The Android Open Source Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | // |
| 16 | |
| 17 | package { |
| 18 | // See: http://go/android-license-faq |
| 19 | // A large-scale-change added 'default_applicable_licenses' to import |
| 20 | // all of the 'license_kinds' from "hardware_interfaces_license" |
| 21 | // to get the below license kinds: |
| 22 | // SPDX-license-identifier-Apache-2.0 |
| 23 | default_applicable_licenses: ["hardware_interfaces_license"], |
| 24 | } |
| 25 | |
| 26 | cc_library_shared { |
| 27 | name: "camera.device-external-impl", |
Sally Qi | 3def856 | 2023-07-20 16:56:07 +0800 | [diff] [blame] | 28 | defaults: [ |
| 29 | "android.hardware.graphics.common-ndk_shared", |
| 30 | "hidl_defaults", |
| 31 | ], |
Avichal Rakesh | e1857f8 | 2022-06-08 17:47:23 -0700 | [diff] [blame] | 32 | proprietary: true, |
| 33 | srcs: [ |
| 34 | "ExternalCameraDevice.cpp", |
| 35 | "ExternalCameraDeviceSession.cpp", |
| 36 | "ExternalCameraOfflineSession.cpp", |
| 37 | "ExternalCameraUtils.cpp", |
| 38 | "convert.cpp", |
| 39 | ], |
| 40 | shared_libs: [ |
| 41 | "android.hardware.camera.common-V1-ndk", |
| 42 | "android.hardware.camera.device-V1-ndk", |
Devin Moore | 5e15409 | 2023-09-13 16:18:30 +0000 | [diff] [blame^] | 43 | "android.hardware.graphics.allocator-V2-ndk", |
Avichal Rakesh | e1857f8 | 2022-06-08 17:47:23 -0700 | [diff] [blame] | 44 | "android.hardware.graphics.mapper@2.0", |
| 45 | "android.hardware.graphics.mapper@3.0", |
| 46 | "android.hardware.graphics.mapper@4.0", |
| 47 | "android.hidl.allocator@1.0", |
| 48 | "android.hidl.memory@1.0", |
| 49 | "libbinder_ndk", |
| 50 | "libcamera_metadata", |
| 51 | "libcutils", |
| 52 | "libexif", |
| 53 | "libfmq", |
| 54 | "libgralloctypes", |
| 55 | "libhardware", |
| 56 | "libhidlbase", |
| 57 | "libhidlmemory", |
| 58 | "libjpeg", |
| 59 | "liblog", |
| 60 | "libsync", |
| 61 | "libtinyxml2", |
| 62 | "libutils", |
Devin Moore | 5e15409 | 2023-09-13 16:18:30 +0000 | [diff] [blame^] | 63 | "libui", |
Avichal Rakesh | e1857f8 | 2022-06-08 17:47:23 -0700 | [diff] [blame] | 64 | "libyuv", |
| 65 | ], |
| 66 | static_libs: [ |
| 67 | "android.hardware.camera.common@1.0-helper", |
| 68 | "libaidlcommonsupport", |
| 69 | ], |
| 70 | header_libs: [ |
| 71 | "media_plugin_headers", |
| 72 | ], |
| 73 | export_include_dirs: ["."], |
| 74 | } |