blob: da0331b7173219fc52d1ea8a66524bfa49dc59e6 [file] [log] [blame]
Jiyong Parkc5d7c8a2017-01-14 19:40:33 +09001// This file is autogenerated by hidl-gen. Do not edit manually.
2
3filegroup {
4 name: "android.hardware.configstore@1.0_hal",
5 srcs: [
6 "types.hal",
7 "ISurfaceFlingerConfigs.hal",
8 ],
9}
10
11genrule {
12 name: "android.hardware.configstore@1.0_genc++",
13 tools: ["hidl-gen"],
Steven Morelandcb360c62017-05-09 14:34:19 -070014 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.configstore@1.0",
Jiyong Parkc5d7c8a2017-01-14 19:40:33 +090015 srcs: [
16 ":android.hardware.configstore@1.0_hal",
17 ],
18 out: [
19 "android/hardware/configstore/1.0/types.cpp",
20 "android/hardware/configstore/1.0/SurfaceFlingerConfigsAll.cpp",
21 ],
22}
23
24genrule {
25 name: "android.hardware.configstore@1.0_genc++_headers",
26 tools: ["hidl-gen"],
Steven Morelandcb360c62017-05-09 14:34:19 -070027 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.configstore@1.0",
Jiyong Parkc5d7c8a2017-01-14 19:40:33 +090028 srcs: [
29 ":android.hardware.configstore@1.0_hal",
30 ],
31 out: [
32 "android/hardware/configstore/1.0/types.h",
Steven Morelande90c31f2017-03-24 21:50:45 -070033 "android/hardware/configstore/1.0/hwtypes.h",
Jiyong Parkc5d7c8a2017-01-14 19:40:33 +090034 "android/hardware/configstore/1.0/ISurfaceFlingerConfigs.h",
35 "android/hardware/configstore/1.0/IHwSurfaceFlingerConfigs.h",
36 "android/hardware/configstore/1.0/BnHwSurfaceFlingerConfigs.h",
37 "android/hardware/configstore/1.0/BpHwSurfaceFlingerConfigs.h",
38 "android/hardware/configstore/1.0/BsSurfaceFlingerConfigs.h",
39 ],
40}
41
Steven Moreland72067082017-07-26 10:14:57 -070042cc_library {
Jiyong Parkc5d7c8a2017-01-14 19:40:33 +090043 name: "android.hardware.configstore@1.0",
Steven Moreland06c85d92017-05-18 16:14:16 -070044 defaults: ["hidl-module-defaults"],
Jiyong Parkc5d7c8a2017-01-14 19:40:33 +090045 generated_sources: ["android.hardware.configstore@1.0_genc++"],
46 generated_headers: ["android.hardware.configstore@1.0_genc++_headers"],
47 export_generated_headers: ["android.hardware.configstore@1.0_genc++_headers"],
Steven Moreland0dd5ba22017-04-11 09:57:11 -070048 vendor_available: true,
Steven Moreland5e594022017-07-25 18:24:40 -070049 vndk: {
50 enabled: true,
51 },
Jiyong Parkc5d7c8a2017-01-14 19:40:33 +090052 shared_libs: [
53 "libhidlbase",
54 "libhidltransport",
55 "libhwbinder",
56 "liblog",
57 "libutils",
58 "libcutils",
Jiyong Parkc5d7c8a2017-01-14 19:40:33 +090059 ],
60 export_shared_lib_headers: [
61 "libhidlbase",
62 "libhidltransport",
63 "libhwbinder",
64 "libutils",
Jiyong Parkc5d7c8a2017-01-14 19:40:33 +090065 ],
66}
Steven Moreland26a0bb22017-09-22 14:10:47 -070067
68genrule {
Steven Morelandc3e80fa2017-10-10 11:05:20 -070069 name: "android.hardware.configstore-V1.0-java_gen_java",
70 tools: ["hidl-gen"],
71 cmd: "$(location hidl-gen) -o $(genDir) -Ljava -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.configstore@1.0",
72 srcs: [
73 ":android.hardware.configstore@1.0_hal",
74 ],
75 out: [
76 "android/hardware/configstore/V1_0/OptionalBool.java",
77 "android/hardware/configstore/V1_0/OptionalInt32.java",
78 "android/hardware/configstore/V1_0/OptionalInt64.java",
79 "android/hardware/configstore/V1_0/OptionalString.java",
80 "android/hardware/configstore/V1_0/OptionalUInt32.java",
81 "android/hardware/configstore/V1_0/OptionalUInt64.java",
82 "android/hardware/configstore/V1_0/ISurfaceFlingerConfigs.java",
83 ],
84}
85
86java_library {
87 name: "android.hardware.configstore-V1.0-java",
88 no_framework_libs: true,
89 defaults: ["hidl-java-module-defaults"],
90 srcs: [":android.hardware.configstore-V1.0-java_gen_java"],
91 libs: [
92 "hwbinder",
93 "android.hidl.base-V1.0-java",
94 ]
95}
96
97// This package does not export any types. Not creating java constants export.
98
99
100genrule {
Steven Moreland26a0bb22017-09-22 14:10:47 -0700101 name: "android.hardware.configstore@1.0-adapter-helper_genc++",
102 tools: ["hidl-gen"],
103 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.configstore@1.0",
104 srcs: [
105 ":android.hardware.configstore@1.0_hal",
106 ],
107 out: [
108 "android/hardware/configstore/1.0/ASurfaceFlingerConfigs.cpp",
109 ],
110}
111
112genrule {
113 name: "android.hardware.configstore@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.configstore@1.0",
116 srcs: [
117 ":android.hardware.configstore@1.0_hal",
118 ],
119 out: [
120 "android/hardware/configstore/1.0/ASurfaceFlingerConfigs.h",
121 ],
122}
123
Steven Moreland26a0bb22017-09-22 14:10:47 -0700124cc_library {
125 name: "android.hardware.configstore@1.0-adapter-helper",
126 defaults: ["hidl-module-defaults"],
127 generated_sources: ["android.hardware.configstore@1.0-adapter-helper_genc++"],
128 generated_headers: ["android.hardware.configstore@1.0-adapter-helper_genc++_headers"],
129 export_generated_headers: ["android.hardware.configstore@1.0-adapter-helper_genc++_headers"],
130 vendor_available: true,
131 shared_libs: [
132 "libhidlbase",
133 "libhidltransport",
134 "libhwbinder",
135 "liblog",
136 "libutils",
137 "libcutils",
138 "libhidladapter",
139 "android.hardware.configstore@1.0",
140 "android.hidl.base@1.0-adapter-helper",
141 ],
142 export_shared_lib_headers: [
143 "libhidlbase",
144 "libhidltransport",
145 "libhwbinder",
146 "libutils",
147 "libhidladapter",
148 "android.hardware.configstore@1.0",
149 "android.hidl.base@1.0-adapter-helper",
150 ],
151}
152
153genrule {
154 name: "android.hardware.configstore@1.0-adapter_genc++",
155 tools: ["hidl-gen"],
156 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.configstore@1.0",
Steven Morelanda5299ee2017-09-26 12:54:42 -0700157 out: ["main.cpp"]
158}
Steven Moreland26a0bb22017-09-22 14:10:47 -0700159
160cc_test {
161 name: "android.hardware.configstore@1.0-adapter",
Steven Moreland527fd762017-10-04 12:47:03 -0700162 defaults: ["hidl-module-defaults"],
Steven Moreland26a0bb22017-09-22 14:10:47 -0700163 shared_libs: [
164 "libhidladapter",
165 "libhidlbase",
166 "libhidltransport",
167 "libutils",
168 "android.hardware.configstore@1.0",
169 "android.hardware.configstore@1.0-adapter-helper",
170 ],
171 generated_sources: ["android.hardware.configstore@1.0-adapter_genc++"],
172}