blob: 0e091db44b743da84b7e76297a426939c66800f8 [file] [log] [blame]
Jeff Tinkerda002fe2017-01-19 14:41:11 -08001// This file is autogenerated by hidl-gen. Do not edit manually.
2
Tri Voce608be2017-02-07 19:13:25 -08003filegroup {
4 name: "android.hardware.drm@1.0_hal",
5 srcs: [
6 "types.hal",
7 "ICryptoFactory.hal",
8 "ICryptoPlugin.hal",
9 "IDrmFactory.hal",
10 "IDrmPlugin.hal",
11 "IDrmPluginListener.hal",
12 ],
13}
14
Jeff Tinkerda002fe2017-01-19 14:41:11 -080015genrule {
16 name: "android.hardware.drm@1.0_genc++",
17 tools: ["hidl-gen"],
Steven Morelandbc711242017-05-09 19:51:19 -070018 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.drm@1.0",
Jeff Tinkerda002fe2017-01-19 14:41:11 -080019 srcs: [
Tri Vo85120c92017-02-10 12:45:17 -080020 ":android.hardware.drm@1.0_hal",
Jeff Tinkerda002fe2017-01-19 14:41:11 -080021 ],
22 out: [
23 "android/hardware/drm/1.0/types.cpp",
24 "android/hardware/drm/1.0/CryptoFactoryAll.cpp",
25 "android/hardware/drm/1.0/CryptoPluginAll.cpp",
26 "android/hardware/drm/1.0/DrmFactoryAll.cpp",
27 "android/hardware/drm/1.0/DrmPluginAll.cpp",
28 "android/hardware/drm/1.0/DrmPluginListenerAll.cpp",
29 ],
30}
31
32genrule {
33 name: "android.hardware.drm@1.0_genc++_headers",
34 tools: ["hidl-gen"],
Steven Morelandbc711242017-05-09 19:51:19 -070035 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.drm@1.0",
Jeff Tinkerda002fe2017-01-19 14:41:11 -080036 srcs: [
Tri Vo85120c92017-02-10 12:45:17 -080037 ":android.hardware.drm@1.0_hal",
Jeff Tinkerda002fe2017-01-19 14:41:11 -080038 ],
39 out: [
40 "android/hardware/drm/1.0/types.h",
Steven Moreland561b6022017-03-27 11:48:14 -070041 "android/hardware/drm/1.0/hwtypes.h",
Jeff Tinkerda002fe2017-01-19 14:41:11 -080042 "android/hardware/drm/1.0/ICryptoFactory.h",
43 "android/hardware/drm/1.0/IHwCryptoFactory.h",
44 "android/hardware/drm/1.0/BnHwCryptoFactory.h",
45 "android/hardware/drm/1.0/BpHwCryptoFactory.h",
46 "android/hardware/drm/1.0/BsCryptoFactory.h",
47 "android/hardware/drm/1.0/ICryptoPlugin.h",
48 "android/hardware/drm/1.0/IHwCryptoPlugin.h",
49 "android/hardware/drm/1.0/BnHwCryptoPlugin.h",
50 "android/hardware/drm/1.0/BpHwCryptoPlugin.h",
51 "android/hardware/drm/1.0/BsCryptoPlugin.h",
52 "android/hardware/drm/1.0/IDrmFactory.h",
53 "android/hardware/drm/1.0/IHwDrmFactory.h",
54 "android/hardware/drm/1.0/BnHwDrmFactory.h",
55 "android/hardware/drm/1.0/BpHwDrmFactory.h",
56 "android/hardware/drm/1.0/BsDrmFactory.h",
57 "android/hardware/drm/1.0/IDrmPlugin.h",
58 "android/hardware/drm/1.0/IHwDrmPlugin.h",
59 "android/hardware/drm/1.0/BnHwDrmPlugin.h",
60 "android/hardware/drm/1.0/BpHwDrmPlugin.h",
61 "android/hardware/drm/1.0/BsDrmPlugin.h",
62 "android/hardware/drm/1.0/IDrmPluginListener.h",
63 "android/hardware/drm/1.0/IHwDrmPluginListener.h",
64 "android/hardware/drm/1.0/BnHwDrmPluginListener.h",
65 "android/hardware/drm/1.0/BpHwDrmPluginListener.h",
66 "android/hardware/drm/1.0/BsDrmPluginListener.h",
67 ],
68}
69
Steven Morelanddfd82872017-08-10 15:15:40 -070070cc_library {
Jeff Tinkerda002fe2017-01-19 14:41:11 -080071 name: "android.hardware.drm@1.0",
Steven Moreland76cfb842017-05-19 15:52:22 -070072 defaults: ["hidl-module-defaults"],
Jeff Tinkerda002fe2017-01-19 14:41:11 -080073 generated_sources: ["android.hardware.drm@1.0_genc++"],
74 generated_headers: ["android.hardware.drm@1.0_genc++_headers"],
75 export_generated_headers: ["android.hardware.drm@1.0_genc++_headers"],
Steven Moreland3b36a832017-04-11 09:58:03 -070076 vendor_available: true,
Steven Morelanddfd82872017-08-10 15:15:40 -070077 vndk: {
78 enabled: true,
79 },
Jeff Tinkerda002fe2017-01-19 14:41:11 -080080 shared_libs: [
81 "libhidlbase",
82 "libhidltransport",
83 "libhwbinder",
84 "liblog",
85 "libutils",
86 "libcutils",
Jeff Tinkerda002fe2017-01-19 14:41:11 -080087 ],
88 export_shared_lib_headers: [
89 "libhidlbase",
90 "libhidltransport",
91 "libhwbinder",
92 "libutils",
Jeff Tinkerda002fe2017-01-19 14:41:11 -080093 ],
94}
Jiyong Parkacfcb302017-06-19 22:06:41 +090095
Steven Moreland26a0bb22017-09-22 14:10:47 -070096genrule {
97 name: "android.hardware.drm@1.0-adapter-helper_genc++",
98 tools: ["hidl-gen"],
99 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.drm@1.0",
100 srcs: [
101 ":android.hardware.drm@1.0_hal",
102 ],
103 out: [
104 "android/hardware/drm/1.0/ACryptoFactory.cpp",
105 "android/hardware/drm/1.0/ACryptoPlugin.cpp",
106 "android/hardware/drm/1.0/ADrmFactory.cpp",
107 "android/hardware/drm/1.0/ADrmPlugin.cpp",
108 "android/hardware/drm/1.0/ADrmPluginListener.cpp",
109 ],
110}
111
112genrule {
113 name: "android.hardware.drm@1.0-adapter-helper_genc++_headers",
114 tools: ["hidl-gen"],
115 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.drm@1.0",
116 srcs: [
117 ":android.hardware.drm@1.0_hal",
118 ],
119 out: [
120 "android/hardware/drm/1.0/ACryptoFactory.h",
121 "android/hardware/drm/1.0/ACryptoPlugin.h",
122 "android/hardware/drm/1.0/ADrmFactory.h",
123 "android/hardware/drm/1.0/ADrmPlugin.h",
124 "android/hardware/drm/1.0/ADrmPluginListener.h",
125 ],
126}
127
128
129cc_library {
130 name: "android.hardware.drm@1.0-adapter-helper",
131 defaults: ["hidl-module-defaults"],
132 generated_sources: ["android.hardware.drm@1.0-adapter-helper_genc++"],
133 generated_headers: ["android.hardware.drm@1.0-adapter-helper_genc++_headers"],
134 export_generated_headers: ["android.hardware.drm@1.0-adapter-helper_genc++_headers"],
135 vendor_available: true,
136 shared_libs: [
137 "libhidlbase",
138 "libhidltransport",
139 "libhwbinder",
140 "liblog",
141 "libutils",
142 "libcutils",
143 "libhidladapter",
144 "android.hardware.drm@1.0",
145 "android.hidl.base@1.0-adapter-helper",
146 ],
147 export_shared_lib_headers: [
148 "libhidlbase",
149 "libhidltransport",
150 "libhwbinder",
151 "libutils",
152 "libhidladapter",
153 "android.hardware.drm@1.0",
154 "android.hidl.base@1.0-adapter-helper",
155 ],
156}
157
158genrule {
159 name: "android.hardware.drm@1.0-adapter_genc++",
160 tools: ["hidl-gen"],
161 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.drm@1.0",
162 out: ["main.cpp"]}
163
164cc_test {
165 name: "android.hardware.drm@1.0-adapter",
166 shared_libs: [
167 "libhidladapter",
168 "libhidlbase",
169 "libhidltransport",
170 "libutils",
171 "android.hardware.drm@1.0",
172 "android.hardware.drm@1.0-adapter-helper",
173 ],
174 generated_sources: ["android.hardware.drm@1.0-adapter_genc++"],
175}