blob: 971cd99544c835132cdebfe9554f252bf4180db9 [file] [log] [blame]
Chia-I Wu12b806b2017-09-22 10:44:37 -07001// This file is autogenerated by hidl-gen. Do not edit manually.
2
3filegroup {
4 name: "android.hardware.graphics.mapper@2.1_hal",
5 srcs: [
6 "IMapper.hal",
7 ],
8}
9
10genrule {
11 name: "android.hardware.graphics.mapper@2.1_genc++",
12 tools: ["hidl-gen"],
13 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.graphics.mapper@2.1",
14 srcs: [
15 ":android.hardware.graphics.mapper@2.1_hal",
16 ],
17 out: [
18 "android/hardware/graphics/mapper/2.1/MapperAll.cpp",
19 ],
20}
21
22genrule {
23 name: "android.hardware.graphics.mapper@2.1_genc++_headers",
24 tools: ["hidl-gen"],
25 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.graphics.mapper@2.1",
26 srcs: [
27 ":android.hardware.graphics.mapper@2.1_hal",
28 ],
29 out: [
30 "android/hardware/graphics/mapper/2.1/IMapper.h",
31 "android/hardware/graphics/mapper/2.1/IHwMapper.h",
32 "android/hardware/graphics/mapper/2.1/BnHwMapper.h",
33 "android/hardware/graphics/mapper/2.1/BpHwMapper.h",
34 "android/hardware/graphics/mapper/2.1/BsMapper.h",
35 ],
36}
37
38cc_library {
39 name: "android.hardware.graphics.mapper@2.1",
40 defaults: ["hidl-module-defaults"],
41 generated_sources: ["android.hardware.graphics.mapper@2.1_genc++"],
42 generated_headers: ["android.hardware.graphics.mapper@2.1_genc++_headers"],
43 export_generated_headers: ["android.hardware.graphics.mapper@2.1_genc++_headers"],
44 vendor_available: true,
45 vndk: {
46 enabled: true,
47 support_system_process: true,
48 },
49 shared_libs: [
50 "libhidlbase",
51 "libhidltransport",
52 "libhwbinder",
53 "liblog",
54 "libutils",
55 "libcutils",
56 "android.hardware.graphics.common@1.0",
57 "android.hardware.graphics.mapper@2.0",
58 ],
59 export_shared_lib_headers: [
60 "libhidlbase",
61 "libhidltransport",
62 "libhwbinder",
63 "libutils",
64 "android.hardware.graphics.common@1.0",
65 "android.hardware.graphics.mapper@2.0",
66 ],
67}
68
69genrule {
70 name: "android.hardware.graphics.mapper@2.1-adapter-helper_genc++",
71 tools: ["hidl-gen"],
72 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.graphics.mapper@2.1",
73 srcs: [
74 ":android.hardware.graphics.mapper@2.1_hal",
75 ],
76 out: [
77 "android/hardware/graphics/mapper/2.1/AMapper.cpp",
78 ],
79}
80
81genrule {
82 name: "android.hardware.graphics.mapper@2.1-adapter-helper_genc++_headers",
83 tools: ["hidl-gen"],
84 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.graphics.mapper@2.1",
85 srcs: [
86 ":android.hardware.graphics.mapper@2.1_hal",
87 ],
88 out: [
89 "android/hardware/graphics/mapper/2.1/AMapper.h",
90 ],
91}
92
93
94cc_library {
95 name: "android.hardware.graphics.mapper@2.1-adapter-helper",
96 defaults: ["hidl-module-defaults"],
97 generated_sources: ["android.hardware.graphics.mapper@2.1-adapter-helper_genc++"],
98 generated_headers: ["android.hardware.graphics.mapper@2.1-adapter-helper_genc++_headers"],
99 export_generated_headers: ["android.hardware.graphics.mapper@2.1-adapter-helper_genc++_headers"],
100 vendor_available: true,
101 shared_libs: [
102 "libhidlbase",
103 "libhidltransport",
104 "libhwbinder",
105 "liblog",
106 "libutils",
107 "libcutils",
108 "libhidladapter",
109 "android.hardware.graphics.common@1.0",
110 "android.hardware.graphics.mapper@2.0",
111 "android.hardware.graphics.mapper@2.1",
112 "android.hardware.graphics.mapper@2.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.graphics.common@1.0",
122 "android.hardware.graphics.mapper@2.0",
123 "android.hardware.graphics.mapper@2.1",
124 "android.hardware.graphics.mapper@2.0-adapter-helper",
125 "android.hidl.base@1.0-adapter-helper",
126 ],
127}
128
129genrule {
130 name: "android.hardware.graphics.mapper@2.1-adapter_genc++",
131 tools: ["hidl-gen"],
132 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.graphics.mapper@2.1",
133 out: ["main.cpp"]
134}
135
136cc_test {
137 name: "android.hardware.graphics.mapper@2.1-adapter",
138 shared_libs: [
139 "libhidladapter",
140 "libhidlbase",
141 "libhidltransport",
142 "libutils",
143 "android.hardware.graphics.common@1.0",
144 "android.hardware.graphics.mapper@2.0",
145 "android.hardware.graphics.mapper@2.1",
146 "android.hardware.graphics.mapper@2.1-adapter-helper",
147 ],
148 generated_sources: ["android.hardware.graphics.mapper@2.1-adapter_genc++"],
149}