blob: 982dce1aae2a6f320ffdf6cec013cac42cc4141a [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
17cc_library_headers {
18 name: "camera.device@3.4-impl_headers",
19 vendor: true,
Jason Macnakeda6dca2020-04-15 15:20:59 -070020 export_include_dirs: ["include/device_v3_4_impl"],
Yin-Chia Yeh19030592017-10-19 17:30:11 -070021}
22
23cc_library_headers {
24 name: "camera.device@3.4-external-impl_headers",
25 vendor: true,
Jason Macnakeda6dca2020-04-15 15:20:59 -070026 export_include_dirs: ["include/ext_device_v3_4_impl"],
Emilian Peeve18057b2017-11-13 16:03:44 +000027}
28
29cc_library_shared {
30 name: "camera.device@3.4-impl",
31 defaults: ["hidl_defaults"],
32 proprietary: true,
33 vendor: true,
34 srcs: [
35 "CameraDevice.cpp",
36 "CameraDeviceSession.cpp",
Jason Macnakeda6dca2020-04-15 15:20:59 -070037 "convert.cpp",
Emilian Peeve18057b2017-11-13 16:03:44 +000038 ],
39 shared_libs: [
40 "libhidlbase",
Emilian Peeve18057b2017-11-13 16:03:44 +000041 "libutils",
42 "libcutils",
43 "camera.device@3.2-impl",
44 "camera.device@3.3-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.provider@2.4",
49 "android.hardware.graphics.mapper@2.0",
Shuzhen Wang915115e2019-05-10 12:07:14 -070050 "android.hardware.graphics.mapper@3.0",
Marissa Walla51eb932019-06-21 09:13:35 -070051 "android.hardware.graphics.mapper@4.0",
Emilian Peeve18057b2017-11-13 16:03:44 +000052 "liblog",
Jason Macnakeda6dca2020-04-15 15:20:59 -070053 "libgralloctypes",
Emilian Peeve18057b2017-11-13 16:03:44 +000054 "libhardware",
55 "libcamera_metadata",
56 "libfmq",
57 ],
58 static_libs: [
59 "android.hardware.camera.common@1.0-helper",
60 ],
61 local_include_dirs: ["include/device_v3_4_impl"],
62 export_shared_lib_headers: [
63 "libfmq",
64 ],
65}
Yin-Chia Yeh19030592017-10-19 17:30:11 -070066
67cc_library_shared {
68 name: "camera.device@3.4-external-impl",
69 defaults: ["hidl_defaults"],
70 proprietary: true,
71 vendor: true,
72 srcs: [
73 "ExternalCameraDevice.cpp",
Yin-Chia Yeh53f4cb12018-01-29 10:31:45 -080074 "ExternalCameraDeviceSession.cpp",
75 "ExternalCameraUtils.cpp",
Yin-Chia Yeh19030592017-10-19 17:30:11 -070076 ],
77 shared_libs: [
78 "libhidlbase",
Yin-Chia Yeh19030592017-10-19 17:30:11 -070079 "libutils",
80 "libcutils",
81 "camera.device@3.2-impl",
82 "camera.device@3.3-impl",
83 "android.hardware.camera.device@3.2",
84 "android.hardware.camera.device@3.3",
85 "android.hardware.camera.device@3.4",
86 "android.hardware.camera.provider@2.4",
87 "android.hardware.graphics.mapper@2.0",
Shuzhen Wang915115e2019-05-10 12:07:14 -070088 "android.hardware.graphics.mapper@3.0",
Marissa Walla51eb932019-06-21 09:13:35 -070089 "android.hardware.graphics.mapper@4.0",
Yin-Chia Yeh19030592017-10-19 17:30:11 -070090 "liblog",
Jason Macnakeda6dca2020-04-15 15:20:59 -070091 "libgralloctypes",
Yin-Chia Yeh19030592017-10-19 17:30:11 -070092 "libhardware",
93 "libcamera_metadata",
94 "libfmq",
95 "libsync",
96 "libyuv",
Yuriy Romanenkoe932f1b2018-01-19 16:12:00 -080097 "libjpeg",
98 "libexif",
Jason Macnakeda6dca2020-04-15 15:20:59 -070099 "libtinyxml2",
Yin-Chia Yeh19030592017-10-19 17:30:11 -0700100 ],
101 static_libs: [
102 "android.hardware.camera.common@1.0-helper",
103 ],
104 local_include_dirs: ["include/ext_device_v3_4_impl"],
105 export_shared_lib_headers: [
106 "libfmq",
107 ],
108}