summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteven Moreland2017-11-09 21:05:17 -0600
committerSteven Moreland2017-11-10 11:06:55 -0600
commita1169dd600091cc9a451b91e7b4573dc1d9049b3 (patch)
treee7b60403dc8cb464f2d9f9782c8bf06262e6bf74 /configstore
parent771dff2a2d014df7118263d2c0a8cc8522cf480c (diff)
downloadplatform-hardware-interfaces-a1169dd600091cc9a451b91e7b4573dc1d9049b3.tar.gz
platform-hardware-interfaces-a1169dd600091cc9a451b91e7b4573dc1d9049b3.tar.xz
platform-hardware-interfaces-a1169dd600091cc9a451b91e7b4573dc1d9049b3.zip
Update makefiles for hidl_interface.
Bug: 35570956 Test: manual Change-Id: I7a220b78ee081240e1dc30ef5672ba39e3e98375
Diffstat (limited to 'configstore')
-rw-r--r--configstore/1.0/Android.bp176
1 files changed, 15 insertions, 161 deletions
diff --git a/configstore/1.0/Android.bp b/configstore/1.0/Android.bp
index da0331b7..5e98e5c4 100644
--- a/configstore/1.0/Android.bp
+++ b/configstore/1.0/Android.bp
@@ -1,172 +1,26 @@
1// This file is autogenerated by hidl-gen. Do not edit manually. 1// This file is autogenerated by hidl-gen -Landroidbp.
2 2
3filegroup { 3hidl_interface {
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"],
14 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.configstore@1.0",
15 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"],
27 cmd: "$(location hidl-gen) -o $(genDir) -Lc++-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.configstore@1.0",
28 srcs: [
29 ":android.hardware.configstore@1.0_hal",
30 ],
31 out: [
32 "android/hardware/configstore/1.0/types.h",
33 "android/hardware/configstore/1.0/hwtypes.h",
34 "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
42cc_library {
43 name: "android.hardware.configstore@1.0", 4 name: "android.hardware.configstore@1.0",
44 defaults: ["hidl-module-defaults"], 5 root: "android.hardware",
45 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"],
48 vendor_available: true,
49 vndk: { 6 vndk: {
50 enabled: true, 7 enabled: true,
51 }, 8 },
52 shared_libs: [
53 "libhidlbase",
54 "libhidltransport",
55 "libhwbinder",
56 "liblog",
57 "libutils",
58 "libcutils",
59 ],
60 export_shared_lib_headers: [
61 "libhidlbase",
62 "libhidltransport",
63 "libhwbinder",
64 "libutils",
65 ],
66}
67
68genrule {
69 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: [ 9 srcs: [
73 ":android.hardware.configstore@1.0_hal", 10 "types.hal",
74 ], 11 "ISurfaceFlingerConfigs.hal",
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 {
101 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 ], 12 ],
122} 13 interfaces: [
123 14 "android.hidl.base@1.0",
124cc_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 ], 15 ],
142 export_shared_lib_headers: [ 16 types: [
143 "libhidlbase", 17 "OptionalBool",
144 "libhidltransport", 18 "OptionalInt32",
145 "libhwbinder", 19 "OptionalInt64",
146 "libutils", 20 "OptionalString",
147 "libhidladapter", 21 "OptionalUInt32",
148 "android.hardware.configstore@1.0", 22 "OptionalUInt64",
149 "android.hidl.base@1.0-adapter-helper",
150 ], 23 ],
24 gen_java: true,
151} 25}
152 26
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",
157 out: ["main.cpp"]
158}
159
160cc_test {
161 name: "android.hardware.configstore@1.0-adapter",
162 defaults: ["hidl-module-defaults"],
163 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}