blob: 7a48865a3b750feb027eb7ede534c246581e9f7c [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,
20 export_include_dirs: ["include/device_v3_5_impl"]
21}
22
Yin-Chia Yehee238402018-11-04 16:30:11 -080023cc_library_headers {
24 name: "camera.device@3.5-external-impl_headers",
25 vendor: true,
26 export_include_dirs: ["include/ext_device_v3_5_impl"]
27}
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",
40 "libhidltransport",
41 "libutils",
42 "libcutils",
43 "camera.device@3.2-impl",
44 "camera.device@3.3-impl",
45 "camera.device@3.4-impl",
46 "android.hardware.camera.device@3.2",
47 "android.hardware.camera.device@3.3",
48 "android.hardware.camera.device@3.4",
49 "android.hardware.camera.device@3.5",
50 "android.hardware.camera.provider@2.4",
51 "android.hardware.graphics.mapper@2.0",
52 "liblog",
53 "libhardware",
54 "libcamera_metadata",
55 ],
56 static_libs: [
57 "android.hardware.camera.common@1.0-helper",
58 ],
59 local_include_dirs: ["include/device_v3_5_impl"],
60}
Yin-Chia Yehee238402018-11-04 16:30:11 -080061
62cc_library_shared {
63 name: "camera.device@3.5-external-impl",
64 defaults: ["hidl_defaults"],
65 proprietary: true,
66 vendor: true,
67 srcs: [
68 "ExternalCameraDevice.cpp",
69 "ExternalCameraDeviceSession.cpp",
70 ],
71 shared_libs: [
72 "libhidlbase",
73 "libhidltransport",
74 "libutils",
75 "libcutils",
76 "camera.device@3.2-impl",
77 "camera.device@3.3-impl",
78 "camera.device@3.4-external-impl",
79 "android.hardware.camera.device@3.2",
80 "android.hardware.camera.device@3.3",
81 "android.hardware.camera.device@3.4",
82 "android.hardware.camera.device@3.5",
83 "android.hardware.camera.provider@2.4",
84 "android.hardware.graphics.mapper@2.0",
85 "liblog",
86 "libhardware",
87 "libcamera_metadata",
88 "libfmq",
89 "libsync",
90 "libyuv",
91 "libjpeg",
92 "libexif",
93 "libtinyxml2"
94 ],
95 static_libs: [
96 "android.hardware.camera.common@1.0-helper",
97 ],
98 local_include_dirs: ["include/ext_device_v3_5_impl"],
99 export_shared_lib_headers: [
100 "libfmq",
101 ],
102}