blob: 100106e437323b1a81df1b2121858398c77dabb3 [file] [log] [blame]
Emilian Peeve18057b2017-11-13 16:03:44 +00001//
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 Badourc22b35b2021-02-23 14:26:20 -080017package {
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
Emilian Peeve18057b2017-11-13 16:03:44 +000026cc_library_headers {
27 name: "camera.device@3.4-impl_headers",
28 vendor: true,
Jason Macnakeda6dca2020-04-15 15:20:59 -070029 export_include_dirs: ["include/device_v3_4_impl"],
Yin-Chia Yeh19030592017-10-19 17:30:11 -070030}
31
32cc_library_headers {
33 name: "camera.device@3.4-external-impl_headers",
34 vendor: true,
Jason Macnakeda6dca2020-04-15 15:20:59 -070035 export_include_dirs: ["include/ext_device_v3_4_impl"],
Emilian Peeve18057b2017-11-13 16:03:44 +000036}
37
38cc_library_shared {
39 name: "camera.device@3.4-impl",
40 defaults: ["hidl_defaults"],
41 proprietary: true,
42 vendor: true,
43 srcs: [
44 "CameraDevice.cpp",
45 "CameraDeviceSession.cpp",
Jason Macnakeda6dca2020-04-15 15:20:59 -070046 "convert.cpp",
Emilian Peeve18057b2017-11-13 16:03:44 +000047 ],
48 shared_libs: [
49 "libhidlbase",
Emilian Peeve18057b2017-11-13 16:03:44 +000050 "libutils",
51 "libcutils",
52 "camera.device@3.2-impl",
53 "camera.device@3.3-impl",
54 "android.hardware.camera.device@3.2",
55 "android.hardware.camera.device@3.3",
56 "android.hardware.camera.device@3.4",
57 "android.hardware.camera.provider@2.4",
58 "android.hardware.graphics.mapper@2.0",
Shuzhen Wang915115e2019-05-10 12:07:14 -070059 "android.hardware.graphics.mapper@3.0",
Marissa Walla51eb932019-06-21 09:13:35 -070060 "android.hardware.graphics.mapper@4.0",
Emilian Peeve18057b2017-11-13 16:03:44 +000061 "liblog",
Jason Macnakeda6dca2020-04-15 15:20:59 -070062 "libgralloctypes",
Emilian Peeve18057b2017-11-13 16:03:44 +000063 "libhardware",
64 "libcamera_metadata",
65 "libfmq",
66 ],
67 static_libs: [
68 "android.hardware.camera.common@1.0-helper",
69 ],
70 local_include_dirs: ["include/device_v3_4_impl"],
71 export_shared_lib_headers: [
72 "libfmq",
73 ],
74}
Yin-Chia Yeh19030592017-10-19 17:30:11 -070075
76cc_library_shared {
77 name: "camera.device@3.4-external-impl",
78 defaults: ["hidl_defaults"],
79 proprietary: true,
80 vendor: true,
81 srcs: [
82 "ExternalCameraDevice.cpp",
Yin-Chia Yeh53f4cb12018-01-29 10:31:45 -080083 "ExternalCameraDeviceSession.cpp",
84 "ExternalCameraUtils.cpp",
Yin-Chia Yeh19030592017-10-19 17:30:11 -070085 ],
86 shared_libs: [
87 "libhidlbase",
Yin-Chia Yeh19030592017-10-19 17:30:11 -070088 "libutils",
89 "libcutils",
90 "camera.device@3.2-impl",
91 "camera.device@3.3-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.provider@2.4",
96 "android.hardware.graphics.mapper@2.0",
Shuzhen Wang915115e2019-05-10 12:07:14 -070097 "android.hardware.graphics.mapper@3.0",
Marissa Walla51eb932019-06-21 09:13:35 -070098 "android.hardware.graphics.mapper@4.0",
Yin-Chia Yeh19030592017-10-19 17:30:11 -070099 "liblog",
Jason Macnakeda6dca2020-04-15 15:20:59 -0700100 "libgralloctypes",
Yin-Chia Yeh19030592017-10-19 17:30:11 -0700101 "libhardware",
102 "libcamera_metadata",
103 "libfmq",
104 "libsync",
105 "libyuv",
Yuriy Romanenkoe932f1b2018-01-19 16:12:00 -0800106 "libjpeg",
107 "libexif",
Jason Macnakeda6dca2020-04-15 15:20:59 -0700108 "libtinyxml2",
Devin Moore523660c2023-10-02 15:55:11 +0000109 "libui",
Yin-Chia Yeh19030592017-10-19 17:30:11 -0700110 ],
111 static_libs: [
112 "android.hardware.camera.common@1.0-helper",
113 ],
114 local_include_dirs: ["include/ext_device_v3_4_impl"],
115 export_shared_lib_headers: [
116 "libfmq",
117 ],
118}