blob: 029fbbe645e4687b888fdbe904fc093e6c0c7124 [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
Steven Morelandf390f032017-10-11 11:09:24 -070069// This package is not java compatible. Not creating java target.
70
71// This package does not export any types. Not creating java constants export.
72
73
Chia-I Wu12b806b2017-09-22 10:44:37 -070074genrule {
75 name: "android.hardware.graphics.mapper@2.1-adapter-helper_genc++",
76 tools: ["hidl-gen"],
77 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.graphics.mapper@2.1",
78 srcs: [
79 ":android.hardware.graphics.mapper@2.1_hal",
80 ],
81 out: [
82 "android/hardware/graphics/mapper/2.1/AMapper.cpp",
83 ],
84}
85
86genrule {
87 name: "android.hardware.graphics.mapper@2.1-adapter-helper_genc++_headers",
88 tools: ["hidl-gen"],
89 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.graphics.mapper@2.1",
90 srcs: [
91 ":android.hardware.graphics.mapper@2.1_hal",
92 ],
93 out: [
94 "android/hardware/graphics/mapper/2.1/AMapper.h",
95 ],
96}
97
Chia-I Wu12b806b2017-09-22 10:44:37 -070098cc_library {
99 name: "android.hardware.graphics.mapper@2.1-adapter-helper",
100 defaults: ["hidl-module-defaults"],
101 generated_sources: ["android.hardware.graphics.mapper@2.1-adapter-helper_genc++"],
102 generated_headers: ["android.hardware.graphics.mapper@2.1-adapter-helper_genc++_headers"],
103 export_generated_headers: ["android.hardware.graphics.mapper@2.1-adapter-helper_genc++_headers"],
104 vendor_available: true,
105 shared_libs: [
106 "libhidlbase",
107 "libhidltransport",
108 "libhwbinder",
109 "liblog",
110 "libutils",
111 "libcutils",
112 "libhidladapter",
113 "android.hardware.graphics.common@1.0",
114 "android.hardware.graphics.mapper@2.0",
115 "android.hardware.graphics.mapper@2.1",
116 "android.hardware.graphics.mapper@2.0-adapter-helper",
117 "android.hidl.base@1.0-adapter-helper",
118 ],
119 export_shared_lib_headers: [
120 "libhidlbase",
121 "libhidltransport",
122 "libhwbinder",
123 "libutils",
124 "libhidladapter",
125 "android.hardware.graphics.common@1.0",
126 "android.hardware.graphics.mapper@2.0",
127 "android.hardware.graphics.mapper@2.1",
128 "android.hardware.graphics.mapper@2.0-adapter-helper",
129 "android.hidl.base@1.0-adapter-helper",
130 ],
131}
132
133genrule {
134 name: "android.hardware.graphics.mapper@2.1-adapter_genc++",
135 tools: ["hidl-gen"],
136 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.graphics.mapper@2.1",
137 out: ["main.cpp"]
138}
139
140cc_test {
141 name: "android.hardware.graphics.mapper@2.1-adapter",
Steven Morelandf390f032017-10-11 11:09:24 -0700142 defaults: ["hidl-module-defaults"],
Chia-I Wu12b806b2017-09-22 10:44:37 -0700143 shared_libs: [
144 "libhidladapter",
145 "libhidlbase",
146 "libhidltransport",
147 "libutils",
148 "android.hardware.graphics.common@1.0",
149 "android.hardware.graphics.mapper@2.0",
150 "android.hardware.graphics.mapper@2.1",
151 "android.hardware.graphics.mapper@2.1-adapter-helper",
152 ],
153 generated_sources: ["android.hardware.graphics.mapper@2.1-adapter_genc++"],
154}