blob: eb26e8688d5b498903429d159f94e18a4504dc71 [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 Morelandc3e80fa2017-10-10 11:05:20 -070096// This package is not java compatible. Not creating java target.
97
98// This package does not export any types. Not creating java constants export.
99
100
Steven Moreland26a0bb22017-09-22 14:10:47 -0700101genrule {
102 name: "android.hardware.drm@1.0-adapter-helper_genc++",
103 tools: ["hidl-gen"],
104 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.drm@1.0",
105 srcs: [
106 ":android.hardware.drm@1.0_hal",
107 ],
108 out: [
109 "android/hardware/drm/1.0/ACryptoFactory.cpp",
110 "android/hardware/drm/1.0/ACryptoPlugin.cpp",
111 "android/hardware/drm/1.0/ADrmFactory.cpp",
112 "android/hardware/drm/1.0/ADrmPlugin.cpp",
113 "android/hardware/drm/1.0/ADrmPluginListener.cpp",
114 ],
115}
116
117genrule {
118 name: "android.hardware.drm@1.0-adapter-helper_genc++_headers",
119 tools: ["hidl-gen"],
120 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.drm@1.0",
121 srcs: [
122 ":android.hardware.drm@1.0_hal",
123 ],
124 out: [
125 "android/hardware/drm/1.0/ACryptoFactory.h",
126 "android/hardware/drm/1.0/ACryptoPlugin.h",
127 "android/hardware/drm/1.0/ADrmFactory.h",
128 "android/hardware/drm/1.0/ADrmPlugin.h",
129 "android/hardware/drm/1.0/ADrmPluginListener.h",
130 ],
131}
132
Steven Moreland26a0bb22017-09-22 14:10:47 -0700133cc_library {
134 name: "android.hardware.drm@1.0-adapter-helper",
135 defaults: ["hidl-module-defaults"],
136 generated_sources: ["android.hardware.drm@1.0-adapter-helper_genc++"],
137 generated_headers: ["android.hardware.drm@1.0-adapter-helper_genc++_headers"],
138 export_generated_headers: ["android.hardware.drm@1.0-adapter-helper_genc++_headers"],
139 vendor_available: true,
140 shared_libs: [
141 "libhidlbase",
142 "libhidltransport",
143 "libhwbinder",
144 "liblog",
145 "libutils",
146 "libcutils",
147 "libhidladapter",
148 "android.hardware.drm@1.0",
149 "android.hidl.base@1.0-adapter-helper",
150 ],
151 export_shared_lib_headers: [
152 "libhidlbase",
153 "libhidltransport",
154 "libhwbinder",
155 "libutils",
156 "libhidladapter",
157 "android.hardware.drm@1.0",
158 "android.hidl.base@1.0-adapter-helper",
159 ],
160}
161
162genrule {
163 name: "android.hardware.drm@1.0-adapter_genc++",
164 tools: ["hidl-gen"],
165 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.drm@1.0",
Steven Morelanda5299ee2017-09-26 12:54:42 -0700166 out: ["main.cpp"]
167}
Steven Moreland26a0bb22017-09-22 14:10:47 -0700168
169cc_test {
170 name: "android.hardware.drm@1.0-adapter",
Steven Moreland527fd762017-10-04 12:47:03 -0700171 defaults: ["hidl-module-defaults"],
Steven Moreland26a0bb22017-09-22 14:10:47 -0700172 shared_libs: [
173 "libhidladapter",
174 "libhidlbase",
175 "libhidltransport",
176 "libutils",
177 "android.hardware.drm@1.0",
178 "android.hardware.drm@1.0-adapter-helper",
179 ],
180 generated_sources: ["android.hardware.drm@1.0-adapter_genc++"],
181}