blob: b6dee794fdc6fda763db35cdc8ea1c64f8c19a3f [file] [log] [blame]
Shuzhen Wangd3feb3d2018-08-17 13:52:40 -07001//
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 Badourc22b35b2021-02-23 14:26:20 -080017package {
Aditya Choudharyad2ba1b2024-02-05 15:45:22 +000018 default_team: "trendy_team_camera_framework",
Bob Badourc22b35b2021-02-23 14:26:20 -080019 // 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 Wangd3feb3d2018-08-17 13:52:40 -070027cc_library_headers {
28 name: "camera.device@3.5-impl_headers",
29 vendor: true,
Jason Macnakeda6dca2020-04-15 15:20:59 -070030 export_include_dirs: ["include/device_v3_5_impl"],
Shuzhen Wangd3feb3d2018-08-17 13:52:40 -070031}
32
Yin-Chia Yehee238402018-11-04 16:30:11 -080033cc_library_headers {
34 name: "camera.device@3.5-external-impl_headers",
35 vendor: true,
Jason Macnakeda6dca2020-04-15 15:20:59 -070036 export_include_dirs: ["include/ext_device_v3_5_impl"],
Yin-Chia Yehee238402018-11-04 16:30:11 -080037}
38
Shuzhen Wangd3feb3d2018-08-17 13:52:40 -070039cc_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 Yeh6a6fe0f2018-09-06 15:38:34 -070046 "CameraDeviceSession.cpp",
Shuzhen Wangd3feb3d2018-08-17 13:52:40 -070047 ],
48 shared_libs: [
49 "libhidlbase",
Devin Moore523660c2023-10-02 15:55:11 +000050 "libui",
Shuzhen Wangd3feb3d2018-08-17 13:52:40 -070051 "libutils",
52 "libcutils",
53 "camera.device@3.2-impl",
54 "camera.device@3.3-impl",
55 "camera.device@3.4-impl",
56 "android.hardware.camera.device@3.2",
57 "android.hardware.camera.device@3.3",
58 "android.hardware.camera.device@3.4",
59 "android.hardware.camera.device@3.5",
60 "android.hardware.camera.provider@2.4",
61 "android.hardware.graphics.mapper@2.0",
Shuzhen Wang915115e2019-05-10 12:07:14 -070062 "android.hardware.graphics.mapper@3.0",
Marissa Walla51eb932019-06-21 09:13:35 -070063 "android.hardware.graphics.mapper@4.0",
Shuzhen Wangd3feb3d2018-08-17 13:52:40 -070064 "liblog",
Jason Macnakeda6dca2020-04-15 15:20:59 -070065 "libgralloctypes",
Shuzhen Wangd3feb3d2018-08-17 13:52:40 -070066 "libhardware",
67 "libcamera_metadata",
68 ],
69 static_libs: [
70 "android.hardware.camera.common@1.0-helper",
71 ],
72 local_include_dirs: ["include/device_v3_5_impl"],
73}
Yin-Chia Yehee238402018-11-04 16:30:11 -080074
75cc_library_shared {
76 name: "camera.device@3.5-external-impl",
77 defaults: ["hidl_defaults"],
78 proprietary: true,
79 vendor: true,
80 srcs: [
81 "ExternalCameraDevice.cpp",
82 "ExternalCameraDeviceSession.cpp",
83 ],
84 shared_libs: [
85 "libhidlbase",
Devin Moore523660c2023-10-02 15:55:11 +000086 "libui",
Yin-Chia Yehee238402018-11-04 16:30:11 -080087 "libutils",
88 "libcutils",
89 "camera.device@3.2-impl",
90 "camera.device@3.3-impl",
91 "camera.device@3.4-external-impl",
92 "android.hardware.camera.device@3.2",
93 "android.hardware.camera.device@3.3",
94 "android.hardware.camera.device@3.4",
95 "android.hardware.camera.device@3.5",
96 "android.hardware.camera.provider@2.4",
97 "android.hardware.graphics.mapper@2.0",
Marissa Walla51eb932019-06-21 09:13:35 -070098 "android.hardware.graphics.mapper@3.0",
99 "android.hardware.graphics.mapper@4.0",
Yin-Chia Yehee238402018-11-04 16:30:11 -0800100 "liblog",
Jason Macnakeda6dca2020-04-15 15:20:59 -0700101 "libgralloctypes",
Yin-Chia Yehee238402018-11-04 16:30:11 -0800102 "libhardware",
103 "libcamera_metadata",
104 "libfmq",
105 "libsync",
106 "libyuv",
107 "libjpeg",
108 "libexif",
Jason Macnakeda6dca2020-04-15 15:20:59 -0700109 "libtinyxml2",
Yin-Chia Yehee238402018-11-04 16:30:11 -0800110 ],
111 static_libs: [
112 "android.hardware.camera.common@1.0-helper",
113 ],
114 local_include_dirs: ["include/ext_device_v3_5_impl"],
115 export_shared_lib_headers: [
116 "libfmq",
117 ],
118}