blob: af3d7b4cd31a8821000b349e99211a9daada9225 [file] [log] [blame]
Eino-Ville Talvalad09e5652017-08-21 14:50:28 -07001// This file is autogenerated by hidl-gen. Do not edit manually.
2
3filegroup {
4 name: "android.hardware.camera.device@3.3_hal",
5 srcs: [
6 "types.hal",
7 "ICameraDeviceSession.hal",
8 ],
9}
10
11genrule {
12 name: "android.hardware.camera.device@3.3_genc++",
13 tools: ["hidl-gen"],
14 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.camera.device@3.3",
15 srcs: [
16 ":android.hardware.camera.device@3.3_hal",
17 ],
18 out: [
19 "android/hardware/camera/device/3.3/types.cpp",
20 "android/hardware/camera/device/3.3/CameraDeviceSessionAll.cpp",
21 ],
22}
23
24genrule {
25 name: "android.hardware.camera.device@3.3_genc++_headers",
26 tools: ["hidl-gen"],
27 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.camera.device@3.3",
28 srcs: [
29 ":android.hardware.camera.device@3.3_hal",
30 ],
31 out: [
32 "android/hardware/camera/device/3.3/types.h",
33 "android/hardware/camera/device/3.3/hwtypes.h",
34 "android/hardware/camera/device/3.3/ICameraDeviceSession.h",
35 "android/hardware/camera/device/3.3/IHwCameraDeviceSession.h",
36 "android/hardware/camera/device/3.3/BnHwCameraDeviceSession.h",
37 "android/hardware/camera/device/3.3/BpHwCameraDeviceSession.h",
38 "android/hardware/camera/device/3.3/BsCameraDeviceSession.h",
39 ],
40}
41
42cc_library {
43 name: "android.hardware.camera.device@3.3",
44 defaults: ["hidl-module-defaults"],
45 generated_sources: ["android.hardware.camera.device@3.3_genc++"],
46 generated_headers: ["android.hardware.camera.device@3.3_genc++_headers"],
47 export_generated_headers: ["android.hardware.camera.device@3.3_genc++_headers"],
48 vendor_available: true,
49 vndk: {
50 enabled: true,
51 },
52 shared_libs: [
53 "libhidlbase",
54 "libhidltransport",
55 "libhwbinder",
56 "liblog",
57 "libutils",
58 "libcutils",
59 "android.hardware.camera.common@1.0",
60 "android.hardware.camera.device@3.2",
61 "android.hardware.graphics.common@1.0",
62 ],
63 export_shared_lib_headers: [
64 "libhidlbase",
65 "libhidltransport",
66 "libhwbinder",
67 "libutils",
68 "android.hardware.camera.common@1.0",
69 "android.hardware.camera.device@3.2",
70 "android.hardware.graphics.common@1.0",
71 ],
72}
Steven Moreland3788a732017-09-26 10:11:18 -070073
Steven Morelandf390f032017-10-11 11:09:24 -070074// This package is not java compatible. Not creating java target.
75
76// This package does not export any types. Not creating java constants export.
77
78
Steven Moreland3788a732017-09-26 10:11:18 -070079genrule {
80 name: "android.hardware.camera.device@3.3-adapter-helper_genc++",
81 tools: ["hidl-gen"],
82 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.camera.device@3.3",
83 srcs: [
84 ":android.hardware.camera.device@3.3_hal",
85 ],
86 out: [
87 "android/hardware/camera/device/3.3/ACameraDeviceSession.cpp",
88 ],
89}
90
91genrule {
92 name: "android.hardware.camera.device@3.3-adapter-helper_genc++_headers",
93 tools: ["hidl-gen"],
94 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.camera.device@3.3",
95 srcs: [
96 ":android.hardware.camera.device@3.3_hal",
97 ],
98 out: [
99 "android/hardware/camera/device/3.3/ACameraDeviceSession.h",
100 ],
101}
102
Steven Moreland3788a732017-09-26 10:11:18 -0700103cc_library {
104 name: "android.hardware.camera.device@3.3-adapter-helper",
105 defaults: ["hidl-module-defaults"],
106 generated_sources: ["android.hardware.camera.device@3.3-adapter-helper_genc++"],
107 generated_headers: ["android.hardware.camera.device@3.3-adapter-helper_genc++_headers"],
108 export_generated_headers: ["android.hardware.camera.device@3.3-adapter-helper_genc++_headers"],
109 vendor_available: true,
110 shared_libs: [
111 "libhidlbase",
112 "libhidltransport",
113 "libhwbinder",
114 "liblog",
115 "libutils",
116 "libcutils",
117 "libhidladapter",
118 "android.hardware.camera.common@1.0",
119 "android.hardware.camera.device@3.2",
120 "android.hardware.camera.device@3.3",
121 "android.hardware.graphics.common@1.0",
122 "android.hardware.camera.device@3.2-adapter-helper",
123 "android.hidl.base@1.0-adapter-helper",
124 ],
125 export_shared_lib_headers: [
126 "libhidlbase",
127 "libhidltransport",
128 "libhwbinder",
129 "libutils",
130 "libhidladapter",
131 "android.hardware.camera.common@1.0",
132 "android.hardware.camera.device@3.2",
133 "android.hardware.camera.device@3.3",
134 "android.hardware.graphics.common@1.0",
135 "android.hardware.camera.device@3.2-adapter-helper",
136 "android.hidl.base@1.0-adapter-helper",
137 ],
138}
139
140genrule {
141 name: "android.hardware.camera.device@3.3-adapter_genc++",
142 tools: ["hidl-gen"],
143 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.camera.device@3.3",
144 out: ["main.cpp"]
145}
146
147cc_test {
148 name: "android.hardware.camera.device@3.3-adapter",
Steven Morelandf390f032017-10-11 11:09:24 -0700149 defaults: ["hidl-module-defaults"],
Steven Moreland3788a732017-09-26 10:11:18 -0700150 shared_libs: [
151 "libhidladapter",
152 "libhidlbase",
153 "libhidltransport",
154 "libutils",
155 "android.hardware.camera.common@1.0",
156 "android.hardware.camera.device@3.2",
157 "android.hardware.camera.device@3.3",
158 "android.hardware.graphics.common@1.0",
159 "android.hardware.camera.device@3.3-adapter-helper",
160 ],
161 generated_sources: ["android.hardware.camera.device@3.3-adapter_genc++"],
162}