blob: 9d27b321e06ae2c04f7d27b6f12183067c58cfee [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",
Shuzhen Wangd3feb3d2018-08-17 13:52:40 -070049 "libutils",
50 "libcutils",
51 "camera.device@3.2-impl",
52 "camera.device@3.3-impl",
53 "camera.device@3.4-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.device@3.5",
58 "android.hardware.camera.provider@2.4",
59 "android.hardware.graphics.mapper@2.0",
Shuzhen Wang915115e2019-05-10 12:07:14 -070060 "android.hardware.graphics.mapper@3.0",
Marissa Walla51eb932019-06-21 09:13:35 -070061 "android.hardware.graphics.mapper@4.0",
Shuzhen Wangd3feb3d2018-08-17 13:52:40 -070062 "liblog",
Jason Macnakeda6dca2020-04-15 15:20:59 -070063 "libgralloctypes",
Shuzhen Wangd3feb3d2018-08-17 13:52:40 -070064 "libhardware",
65 "libcamera_metadata",
66 ],
67 static_libs: [
68 "android.hardware.camera.common@1.0-helper",
69 ],
70 local_include_dirs: ["include/device_v3_5_impl"],
71}
Yin-Chia Yehee238402018-11-04 16:30:11 -080072
73cc_library_shared {
74 name: "camera.device@3.5-external-impl",
75 defaults: ["hidl_defaults"],
76 proprietary: true,
77 vendor: true,
78 srcs: [
79 "ExternalCameraDevice.cpp",
80 "ExternalCameraDeviceSession.cpp",
81 ],
82 shared_libs: [
83 "libhidlbase",
Yin-Chia Yehee238402018-11-04 16:30:11 -080084 "libutils",
85 "libcutils",
86 "camera.device@3.2-impl",
87 "camera.device@3.3-impl",
88 "camera.device@3.4-external-impl",
89 "android.hardware.camera.device@3.2",
90 "android.hardware.camera.device@3.3",
91 "android.hardware.camera.device@3.4",
92 "android.hardware.camera.device@3.5",
93 "android.hardware.camera.provider@2.4",
94 "android.hardware.graphics.mapper@2.0",
Marissa Walla51eb932019-06-21 09:13:35 -070095 "android.hardware.graphics.mapper@3.0",
96 "android.hardware.graphics.mapper@4.0",
Yin-Chia Yehee238402018-11-04 16:30:11 -080097 "liblog",
Jason Macnakeda6dca2020-04-15 15:20:59 -070098 "libgralloctypes",
Yin-Chia Yehee238402018-11-04 16:30:11 -080099 "libhardware",
100 "libcamera_metadata",
101 "libfmq",
102 "libsync",
103 "libyuv",
104 "libjpeg",
105 "libexif",
Jason Macnakeda6dca2020-04-15 15:20:59 -0700106 "libtinyxml2",
Yin-Chia Yehee238402018-11-04 16:30:11 -0800107 ],
108 static_libs: [
109 "android.hardware.camera.common@1.0-helper",
110 ],
111 local_include_dirs: ["include/ext_device_v3_5_impl"],
112 export_shared_lib_headers: [
113 "libfmq",
114 ],
115}