blob: d106b4b992034ee6392e0f0608cb9a19f1bf4b50 [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
17cc_library_headers {
18 name: "camera.device@3.5-impl_headers",
19 vendor: true,
Jason Macnakeda6dca2020-04-15 15:20:59 -070020 export_include_dirs: ["include/device_v3_5_impl"],
Shuzhen Wangd3feb3d2018-08-17 13:52:40 -070021}
22
Yin-Chia Yehee238402018-11-04 16:30:11 -080023cc_library_headers {
24 name: "camera.device@3.5-external-impl_headers",
25 vendor: true,
Jason Macnakeda6dca2020-04-15 15:20:59 -070026 export_include_dirs: ["include/ext_device_v3_5_impl"],
Yin-Chia Yehee238402018-11-04 16:30:11 -080027}
28
Shuzhen Wangd3feb3d2018-08-17 13:52:40 -070029cc_library_shared {
30 name: "camera.device@3.5-impl",
31 defaults: ["hidl_defaults"],
32 proprietary: true,
33 vendor: true,
34 srcs: [
35 "CameraDevice.cpp",
Yin-Chia Yeh6a6fe0f2018-09-06 15:38:34 -070036 "CameraDeviceSession.cpp",
Shuzhen Wangd3feb3d2018-08-17 13:52:40 -070037 ],
38 shared_libs: [
39 "libhidlbase",
Shuzhen Wangd3feb3d2018-08-17 13:52:40 -070040 "libutils",
41 "libcutils",
42 "camera.device@3.2-impl",
43 "camera.device@3.3-impl",
44 "camera.device@3.4-impl",
45 "android.hardware.camera.device@3.2",
46 "android.hardware.camera.device@3.3",
47 "android.hardware.camera.device@3.4",
48 "android.hardware.camera.device@3.5",
49 "android.hardware.camera.provider@2.4",
50 "android.hardware.graphics.mapper@2.0",
Shuzhen Wang915115e2019-05-10 12:07:14 -070051 "android.hardware.graphics.mapper@3.0",
Marissa Walla51eb932019-06-21 09:13:35 -070052 "android.hardware.graphics.mapper@4.0",
Shuzhen Wangd3feb3d2018-08-17 13:52:40 -070053 "liblog",
Jason Macnakeda6dca2020-04-15 15:20:59 -070054 "libgralloctypes",
Shuzhen Wangd3feb3d2018-08-17 13:52:40 -070055 "libhardware",
56 "libcamera_metadata",
57 ],
58 static_libs: [
59 "android.hardware.camera.common@1.0-helper",
60 ],
61 local_include_dirs: ["include/device_v3_5_impl"],
62}
Yin-Chia Yehee238402018-11-04 16:30:11 -080063
64cc_library_shared {
65 name: "camera.device@3.5-external-impl",
66 defaults: ["hidl_defaults"],
67 proprietary: true,
68 vendor: true,
69 srcs: [
70 "ExternalCameraDevice.cpp",
71 "ExternalCameraDeviceSession.cpp",
72 ],
73 shared_libs: [
74 "libhidlbase",
Yin-Chia Yehee238402018-11-04 16:30:11 -080075 "libutils",
76 "libcutils",
77 "camera.device@3.2-impl",
78 "camera.device@3.3-impl",
79 "camera.device@3.4-external-impl",
80 "android.hardware.camera.device@3.2",
81 "android.hardware.camera.device@3.3",
82 "android.hardware.camera.device@3.4",
83 "android.hardware.camera.device@3.5",
84 "android.hardware.camera.provider@2.4",
85 "android.hardware.graphics.mapper@2.0",
Marissa Walla51eb932019-06-21 09:13:35 -070086 "android.hardware.graphics.mapper@3.0",
87 "android.hardware.graphics.mapper@4.0",
Yin-Chia Yehee238402018-11-04 16:30:11 -080088 "liblog",
Jason Macnakeda6dca2020-04-15 15:20:59 -070089 "libgralloctypes",
Yin-Chia Yehee238402018-11-04 16:30:11 -080090 "libhardware",
91 "libcamera_metadata",
92 "libfmq",
93 "libsync",
94 "libyuv",
95 "libjpeg",
96 "libexif",
Jason Macnakeda6dca2020-04-15 15:20:59 -070097 "libtinyxml2",
Yin-Chia Yehee238402018-11-04 16:30:11 -080098 ],
99 static_libs: [
100 "android.hardware.camera.common@1.0-helper",
101 ],
102 local_include_dirs: ["include/ext_device_v3_5_impl"],
103 export_shared_lib_headers: [
104 "libfmq",
105 ],
106}