blob: 4b5472a8d434d461caafb189682c5b4bcaa24129 [file] [log] [blame]
Chong Zhanga4f67512017-04-24 17:18:25 -07001// This file is autogenerated by hidl-gen. Do not edit manually.
2
3filegroup {
4 name: "android.hardware.cas.native@1.0_hal",
5 srcs: [
6 "types.hal",
7 "IDescrambler.hal",
8 ],
9}
10
11genrule {
12 name: "android.hardware.cas.native@1.0_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.cas.native@1.0",
15 srcs: [
16 ":android.hardware.cas.native@1.0_hal",
17 ],
18 out: [
19 "android/hardware/cas/native/1.0/types.cpp",
20 "android/hardware/cas/native/1.0/DescramblerAll.cpp",
21 ],
22}
23
24genrule {
25 name: "android.hardware.cas.native@1.0_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.cas.native@1.0",
28 srcs: [
29 ":android.hardware.cas.native@1.0_hal",
30 ],
31 out: [
32 "android/hardware/cas/native/1.0/types.h",
33 "android/hardware/cas/native/1.0/hwtypes.h",
34 "android/hardware/cas/native/1.0/IDescrambler.h",
35 "android/hardware/cas/native/1.0/IHwDescrambler.h",
36 "android/hardware/cas/native/1.0/BnHwDescrambler.h",
37 "android/hardware/cas/native/1.0/BpHwDescrambler.h",
38 "android/hardware/cas/native/1.0/BsDescrambler.h",
39 ],
40}
41
Tri Vof5d136c2017-08-02 15:19:22 -070042cc_library {
Chong Zhanga4f67512017-04-24 17:18:25 -070043 name: "android.hardware.cas.native@1.0",
44 defaults: ["hidl-module-defaults"],
45 generated_sources: ["android.hardware.cas.native@1.0_genc++"],
46 generated_headers: ["android.hardware.cas.native@1.0_genc++_headers"],
47 export_generated_headers: ["android.hardware.cas.native@1.0_genc++_headers"],
48 vendor_available: true,
Justin Yun608d7732017-08-04 14:12:23 +090049 vndk: {
50 enabled: true,
51 },
Chong Zhanga4f67512017-04-24 17:18:25 -070052 shared_libs: [
53 "libhidlbase",
54 "libhidltransport",
55 "libhwbinder",
56 "liblog",
57 "libutils",
58 "libcutils",
59 "android.hardware.cas@1.0",
60 ],
61 export_shared_lib_headers: [
62 "libhidlbase",
63 "libhidltransport",
64 "libhwbinder",
65 "libutils",
66 "android.hardware.cas@1.0",
67 ],
68}
Steven Moreland3788a732017-09-26 10:11:18 -070069
70genrule {
71 name: "android.hardware.cas.native@1.0-adapter-helper_genc++",
72 tools: ["hidl-gen"],
73 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.cas.native@1.0",
74 srcs: [
75 ":android.hardware.cas.native@1.0_hal",
76 ],
77 out: [
78 "android/hardware/cas/native/1.0/ADescrambler.cpp",
79 ],
80}
81
82genrule {
83 name: "android.hardware.cas.native@1.0-adapter-helper_genc++_headers",
84 tools: ["hidl-gen"],
85 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.cas.native@1.0",
86 srcs: [
87 ":android.hardware.cas.native@1.0_hal",
88 ],
89 out: [
90 "android/hardware/cas/native/1.0/ADescrambler.h",
91 ],
92}
93
94
95cc_library {
96 name: "android.hardware.cas.native@1.0-adapter-helper",
97 defaults: ["hidl-module-defaults"],
98 generated_sources: ["android.hardware.cas.native@1.0-adapter-helper_genc++"],
99 generated_headers: ["android.hardware.cas.native@1.0-adapter-helper_genc++_headers"],
100 export_generated_headers: ["android.hardware.cas.native@1.0-adapter-helper_genc++_headers"],
101 vendor_available: true,
102 shared_libs: [
103 "libhidlbase",
104 "libhidltransport",
105 "libhwbinder",
106 "liblog",
107 "libutils",
108 "libcutils",
109 "libhidladapter",
110 "android.hardware.cas.native@1.0",
111 "android.hardware.cas@1.0",
112 "android.hardware.cas@1.0-adapter-helper",
113 "android.hidl.base@1.0-adapter-helper",
114 ],
115 export_shared_lib_headers: [
116 "libhidlbase",
117 "libhidltransport",
118 "libhwbinder",
119 "libutils",
120 "libhidladapter",
121 "android.hardware.cas.native@1.0",
122 "android.hardware.cas@1.0",
123 "android.hardware.cas@1.0-adapter-helper",
124 "android.hidl.base@1.0-adapter-helper",
125 ],
126}
127
128genrule {
129 name: "android.hardware.cas.native@1.0-adapter_genc++",
130 tools: ["hidl-gen"],
131 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.cas.native@1.0",
132 out: ["main.cpp"]
133}
134
135cc_test {
136 name: "android.hardware.cas.native@1.0-adapter",
137 shared_libs: [
138 "libhidladapter",
139 "libhidlbase",
140 "libhidltransport",
141 "libutils",
142 "android.hardware.cas.native@1.0",
143 "android.hardware.cas@1.0",
144 "android.hardware.cas.native@1.0-adapter-helper",
145 ],
146 generated_sources: ["android.hardware.cas.native@1.0-adapter_genc++"],
147}