blob: a29cf4afbf93ecb641273999045a0cea8736dc2c [file] [log] [blame]
Liam McLoughlin0b1c15f2013-02-10 09:10:46 -05001{
2 'targets': [
3 {
Bertrand SIMONNET11050242014-06-18 14:41:11 -07004 'target_name': 'system_api-protos-gen',
5 'type': 'none',
Liam McLoughlin0b1c15f2013-02-10 09:10:46 -05006 'variables': {
7 'proto_in_dir': 'dbus',
Liam McLoughlin3b2f2e02013-07-15 12:49:52 -07008 'proto_out_dir': 'include/system_api/proto_bindings',
Liam McLoughlin0b1c15f2013-02-10 09:10:46 -05009 },
Liam McLoughlin0b1c15f2013-02-10 09:10:46 -050010 'sources': [
11 '<(proto_in_dir)/mtp_storage_info.proto',
12 '<(proto_in_dir)/mtp_file_entry.proto',
Liam McLoughlin3b2f2e02013-07-15 12:49:52 -070013 '<(proto_in_dir)/field_trial_list.proto',
Liam McLoughlin0b1c15f2013-02-10 09:10:46 -050014 ],
Bertrand SIMONNETc4fa67a2014-05-28 16:22:44 -070015 'includes': ['../../platform2/common-mk/protoc.gypi'],
Liam McLoughlin0b1c15f2013-02-10 09:10:46 -050016 },
17 {
Bertrand SIMONNET11050242014-06-18 14:41:11 -070018 'target_name': 'system_api-protos',
Liam McLoughlin3b2f2e02013-07-15 12:49:52 -070019 'type': 'static_library',
Bertrand SIMONNET11050242014-06-18 14:41:11 -070020 'standalone_static_library': 1,
21 'dependencies': [
22 'system_api-protos-gen',
23 ],
24 'sources': [
25 '<(SHARED_INTERMEDIATE_DIR)/include/system_api/proto_bindings/mtp_storage_info.pb.cc',
26 '<(SHARED_INTERMEDIATE_DIR)/include/system_api/proto_bindings/mtp_file_entry.pb.cc',
27 '<(SHARED_INTERMEDIATE_DIR)/include/system_api/proto_bindings/field_trial_list.pb.cc',
28 ]
29 },
30 {
31 'target_name': 'system_api-power_manager-protos-gen',
32 'type': 'none',
Liam McLoughlin0b1c15f2013-02-10 09:10:46 -050033 'variables': {
34 'proto_in_dir': 'dbus/power_manager',
Liam McLoughlin3b2f2e02013-07-15 12:49:52 -070035 'proto_out_dir': 'include/power_manager/proto_bindings',
Liam McLoughlin0b1c15f2013-02-10 09:10:46 -050036 },
Liam McLoughlin0b1c15f2013-02-10 09:10:46 -050037 'sources': [
Daniel Erat57bbe672018-02-12 17:27:48 -080038 '<(proto_in_dir)/backlight.proto',
Daniel Erat47afcab2017-10-25 15:32:24 -070039 '<(proto_in_dir)/idle.proto',
Liam McLoughlin0b1c15f2013-02-10 09:10:46 -050040 '<(proto_in_dir)/input_event.proto',
Liam McLoughlin3b2f2e02013-07-15 12:49:52 -070041 '<(proto_in_dir)/peripheral_battery_status.proto',
Liam McLoughlin0b1c15f2013-02-10 09:10:46 -050042 '<(proto_in_dir)/policy.proto',
43 '<(proto_in_dir)/power_supply_properties.proto',
Daniel Erat47a09782017-03-20 16:12:08 -060044 '<(proto_in_dir)/suspend.proto',
45 '<(proto_in_dir)/switch_states.proto',
Liam McLoughlin0b1c15f2013-02-10 09:10:46 -050046 ],
Bertrand SIMONNETc4fa67a2014-05-28 16:22:44 -070047 'includes': ['../../platform2/common-mk/protoc.gypi'],
Liam McLoughlin0b1c15f2013-02-10 09:10:46 -050048 },
49 {
Bertrand SIMONNET11050242014-06-18 14:41:11 -070050 'target_name': 'system_api-power_manager-protos',
antrim06e526f2014-02-14 13:41:53 +040051 'type': 'static_library',
Bertrand SIMONNET11050242014-06-18 14:41:11 -070052 'standalone_static_library': 1,
53 'dependencies': [
54 'system_api-power_manager-protos-gen',
55 ],
56 'sources': [
Daniel Erat57bbe672018-02-12 17:27:48 -080057 '<(SHARED_INTERMEDIATE_DIR)/include/power_manager/proto_bindings/backlight.pb.cc',
Daniel Erat47afcab2017-10-25 15:32:24 -070058 '<(SHARED_INTERMEDIATE_DIR)/include/power_manager/proto_bindings/idle.pb.cc',
Bertrand SIMONNET11050242014-06-18 14:41:11 -070059 '<(SHARED_INTERMEDIATE_DIR)/include/power_manager/proto_bindings/input_event.pb.cc',
60 '<(SHARED_INTERMEDIATE_DIR)/include/power_manager/proto_bindings/peripheral_battery_status.pb.cc',
61 '<(SHARED_INTERMEDIATE_DIR)/include/power_manager/proto_bindings/policy.pb.cc',
62 '<(SHARED_INTERMEDIATE_DIR)/include/power_manager/proto_bindings/power_supply_properties.pb.cc',
Daniel Erat47a09782017-03-20 16:12:08 -060063 '<(SHARED_INTERMEDIATE_DIR)/include/power_manager/proto_bindings/suspend.pb.cc',
64 '<(SHARED_INTERMEDIATE_DIR)/include/power_manager/proto_bindings/switch_states.pb.cc',
Bertrand SIMONNET11050242014-06-18 14:41:11 -070065 ]
66 },
67 {
68 'target_name': 'system_api-cryptohome-protos-gen',
69 'type': 'none',
antrim06e526f2014-02-14 13:41:53 +040070 'variables': {
71 'proto_in_dir': 'dbus/cryptohome',
72 'proto_out_dir': 'include/cryptohome/proto_bindings',
73 },
antrim06e526f2014-02-14 13:41:53 +040074 'sources': [
Will Drewry17a3f8e2014-02-14 10:34:42 -060075 '<(proto_in_dir)/key.proto',
76 '<(proto_in_dir)/rpc.proto',
Will Drewry04be5592014-03-21 22:38:29 -050077 '<(proto_in_dir)/signed_secret.proto',
antrim06e526f2014-02-14 13:41:53 +040078 ],
Bertrand SIMONNETc4fa67a2014-05-28 16:22:44 -070079 'includes': ['../../platform2/common-mk/protoc.gypi'],
antrim06e526f2014-02-14 13:41:53 +040080 },
81 {
Bertrand SIMONNET11050242014-06-18 14:41:11 -070082 'target_name': 'system_api-cryptohome-protos',
83 'type': 'static_library',
84 'standalone_static_library': 1,
85 'dependencies': [
86 'system_api-cryptohome-protos-gen',
87 ],
88 'sources': [
89 '<(SHARED_INTERMEDIATE_DIR)/include/cryptohome/proto_bindings/key.pb.cc',
90 '<(SHARED_INTERMEDIATE_DIR)/include/cryptohome/proto_bindings/rpc.pb.cc',
91 '<(SHARED_INTERMEDIATE_DIR)/include/cryptohome/proto_bindings/signed_secret.pb.cc',
Liam McLoughlin0b1c15f2013-02-10 09:10:46 -050092 ]
Bertrand SIMONNET11050242014-06-18 14:41:11 -070093 },
Roman Sorokincc0eda82017-02-08 13:47:50 +010094 {
95 'target_name': 'system_api-authpolicy-protos-gen',
96 'type': 'none',
97 'variables': {
98 'proto_in_dir': 'dbus/authpolicy',
99 'proto_out_dir': 'include/authpolicy/proto_bindings',
100 },
101 'sources': [
Lutz Justenfd7d48e2017-04-18 23:30:07 +0200102 '<(proto_in_dir)/active_directory_info.proto',
Roman Sorokincc0eda82017-02-08 13:47:50 +0100103 ],
104 'includes': ['../../platform2/common-mk/protoc.gypi'],
105 },
106 {
107 'target_name': 'system_api-authpolicy-protos',
108 'type': 'static_library',
109 'standalone_static_library': 1,
110 'dependencies': [
111 'system_api-authpolicy-protos-gen',
112 ],
113 'sources': [
Lutz Justenfd7d48e2017-04-18 23:30:07 +0200114 '<(SHARED_INTERMEDIATE_DIR)/include/authpolicy/proto_bindings/active_directory_info.pb.cc',
Roman Sorokincc0eda82017-02-08 13:47:50 +0100115 ]
116 },
Mengqi Guo6139ae02017-04-19 15:43:06 -0700117 {
118 'target_name': 'system_api-biod-protos-gen',
119 'type': 'none',
120 'variables': {
121 'proto_in_dir': 'dbus/biod',
122 'proto_out_dir': 'include/biod/proto_bindings',
123 },
124 'sources': [
125 '<(proto_in_dir)/constants.proto',
126 '<(proto_in_dir)/messages.proto',
127 ],
128 'includes': ['../../platform2/common-mk/protoc.gypi'],
129 },
130 {
131 'target_name': 'system_api-biod-protos',
132 'type': 'static_library',
133 'standalone_static_library': 1,
134 'dependencies': [
135 'system_api-biod-protos-gen',
136 ],
137 'sources': [
138 '<(SHARED_INTERMEDIATE_DIR)/include/biod/proto_bindings/constants.pb.cc',
139 '<(SHARED_INTERMEDIATE_DIR)/include/biod/proto_bindings/messages.pb.cc',
140 ]
141 },
Xiaohui Chen2a197092017-05-09 11:37:34 -0700142 {
143 'target_name': 'system_api-login_manager-protos-gen',
144 'type': 'none',
145 'variables': {
146 'proto_in_dir': 'dbus/login_manager',
147 'proto_out_dir': 'include/login_manager/proto_bindings',
148 },
149 'sources': [
150 '<(proto_in_dir)/arc.proto',
Lutz Justen50b98972017-09-18 18:27:19 +0200151 '<(proto_in_dir)/policy_descriptor.proto',
Xiaohui Chen2a197092017-05-09 11:37:34 -0700152 ],
153 'includes': ['../../platform2/common-mk/protoc.gypi'],
154 },
155 {
156 'target_name': 'system_api-login_manager-protos',
157 'type': 'static_library',
158 'standalone_static_library': 1,
159 'dependencies': [
160 'system_api-login_manager-protos-gen',
161 ],
162 'sources': [
163 '<(SHARED_INTERMEDIATE_DIR)/include/login_manager/proto_bindings/arc.pb.cc',
Lutz Justen50b98972017-09-18 18:27:19 +0200164 '<(SHARED_INTERMEDIATE_DIR)/include/login_manager/proto_bindings/policy_descriptor.pb.cc',
Xiaohui Chen2a197092017-05-09 11:37:34 -0700165 ]
166 },
Eric Carusoce280bc2017-05-12 11:43:32 -0700167 {
168 'target_name': 'system_api-chaps-protos-gen',
169 'type': 'none',
170 'variables': {
171 'proto_in_dir': 'dbus/chaps',
172 'proto_out_dir': 'include/chaps/proto_bindings',
173 },
174 'sources': [
175 '<(proto_in_dir)/ck_structs.proto',
176 ],
177 'includes': ['../../platform2/common-mk/protoc.gypi'],
178 },
179 {
180 'target_name': 'system_api-chaps-protos',
181 'type': 'static_library',
Yunlian Jiang1e05a1a2017-05-15 11:25:51 -0700182 # system_api-chaps-protos' is used by a shared_library
183 # object, so we need to build it with '-fPIC' instead of '-fPIE'.
184 'cflags!': ['-fPIE'],
185 'cflags': ['-fPIC'],
Eric Carusoce280bc2017-05-12 11:43:32 -0700186 'standalone_static_library': 1,
187 'dependencies': [
188 'system_api-chaps-protos-gen',
189 ],
190 'sources': [
191 '<(SHARED_INTERMEDIATE_DIR)/include/chaps/proto_bindings/ck_structs.pb.cc',
192 ]
193 },
Allen Vicencio5fc40ab2017-10-25 19:17:41 -0700194 {
Luigi Semenzato98bc2a62018-09-21 18:10:53 -0700195 'target_name': 'system_api-metrics_event-protos-gen',
196 'type': 'none',
197 'variables': {
198 'proto_in_dir': 'dbus/metrics_event',
199 'proto_out_dir': 'include/metrics_event/proto_bindings',
200 },
201 'sources': [
202 '<(proto_in_dir)/metrics_event.proto',
203 ],
204 'includes': ['../../platform2/common-mk/protoc.gypi'],
205 },
206 {
207 'target_name': 'system_api-metrics_event-protos',
208 'type': 'static_library',
209 'standalone_static_library': 1,
210 'dependencies': [
211 'system_api-metrics_event-protos-gen',
212 ],
213 'sources': [
214 '<(SHARED_INTERMEDIATE_DIR)/include/metrics_event/proto_bindings/metrics_event.pb.cc',
215 ]
216 },
217 {
Allen Vicencio5fc40ab2017-10-25 19:17:41 -0700218 'target_name': 'system_api-smbprovider-protos-gen',
219 'type': 'none',
220 'variables': {
221 'proto_in_dir': 'dbus/smbprovider',
222 'proto_out_dir': 'include/smbprovider/proto_bindings',
223 },
224 'sources': [
225 '<(proto_in_dir)/directory_entry.proto',
226 ],
227 'includes': ['../../platform2/common-mk/protoc.gypi'],
228 },
229 {
230 'target_name': 'system_api-smbprovider-protos',
231 'type': 'static_library',
232 'standalone_static_library': 1,
233 'dependencies': [
234 'system_api-smbprovider-protos-gen',
235 ],
236 'sources': [
237 '<(SHARED_INTERMEDIATE_DIR)/include/smbprovider/proto_bindings/directory_entry.pb.cc',
238 ]
239 },
Chirantan Ekbote98245f62017-12-04 18:59:58 -0800240 {
Jeffrey Kardatzke55139d22018-05-22 16:21:56 -0700241 'target_name': 'system_api-vm_cicerone-protos-gen',
242 'type': 'none',
243 'variables': {
244 'proto_in_dir': 'dbus/vm_cicerone',
245 'proto_out_dir': 'include/vm_cicerone/proto_bindings',
246 },
247 'sources': [
248 '<(proto_in_dir)/cicerone_service.proto',
249 ],
250 'includes': ['../../platform2/common-mk/protoc.gypi'],
251 },
252 {
253 'target_name': 'system_api-vm_cicerone-goprotos-gen',
254 'type': 'none',
255 'variables': {
256 'gen_go': 1,
257 'proto_in_dir': 'dbus/vm_cicerone',
258 'proto_out_dir': 'go/src/chromiumos/system_api/vm_cicerone_proto',
259 },
260 'sources': [
261 '<(proto_in_dir)/cicerone_service.proto',
262 ],
263 'includes': ['../../platform2/common-mk/protoc.gypi'],
264 },
265 {
266 'target_name': 'system_api-vm_cicerone-protos',
267 'type': 'static_library',
268 'standalone_static_library': 1,
269 'dependencies': [
270 'system_api-vm_cicerone-protos-gen',
271 ],
272 'sources': [
273 '<(SHARED_INTERMEDIATE_DIR)/include/vm_cicerone/proto_bindings/cicerone_service.pb.cc',
274 ]
275 },
276 {
Chirantan Ekbote98245f62017-12-04 18:59:58 -0800277 'target_name': 'system_api-vm_concierge-protos-gen',
278 'type': 'none',
279 'variables': {
280 'proto_in_dir': 'dbus/vm_concierge',
281 'proto_out_dir': 'include/vm_concierge/proto_bindings',
282 },
283 'sources': [
284 '<(proto_in_dir)/service.proto',
285 ],
286 'includes': ['../../platform2/common-mk/protoc.gypi'],
287 },
288 {
Stephen Barber8d6a9e12018-03-26 23:43:41 -0700289 'target_name': 'system_api-vm_concierge-goprotos-gen',
290 'type': 'none',
291 'variables': {
292 'gen_go': 1,
293 'proto_in_dir': 'dbus/vm_concierge',
Stephen Barberd4a67e12018-05-21 14:03:30 -0700294 'proto_out_dir': 'go/src/chromiumos/system_api/vm_concierge_proto',
Stephen Barber8d6a9e12018-03-26 23:43:41 -0700295 },
296 'sources': [
297 '<(proto_in_dir)/service.proto',
298 ],
299 'includes': ['../../platform2/common-mk/protoc.gypi'],
300 },
301 {
Chirantan Ekbote98245f62017-12-04 18:59:58 -0800302 'target_name': 'system_api-vm_concierge-protos',
303 'type': 'static_library',
304 'standalone_static_library': 1,
305 'dependencies': [
306 'system_api-vm_concierge-protos-gen',
307 ],
308 'sources': [
309 '<(SHARED_INTERMEDIATE_DIR)/include/vm_concierge/proto_bindings/service.pb.cc',
310 ]
311 },
Claudio Mae0b0e52018-02-22 10:21:49 +1100312 {
Timothy Loh9c3e7ed2018-04-03 18:22:47 +1000313 'target_name': 'system_api-vm_applications-protos-gen',
314 'type': 'none',
315 'variables': {
316 'proto_in_dir': 'dbus/vm_applications',
317 'proto_out_dir': 'include/vm_applications/proto_bindings',
318 },
319 'sources': [
320 '<(proto_in_dir)/apps.proto',
321 ],
322 'includes': ['../../platform2/common-mk/protoc.gypi'],
323 },
324 {
325 'target_name': 'system_api-vm_applications-protos',
326 'type': 'static_library',
327 'standalone_static_library': 1,
328 'dependencies': [
329 'system_api-vm_applications-protos-gen',
330 ],
331 'sources': [
332 '<(SHARED_INTERMEDIATE_DIR)/include/vm_applications/proto_bindings/apps.pb.cc',
333 ]
334 },
Chirantan Ekbote13925e52018-06-08 16:25:46 -0700335 {
336 'target_name': 'system_api-seneschal-protos-gen',
337 'type': 'none',
338 'variables': {
339 'proto_in_dir': 'dbus/seneschal',
340 'proto_out_dir': 'include/seneschal/proto_bindings',
341 },
342 'sources': [
Chirantan Ekbotea6a1ab32018-08-07 17:53:35 -0700343 '<(proto_in_dir)/seneschal_service.proto',
Chirantan Ekbote13925e52018-06-08 16:25:46 -0700344 ],
345 'includes': ['../../platform2/common-mk/protoc.gypi'],
346 },
347 {
348 'target_name': 'system_api-seneschal-protos',
349 'type': 'static_library',
350 'standalone_static_library': 1,
351 'dependencies': [
352 'system_api-seneschal-protos-gen',
353 ],
354 'sources': [
Chirantan Ekbotea6a1ab32018-08-07 17:53:35 -0700355 '<(SHARED_INTERMEDIATE_DIR)/include/seneschal/proto_bindings/seneschal_service.pb.cc',
Chirantan Ekbote13925e52018-06-08 16:25:46 -0700356 ]
357 },
Zentaro Kavanagh326384d2018-08-30 11:50:28 -0700358 {
359 'target_name': 'system_api-oobe_config-protos-gen',
360 'type': 'none',
361 'variables': {
362 'proto_in_dir': 'dbus/oobe_config',
363 'proto_out_dir': 'include/oobe_config/proto_bindings',
364 },
365 'sources': [
366 '<(proto_in_dir)/oobe_config.proto',
367 ],
368 'includes': ['../../platform2/common-mk/protoc.gypi'],
369 },
370 {
371 'target_name': 'system_api-oobe_config-protos',
372 'type': 'static_library',
373 'standalone_static_library': 1,
374 'dependencies': [
375 'system_api-oobe_config-protos-gen',
376 ],
377 'sources': [
378 '<(SHARED_INTERMEDIATE_DIR)/include/oobe_config/proto_bindings/oobe_config.pb.cc',
379 ]
380 },
Andrew Moylana4736b52018-04-27 14:44:53 +1000381 ],
Liam McLoughlin0b1c15f2013-02-10 09:10:46 -0500382}