Emilian Peev | e18057b | 2017-11-13 16:03:44 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2017 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 | |
Bob Badour | c22b35b | 2021-02-23 14:26:20 -0800 | [diff] [blame] | 17 | package { |
Aditya Choudhary | ad2ba1b | 2024-02-05 15:45:22 +0000 | [diff] [blame] | 18 | default_team: "trendy_team_camera_framework", |
Bob Badour | c22b35b | 2021-02-23 14:26:20 -0800 | [diff] [blame] | 19 | // See: http://go/android-license-faq |
| 20 | // A large-scale-change added 'default_applicable_licenses' to import |
| 21 | // all of the 'license_kinds' from "hardware_interfaces_license" |
| 22 | // to get the below license kinds: |
| 23 | // SPDX-license-identifier-Apache-2.0 |
| 24 | default_applicable_licenses: ["hardware_interfaces_license"], |
| 25 | } |
| 26 | |
Emilian Peev | e18057b | 2017-11-13 16:03:44 +0000 | [diff] [blame] | 27 | cc_library_headers { |
| 28 | name: "camera.device@3.4-impl_headers", |
| 29 | vendor: true, |
Jason Macnak | eda6dca | 2020-04-15 15:20:59 -0700 | [diff] [blame] | 30 | export_include_dirs: ["include/device_v3_4_impl"], |
Yin-Chia Yeh | 1903059 | 2017-10-19 17:30:11 -0700 | [diff] [blame] | 31 | } |
| 32 | |
| 33 | cc_library_headers { |
| 34 | name: "camera.device@3.4-external-impl_headers", |
| 35 | vendor: true, |
Jason Macnak | eda6dca | 2020-04-15 15:20:59 -0700 | [diff] [blame] | 36 | export_include_dirs: ["include/ext_device_v3_4_impl"], |
Emilian Peev | e18057b | 2017-11-13 16:03:44 +0000 | [diff] [blame] | 37 | } |
| 38 | |
| 39 | cc_library_shared { |
| 40 | name: "camera.device@3.4-impl", |
| 41 | defaults: ["hidl_defaults"], |
| 42 | proprietary: true, |
| 43 | vendor: true, |
| 44 | srcs: [ |
| 45 | "CameraDevice.cpp", |
| 46 | "CameraDeviceSession.cpp", |
Jason Macnak | eda6dca | 2020-04-15 15:20:59 -0700 | [diff] [blame] | 47 | "convert.cpp", |
Emilian Peev | e18057b | 2017-11-13 16:03:44 +0000 | [diff] [blame] | 48 | ], |
| 49 | shared_libs: [ |
| 50 | "libhidlbase", |
Emilian Peev | e18057b | 2017-11-13 16:03:44 +0000 | [diff] [blame] | 51 | "libutils", |
| 52 | "libcutils", |
| 53 | "camera.device@3.2-impl", |
| 54 | "camera.device@3.3-impl", |
| 55 | "android.hardware.camera.device@3.2", |
| 56 | "android.hardware.camera.device@3.3", |
| 57 | "android.hardware.camera.device@3.4", |
| 58 | "android.hardware.camera.provider@2.4", |
| 59 | "android.hardware.graphics.mapper@2.0", |
Shuzhen Wang | 915115e | 2019-05-10 12:07:14 -0700 | [diff] [blame] | 60 | "android.hardware.graphics.mapper@3.0", |
Marissa Wall | a51eb93 | 2019-06-21 09:13:35 -0700 | [diff] [blame] | 61 | "android.hardware.graphics.mapper@4.0", |
Emilian Peev | e18057b | 2017-11-13 16:03:44 +0000 | [diff] [blame] | 62 | "liblog", |
Jason Macnak | eda6dca | 2020-04-15 15:20:59 -0700 | [diff] [blame] | 63 | "libgralloctypes", |
Emilian Peev | e18057b | 2017-11-13 16:03:44 +0000 | [diff] [blame] | 64 | "libhardware", |
| 65 | "libcamera_metadata", |
| 66 | "libfmq", |
| 67 | ], |
| 68 | static_libs: [ |
| 69 | "android.hardware.camera.common@1.0-helper", |
| 70 | ], |
| 71 | local_include_dirs: ["include/device_v3_4_impl"], |
| 72 | export_shared_lib_headers: [ |
| 73 | "libfmq", |
| 74 | ], |
| 75 | } |
Yin-Chia Yeh | 1903059 | 2017-10-19 17:30:11 -0700 | [diff] [blame] | 76 | |
| 77 | cc_library_shared { |
| 78 | name: "camera.device@3.4-external-impl", |
| 79 | defaults: ["hidl_defaults"], |
| 80 | proprietary: true, |
| 81 | vendor: true, |
| 82 | srcs: [ |
| 83 | "ExternalCameraDevice.cpp", |
Yin-Chia Yeh | 53f4cb1 | 2018-01-29 10:31:45 -0800 | [diff] [blame] | 84 | "ExternalCameraDeviceSession.cpp", |
| 85 | "ExternalCameraUtils.cpp", |
Yin-Chia Yeh | 1903059 | 2017-10-19 17:30:11 -0700 | [diff] [blame] | 86 | ], |
| 87 | shared_libs: [ |
| 88 | "libhidlbase", |
Yin-Chia Yeh | 1903059 | 2017-10-19 17:30:11 -0700 | [diff] [blame] | 89 | "libutils", |
| 90 | "libcutils", |
| 91 | "camera.device@3.2-impl", |
| 92 | "camera.device@3.3-impl", |
| 93 | "android.hardware.camera.device@3.2", |
| 94 | "android.hardware.camera.device@3.3", |
| 95 | "android.hardware.camera.device@3.4", |
| 96 | "android.hardware.camera.provider@2.4", |
| 97 | "android.hardware.graphics.mapper@2.0", |
Shuzhen Wang | 915115e | 2019-05-10 12:07:14 -0700 | [diff] [blame] | 98 | "android.hardware.graphics.mapper@3.0", |
Marissa Wall | a51eb93 | 2019-06-21 09:13:35 -0700 | [diff] [blame] | 99 | "android.hardware.graphics.mapper@4.0", |
Yin-Chia Yeh | 1903059 | 2017-10-19 17:30:11 -0700 | [diff] [blame] | 100 | "liblog", |
Jason Macnak | eda6dca | 2020-04-15 15:20:59 -0700 | [diff] [blame] | 101 | "libgralloctypes", |
Yin-Chia Yeh | 1903059 | 2017-10-19 17:30:11 -0700 | [diff] [blame] | 102 | "libhardware", |
| 103 | "libcamera_metadata", |
| 104 | "libfmq", |
| 105 | "libsync", |
| 106 | "libyuv", |
Yuriy Romanenko | e932f1b | 2018-01-19 16:12:00 -0800 | [diff] [blame] | 107 | "libjpeg", |
| 108 | "libexif", |
Jason Macnak | eda6dca | 2020-04-15 15:20:59 -0700 | [diff] [blame] | 109 | "libtinyxml2", |
Devin Moore | 523660c | 2023-10-02 15:55:11 +0000 | [diff] [blame] | 110 | "libui", |
Yin-Chia Yeh | 1903059 | 2017-10-19 17:30:11 -0700 | [diff] [blame] | 111 | ], |
| 112 | static_libs: [ |
| 113 | "android.hardware.camera.common@1.0-helper", |
| 114 | ], |
| 115 | local_include_dirs: ["include/ext_device_v3_4_impl"], |
| 116 | export_shared_lib_headers: [ |
| 117 | "libfmq", |
| 118 | ], |
| 119 | } |