Shuzhen Wang | d3feb3d | 2018-08-17 13:52:40 -0700 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2018 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 | b224b36 | 2021-02-12 20:13:01 -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 | b224b36 | 2021-02-12 20:13:01 -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 | |
Shuzhen Wang | d3feb3d | 2018-08-17 13:52:40 -0700 | [diff] [blame] | 27 | cc_library_headers { |
| 28 | name: "camera.device@3.5-impl_headers", |
| 29 | vendor: true, |
Jason Macnak | eda6dca | 2020-04-15 15:20:59 -0700 | [diff] [blame] | 30 | export_include_dirs: ["include/device_v3_5_impl"], |
Shuzhen Wang | d3feb3d | 2018-08-17 13:52:40 -0700 | [diff] [blame] | 31 | } |
| 32 | |
Yin-Chia Yeh | ee23840 | 2018-11-04 16:30:11 -0800 | [diff] [blame] | 33 | cc_library_headers { |
| 34 | name: "camera.device@3.5-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_5_impl"], |
Yin-Chia Yeh | ee23840 | 2018-11-04 16:30:11 -0800 | [diff] [blame] | 37 | } |
| 38 | |
Shuzhen Wang | d3feb3d | 2018-08-17 13:52:40 -0700 | [diff] [blame] | 39 | cc_library_shared { |
| 40 | name: "camera.device@3.5-impl", |
| 41 | defaults: ["hidl_defaults"], |
| 42 | proprietary: true, |
| 43 | vendor: true, |
| 44 | srcs: [ |
| 45 | "CameraDevice.cpp", |
Yin-Chia Yeh | 6a6fe0f | 2018-09-06 15:38:34 -0700 | [diff] [blame] | 46 | "CameraDeviceSession.cpp", |
Shuzhen Wang | d3feb3d | 2018-08-17 13:52:40 -0700 | [diff] [blame] | 47 | ], |
| 48 | shared_libs: [ |
| 49 | "libhidlbase", |
Shuzhen Wang | d3feb3d | 2018-08-17 13:52:40 -0700 | [diff] [blame] | 50 | "libutils", |
| 51 | "libcutils", |
| 52 | "camera.device@3.2-impl", |
| 53 | "camera.device@3.3-impl", |
| 54 | "camera.device@3.4-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.device@3.5", |
| 59 | "android.hardware.camera.provider@2.4", |
| 60 | "android.hardware.graphics.mapper@2.0", |
Shuzhen Wang | 915115e | 2019-05-10 12:07:14 -0700 | [diff] [blame] | 61 | "android.hardware.graphics.mapper@3.0", |
Marissa Wall | a51eb93 | 2019-06-21 09:13:35 -0700 | [diff] [blame] | 62 | "android.hardware.graphics.mapper@4.0", |
Shuzhen Wang | d3feb3d | 2018-08-17 13:52:40 -0700 | [diff] [blame] | 63 | "liblog", |
Jason Macnak | eda6dca | 2020-04-15 15:20:59 -0700 | [diff] [blame] | 64 | "libgralloctypes", |
Shuzhen Wang | d3feb3d | 2018-08-17 13:52:40 -0700 | [diff] [blame] | 65 | "libhardware", |
| 66 | "libcamera_metadata", |
| 67 | ], |
| 68 | static_libs: [ |
| 69 | "android.hardware.camera.common@1.0-helper", |
| 70 | ], |
| 71 | local_include_dirs: ["include/device_v3_5_impl"], |
| 72 | } |
Yin-Chia Yeh | ee23840 | 2018-11-04 16:30:11 -0800 | [diff] [blame] | 73 | |
| 74 | cc_library_shared { |
| 75 | name: "camera.device@3.5-external-impl", |
| 76 | defaults: ["hidl_defaults"], |
| 77 | proprietary: true, |
| 78 | vendor: true, |
| 79 | srcs: [ |
| 80 | "ExternalCameraDevice.cpp", |
| 81 | "ExternalCameraDeviceSession.cpp", |
| 82 | ], |
| 83 | shared_libs: [ |
| 84 | "libhidlbase", |
Yin-Chia Yeh | ee23840 | 2018-11-04 16:30:11 -0800 | [diff] [blame] | 85 | "libutils", |
| 86 | "libcutils", |
| 87 | "camera.device@3.2-impl", |
| 88 | "camera.device@3.3-impl", |
| 89 | "camera.device@3.4-external-impl", |
| 90 | "android.hardware.camera.device@3.2", |
| 91 | "android.hardware.camera.device@3.3", |
| 92 | "android.hardware.camera.device@3.4", |
| 93 | "android.hardware.camera.device@3.5", |
| 94 | "android.hardware.camera.provider@2.4", |
| 95 | "android.hardware.graphics.mapper@2.0", |
Marissa Wall | a51eb93 | 2019-06-21 09:13:35 -0700 | [diff] [blame] | 96 | "android.hardware.graphics.mapper@3.0", |
| 97 | "android.hardware.graphics.mapper@4.0", |
Yin-Chia Yeh | ee23840 | 2018-11-04 16:30:11 -0800 | [diff] [blame] | 98 | "liblog", |
Jason Macnak | eda6dca | 2020-04-15 15:20:59 -0700 | [diff] [blame] | 99 | "libgralloctypes", |
Yin-Chia Yeh | ee23840 | 2018-11-04 16:30:11 -0800 | [diff] [blame] | 100 | "libhardware", |
| 101 | "libcamera_metadata", |
| 102 | "libfmq", |
| 103 | "libsync", |
| 104 | "libyuv", |
| 105 | "libjpeg", |
| 106 | "libexif", |
Jason Macnak | eda6dca | 2020-04-15 15:20:59 -0700 | [diff] [blame] | 107 | "libtinyxml2", |
Yin-Chia Yeh | ee23840 | 2018-11-04 16:30:11 -0800 | [diff] [blame] | 108 | ], |
| 109 | static_libs: [ |
| 110 | "android.hardware.camera.common@1.0-helper", |
| 111 | ], |
| 112 | local_include_dirs: ["include/ext_device_v3_5_impl"], |
| 113 | export_shared_lib_headers: [ |
| 114 | "libfmq", |
| 115 | ], |
| 116 | } |