diff options
Diffstat (limited to 'configstore/1.1/Android.bp')
-rw-r--r-- | configstore/1.1/Android.bp | 143 |
1 files changed, 143 insertions, 0 deletions
diff --git a/configstore/1.1/Android.bp b/configstore/1.1/Android.bp new file mode 100644 index 00000000..1bddc6c4 --- /dev/null +++ b/configstore/1.1/Android.bp | |||
@@ -0,0 +1,143 @@ | |||
1 | // This file is autogenerated by hidl-gen. Do not edit manually. | ||
2 | |||
3 | filegroup { | ||
4 | name: "android.hardware.configstore@1.1_hal", | ||
5 | srcs: [ | ||
6 | "ISurfaceFlingerConfigs.hal", | ||
7 | ], | ||
8 | } | ||
9 | |||
10 | genrule { | ||
11 | name: "android.hardware.configstore@1.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.configstore@1.1", | ||
14 | srcs: [ | ||
15 | ":android.hardware.configstore@1.1_hal", | ||
16 | ], | ||
17 | out: [ | ||
18 | "android/hardware/configstore/1.1/SurfaceFlingerConfigsAll.cpp", | ||
19 | ], | ||
20 | } | ||
21 | |||
22 | genrule { | ||
23 | name: "android.hardware.configstore@1.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.configstore@1.1", | ||
26 | srcs: [ | ||
27 | ":android.hardware.configstore@1.1_hal", | ||
28 | ], | ||
29 | out: [ | ||
30 | "android/hardware/configstore/1.1/ISurfaceFlingerConfigs.h", | ||
31 | "android/hardware/configstore/1.1/IHwSurfaceFlingerConfigs.h", | ||
32 | "android/hardware/configstore/1.1/BnHwSurfaceFlingerConfigs.h", | ||
33 | "android/hardware/configstore/1.1/BpHwSurfaceFlingerConfigs.h", | ||
34 | "android/hardware/configstore/1.1/BsSurfaceFlingerConfigs.h", | ||
35 | ], | ||
36 | } | ||
37 | |||
38 | cc_library { | ||
39 | name: "android.hardware.configstore@1.1", | ||
40 | defaults: ["hidl-module-defaults"], | ||
41 | generated_sources: ["android.hardware.configstore@1.1_genc++"], | ||
42 | generated_headers: ["android.hardware.configstore@1.1_genc++_headers"], | ||
43 | export_generated_headers: ["android.hardware.configstore@1.1_genc++_headers"], | ||
44 | vendor_available: true, | ||
45 | vndk: { | ||
46 | enabled: true, | ||
47 | }, | ||
48 | shared_libs: [ | ||
49 | "libhidlbase", | ||
50 | "libhidltransport", | ||
51 | "libhwbinder", | ||
52 | "liblog", | ||
53 | "libutils", | ||
54 | "libcutils", | ||
55 | "android.hardware.configstore@1.0", | ||
56 | ], | ||
57 | export_shared_lib_headers: [ | ||
58 | "libhidlbase", | ||
59 | "libhidltransport", | ||
60 | "libhwbinder", | ||
61 | "libutils", | ||
62 | "android.hardware.configstore@1.0", | ||
63 | ], | ||
64 | } | ||
65 | |||
66 | genrule { | ||
67 | name: "android.hardware.configstore@1.1-adapter-helper_genc++", | ||
68 | tools: ["hidl-gen"], | ||
69 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-sources -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.configstore@1.1", | ||
70 | srcs: [ | ||
71 | ":android.hardware.configstore@1.1_hal", | ||
72 | ], | ||
73 | out: [ | ||
74 | "android/hardware/configstore/1.1/ASurfaceFlingerConfigs.cpp", | ||
75 | ], | ||
76 | } | ||
77 | |||
78 | genrule { | ||
79 | name: "android.hardware.configstore@1.1-adapter-helper_genc++_headers", | ||
80 | tools: ["hidl-gen"], | ||
81 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-headers -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.configstore@1.1", | ||
82 | srcs: [ | ||
83 | ":android.hardware.configstore@1.1_hal", | ||
84 | ], | ||
85 | out: [ | ||
86 | "android/hardware/configstore/1.1/ASurfaceFlingerConfigs.h", | ||
87 | ], | ||
88 | } | ||
89 | |||
90 | |||
91 | cc_library { | ||
92 | name: "android.hardware.configstore@1.1-adapter-helper", | ||
93 | defaults: ["hidl-module-defaults"], | ||
94 | generated_sources: ["android.hardware.configstore@1.1-adapter-helper_genc++"], | ||
95 | generated_headers: ["android.hardware.configstore@1.1-adapter-helper_genc++_headers"], | ||
96 | export_generated_headers: ["android.hardware.configstore@1.1-adapter-helper_genc++_headers"], | ||
97 | vendor_available: true, | ||
98 | shared_libs: [ | ||
99 | "libhidlbase", | ||
100 | "libhidltransport", | ||
101 | "libhwbinder", | ||
102 | "liblog", | ||
103 | "libutils", | ||
104 | "libcutils", | ||
105 | "libhidladapter", | ||
106 | "android.hardware.configstore@1.0", | ||
107 | "android.hardware.configstore@1.1", | ||
108 | "android.hardware.configstore@1.0-adapter-helper", | ||
109 | "android.hidl.base@1.0-adapter-helper", | ||
110 | ], | ||
111 | export_shared_lib_headers: [ | ||
112 | "libhidlbase", | ||
113 | "libhidltransport", | ||
114 | "libhwbinder", | ||
115 | "libutils", | ||
116 | "libhidladapter", | ||
117 | "android.hardware.configstore@1.0", | ||
118 | "android.hardware.configstore@1.1", | ||
119 | "android.hardware.configstore@1.0-adapter-helper", | ||
120 | "android.hidl.base@1.0-adapter-helper", | ||
121 | ], | ||
122 | } | ||
123 | |||
124 | genrule { | ||
125 | name: "android.hardware.configstore@1.1-adapter_genc++", | ||
126 | tools: ["hidl-gen"], | ||
127 | cmd: "$(location hidl-gen) -o $(genDir) -Lc++-adapter-main -randroid.hardware:hardware/interfaces -randroid.hidl:system/libhidl/transport android.hardware.configstore@1.1", | ||
128 | out: ["main.cpp"] | ||
129 | } | ||
130 | |||
131 | cc_test { | ||
132 | name: "android.hardware.configstore@1.1-adapter", | ||
133 | shared_libs: [ | ||
134 | "libhidladapter", | ||
135 | "libhidlbase", | ||
136 | "libhidltransport", | ||
137 | "libutils", | ||
138 | "android.hardware.configstore@1.0", | ||
139 | "android.hardware.configstore@1.1", | ||
140 | "android.hardware.configstore@1.1-adapter-helper", | ||
141 | ], | ||
142 | generated_sources: ["android.hardware.configstore@1.1-adapter_genc++"], | ||
143 | } | ||