blob: bc15629da003b6b09d01f19184abda466100bf00 [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 {
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
Shuzhen Wangd3feb3d2018-08-17 13:52:40 -070026cc_library_headers {
27 name: "camera.device@3.5-impl_headers",
28 vendor: true,
Jason Macnakeda6dca2020-04-15 15:20:59 -070029 export_include_dirs: ["include/device_v3_5_impl"],
Shuzhen Wangd3feb3d2018-08-17 13:52:40 -070030}
31
Yin-Chia Yehee238402018-11-04 16:30:11 -080032cc_library_headers {
33 name: "camera.device@3.5-external-impl_headers",
34 vendor: true,
Jason Macnakeda6dca2020-04-15 15:20:59 -070035 export_include_dirs: ["include/ext_device_v3_5_impl"],
Yin-Chia Yehee238402018-11-04 16:30:11 -080036}
37
Shuzhen Wangd3feb3d2018-08-17 13:52:40 -070038cc_library_shared {
39 name: "camera.device@3.5-impl",
40 defaults: ["hidl_defaults"],
41 proprietary: true,
42 vendor: true,
43 srcs: [
44 "CameraDevice.cpp",
Yin-Chia Yeh6a6fe0f2018-09-06 15:38:34 -070045 "CameraDeviceSession.cpp",
Shuzhen Wangd3feb3d2018-08-17 13:52:40 -070046 ],
47 shared_libs: [
48 "libhidlbase",
Devin Moore523660c2023-10-02 15:55:11 +000049 "libui",
Shuzhen Wangd3feb3d2018-08-17 13:52:40 -070050 "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 Wang915115e2019-05-10 12:07:14 -070061 "android.hardware.graphics.mapper@3.0",
Marissa Walla51eb932019-06-21 09:13:35 -070062 "android.hardware.graphics.mapper@4.0",
Shuzhen Wangd3feb3d2018-08-17 13:52:40 -070063 "liblog",
Jason Macnakeda6dca2020-04-15 15:20:59 -070064 "libgralloctypes",
Shuzhen Wangd3feb3d2018-08-17 13:52:40 -070065 "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 Yehee238402018-11-04 16:30:11 -080073
74cc_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",
Devin Moore523660c2023-10-02 15:55:11 +000085 "libui",
Yin-Chia Yehee238402018-11-04 16:30:11 -080086 "libutils",
87 "libcutils",
88 "camera.device@3.2-impl",
89 "camera.device@3.3-impl",
90 "camera.device@3.4-external-impl",
91 "android.hardware.camera.device@3.2",
92 "android.hardware.camera.device@3.3",
93 "android.hardware.camera.device@3.4",
94 "android.hardware.camera.device@3.5",
95 "android.hardware.camera.provider@2.4",
96 "android.hardware.graphics.mapper@2.0",
Marissa Walla51eb932019-06-21 09:13:35 -070097 "android.hardware.graphics.mapper@3.0",
98 "android.hardware.graphics.mapper@4.0",
Yin-Chia Yehee238402018-11-04 16:30:11 -080099 "liblog",
Jason Macnakeda6dca2020-04-15 15:20:59 -0700100 "libgralloctypes",
Yin-Chia Yehee238402018-11-04 16:30:11 -0800101 "libhardware",
102 "libcamera_metadata",
103 "libfmq",
104 "libsync",
105 "libyuv",
106 "libjpeg",
107 "libexif",
Jason Macnakeda6dca2020-04-15 15:20:59 -0700108 "libtinyxml2",
Yin-Chia Yehee238402018-11-04 16:30:11 -0800109 ],
110 static_libs: [
111 "android.hardware.camera.common@1.0-helper",
112 ],
113 local_include_dirs: ["include/ext_device_v3_5_impl"],
114 export_shared_lib_headers: [
115 "libfmq",
116 ],
117}