• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1{
2  'targets': [
3    {
4      'target_name': 'system_api-protos-gen',
5      'type': 'none',
6      'variables': {
7        'proto_in_dir': 'dbus',
8        'proto_out_dir': 'include/system_api/proto_bindings',
9      },
10      'sources': [
11        '<(proto_in_dir)/mtp_storage_info.proto',
12        '<(proto_in_dir)/mtp_file_entry.proto',
13        '<(proto_in_dir)/field_trial_list.proto',
14      ],
15      'includes': ['../../platform2/common-mk/protoc.gypi'],
16    },
17    {
18      'target_name': 'system_api-protos',
19      'type': 'static_library',
20      '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',
33      'variables': {
34        'proto_in_dir': 'dbus/power_manager',
35        'proto_out_dir': 'include/power_manager/proto_bindings',
36      },
37      'sources': [
38        '<(proto_in_dir)/backlight.proto',
39        '<(proto_in_dir)/idle.proto',
40        '<(proto_in_dir)/input_event.proto',
41        '<(proto_in_dir)/peripheral_battery_status.proto',
42        '<(proto_in_dir)/policy.proto',
43        '<(proto_in_dir)/power_supply_properties.proto',
44        '<(proto_in_dir)/suspend.proto',
45        '<(proto_in_dir)/switch_states.proto',
46      ],
47      'includes': ['../../platform2/common-mk/protoc.gypi'],
48    },
49    {
50      'target_name': 'system_api-power_manager-protos',
51      'type': 'static_library',
52      'standalone_static_library': 1,
53      'dependencies': [
54        'system_api-power_manager-protos-gen',
55      ],
56      'sources': [
57        '<(SHARED_INTERMEDIATE_DIR)/include/power_manager/proto_bindings/backlight.pb.cc',
58        '<(SHARED_INTERMEDIATE_DIR)/include/power_manager/proto_bindings/idle.pb.cc',
59        '<(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',
63        '<(SHARED_INTERMEDIATE_DIR)/include/power_manager/proto_bindings/suspend.pb.cc',
64        '<(SHARED_INTERMEDIATE_DIR)/include/power_manager/proto_bindings/switch_states.pb.cc',
65      ]
66    },
67    {
68      'target_name': 'system_api-cryptohome-protos-gen',
69      'type': 'none',
70      'variables': {
71        'proto_in_dir': 'dbus/cryptohome',
72        'proto_out_dir': 'include/cryptohome/proto_bindings',
73      },
74      'sources': [
75        '<(proto_in_dir)/key.proto',
76        '<(proto_in_dir)/rpc.proto',
77        '<(proto_in_dir)/signed_secret.proto',
78      ],
79      'includes': ['../../platform2/common-mk/protoc.gypi'],
80    },
81    {
82      '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',
92      ]
93    },
94    {
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': [
102        '<(proto_in_dir)/active_directory_info.proto',
103      ],
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': [
114        '<(SHARED_INTERMEDIATE_DIR)/include/authpolicy/proto_bindings/active_directory_info.pb.cc',
115      ]
116    },
117    {
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    },
142    {
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',
151        '<(proto_in_dir)/policy_descriptor.proto',
152      ],
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',
164        '<(SHARED_INTERMEDIATE_DIR)/include/login_manager/proto_bindings/policy_descriptor.pb.cc',
165      ]
166    },
167    {
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',
182      # 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'],
186      '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    },
194    {
195      '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    {
218      '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    },
240    {
241      '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    {
277      '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    {
289      'target_name': 'system_api-vm_concierge-goprotos-gen',
290      'type': 'none',
291      'variables': {
292        'gen_go': 1,
293        'proto_in_dir': 'dbus/vm_concierge',
294        'proto_out_dir': 'go/src/chromiumos/system_api/vm_concierge_proto',
295      },
296      'sources': [
297        '<(proto_in_dir)/service.proto',
298      ],
299      'includes': ['../../platform2/common-mk/protoc.gypi'],
300    },
301    {
302      '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    },
312    {
313      '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    },
335    {
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': [
343        '<(proto_in_dir)/seneschal_service.proto',
344      ],
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': [
355        '<(SHARED_INTERMEDIATE_DIR)/include/seneschal/proto_bindings/seneschal_service.pb.cc',
356      ]
357    },
358    {
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    },
381  ],
382}
383