summaryrefslogtreecommitdiffstats
path: root/chromeos/chromeos.gyp
blob: e4281e741e1573b8594cf76318ec14b72512dd75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

{
  'variables': {
    'chromium_code': 1,
    # These files lists are shared with the GN build.
    'chromeos_sources': [
      'accelerometer/accelerometer_reader.cc',
      'accelerometer/accelerometer_reader.h',
      'accelerometer/accelerometer_types.cc',
      'accelerometer/accelerometer_types.h',
      'app_mode/kiosk_oem_manifest_parser.cc',
      'app_mode/kiosk_oem_manifest_parser.h',
      'attestation/attestation_constants.cc',
      'attestation/attestation_constants.h',
      'attestation/attestation_flow.cc',
      'attestation/attestation_flow.h',
      'audio/audio_device.cc',
      'audio/audio_device.h',
      'audio/audio_devices_pref_handler.h',
      'audio/audio_devices_pref_handler_impl.cc',
      'audio/audio_devices_pref_handler_impl.h',
      'audio/audio_devices_pref_handler_stub.cc',
      'audio/audio_devices_pref_handler_stub.h',
      'audio/audio_pref_observer.h',
      'audio/chromeos_sounds.h',
      'audio/cras_audio_handler.cc',
      'audio/cras_audio_handler.h',
      'binder/buffer_reader.cc',
      'binder/buffer_reader.h',
      'binder/command_broker.cc',
      'binder/command_broker.h',
      'binder/command_stream.cc',
      'binder/command_stream.h',
      'binder/constants.h',
      'binder/driver.cc',
      'binder/driver.h',
      'binder/ipc_thread.cc',
      'binder/ipc_thread.h',
      'binder/local_object.cc',
      'binder/local_object.h',
      'binder/object.h',
      'binder/remote_object.cc',
      'binder/remote_object.h',
      'binder/service_manager_proxy.cc',
      'binder/service_manager_proxy.h',
      'binder/status.h',
      'binder/transaction_data.h',
      'binder/transaction_data_from_driver.cc',
      'binder/transaction_data_from_driver.h',
      'binder/transaction_data_reader.cc',
      'binder/transaction_data_reader.h',
      'binder/transaction_status.cc',
      'binder/transaction_status.h',
      'binder/util.cc',
      'binder/util.h',
      'binder/writable_transaction_data.cc',
      'binder/writable_transaction_data.h',
      'cert_loader.cc',
      'cert_loader.h',
      'chromeos_constants.cc',
      'chromeos_constants.h',
      'chromeos_export.h',
      'chromeos_paths.cc',
      'chromeos_paths.h',
      'chromeos_pref_names.cc',
      'chromeos_pref_names.h',
      'chromeos_switches.cc',
      'chromeos_switches.h',
      'cryptohome/async_method_caller.cc',
      'cryptohome/async_method_caller.h',
      'cryptohome/cryptohome_parameters.cc',
      'cryptohome/cryptohome_parameters.h',
      'cryptohome/cryptohome_util.cc',
      'cryptohome/cryptohome_util.h',
      'cryptohome/homedir_methods.cc',
      'cryptohome/homedir_methods.h',
      'cryptohome/system_salt_getter.cc',
      'cryptohome/system_salt_getter.h',
      'dbus/amplifier_client.cc',
      'dbus/amplifier_client.h',
      'dbus/ap_manager_client.cc',
      'dbus/ap_manager_client.h',
      'dbus/audio_dsp_client.cc',
      'dbus/audio_dsp_client.h',
      'dbus/audio_node.cc',
      'dbus/audio_node.h',
      'dbus/blocking_method_caller.cc',
      'dbus/blocking_method_caller.h',
      'dbus/cras_audio_client.cc',
      'dbus/cras_audio_client.h',
      'dbus/cros_disks_client.cc',
      'dbus/cros_disks_client.h',
      'dbus/cryptohome_client.cc',
      'dbus/cryptohome_client.h',
      'dbus/dbus_client_bundle.cc',
      'dbus/dbus_client_bundle.h',
      'dbus/dbus_client_implementation_type.h',
      'dbus/dbus_method_call_status.cc',
      'dbus/dbus_method_call_status.h',
      'dbus/dbus_thread_manager.cc',
      'dbus/dbus_thread_manager.h',
      'dbus/debug_daemon_client.cc',
      'dbus/debug_daemon_client.h',
      'dbus/easy_unlock_client.cc',
      'dbus/easy_unlock_client.h',
      'dbus/fake_amplifier_client.cc',
      'dbus/fake_amplifier_client.h',
      'dbus/fake_ap_manager_client.cc',
      'dbus/fake_ap_manager_client.h',
      'dbus/fake_audio_dsp_client.cc',
      'dbus/fake_audio_dsp_client.h',
      'dbus/fake_cras_audio_client.cc',
      'dbus/fake_cras_audio_client.h',
      'dbus/fake_cros_disks_client.cc',
      'dbus/fake_cros_disks_client.h',
      'dbus/fake_cryptohome_client.cc',
      'dbus/fake_cryptohome_client.h',
      'dbus/fake_debug_daemon_client.cc',
      'dbus/fake_debug_daemon_client.h',
      'dbus/fake_easy_unlock_client.cc',
      'dbus/fake_easy_unlock_client.h',
      'dbus/fake_gsm_sms_client.cc',
      'dbus/fake_gsm_sms_client.h',
      'dbus/fake_image_burner_client.cc',
      'dbus/fake_image_burner_client.h',
      'dbus/fake_introspectable_client.cc',
      'dbus/fake_introspectable_client.h',
      'dbus/fake_lorgnette_manager_client.cc',
      'dbus/fake_lorgnette_manager_client.h',
      'dbus/fake_modem_messaging_client.cc',
      'dbus/fake_modem_messaging_client.h',
      'dbus/fake_nfc_adapter_client.cc',
      'dbus/fake_nfc_adapter_client.h',
      'dbus/fake_nfc_device_client.cc',
      'dbus/fake_nfc_device_client.h',
      'dbus/fake_nfc_manager_client.cc',
      'dbus/fake_nfc_manager_client.h',
      'dbus/fake_nfc_record_client.cc',
      'dbus/fake_nfc_record_client.h',
      'dbus/fake_nfc_tag_client.cc',
      'dbus/fake_nfc_tag_client.h',
      'dbus/fake_peer_daemon_manager_client.cc',
      'dbus/fake_peer_daemon_manager_client.h',
      'dbus/fake_permission_broker_client.cc',
      'dbus/fake_permission_broker_client.h',
      'dbus/fake_power_manager_client.cc',
      'dbus/fake_power_manager_client.h',
      'dbus/fake_privet_daemon_manager_client.cc',
      'dbus/fake_privet_daemon_manager_client.h',
      'dbus/fake_shill_device_client.cc',
      'dbus/fake_shill_device_client.h',
      'dbus/fake_shill_ipconfig_client.cc',
      'dbus/fake_shill_ipconfig_client.h',
      'dbus/fake_shill_manager_client.cc',
      'dbus/fake_shill_manager_client.h',
      'dbus/fake_shill_profile_client.cc',
      'dbus/fake_shill_profile_client.h',
      'dbus/fake_shill_service_client.cc',
      'dbus/fake_shill_service_client.h',
      'dbus/fake_shill_third_party_vpn_driver_client.cc',
      'dbus/fake_shill_third_party_vpn_driver_client.h',
      'dbus/fake_sms_client.cc',
      'dbus/fake_sms_client.h',
      'dbus/fake_system_clock_client.cc',
      'dbus/fake_system_clock_client.h',
      'dbus/gsm_sms_client.cc',
      'dbus/gsm_sms_client.h',
      'dbus/image_burner_client.cc',
      'dbus/image_burner_client.h',
      'dbus/introspectable_client.cc',
      'dbus/introspectable_client.h',
      'dbus/lorgnette_manager_client.cc',
      'dbus/lorgnette_manager_client.h',
      'dbus/modem_messaging_client.cc',
      'dbus/modem_messaging_client.h',
      'dbus/nfc_adapter_client.cc',
      'dbus/nfc_adapter_client.h',
      'dbus/nfc_client_helpers.cc',
      'dbus/nfc_client_helpers.h',
      'dbus/nfc_device_client.cc',
      'dbus/nfc_device_client.h',
      'dbus/nfc_manager_client.cc',
      'dbus/nfc_manager_client.h',
      'dbus/nfc_property_set.cc',
      'dbus/nfc_property_set.h',
      'dbus/nfc_record_client.cc',
      'dbus/nfc_record_client.h',
      'dbus/nfc_tag_client.cc',
      'dbus/nfc_tag_client.h',
      'dbus/peer_daemon_manager_client.cc',
      'dbus/peer_daemon_manager_client.h',
      'dbus/permission_broker_client.cc',
      'dbus/permission_broker_client.h',
      'dbus/pipe_reader.cc',
      'dbus/pipe_reader.h',
      'dbus/power_manager_client.cc',
      'dbus/power_manager_client.h',
      'dbus/power_policy_controller.cc',
      'dbus/power_policy_controller.h',
      'dbus/privet_daemon_manager_client.cc',
      'dbus/privet_daemon_manager_client.h',
      'dbus/services/console_service_provider.cc',
      'dbus/services/console_service_provider.h',
      'dbus/services/cros_dbus_service.cc',
      'dbus/services/cros_dbus_service.h',
      'dbus/services/display_power_service_provider.cc',
      'dbus/services/display_power_service_provider.h',
      'dbus/services/liveness_service_provider.cc',
      'dbus/services/liveness_service_provider.h',
      'dbus/services/proxy_resolution_service_provider.cc',
      'dbus/services/proxy_resolution_service_provider.h',
      'dbus/session_manager_client.cc',
      'dbus/session_manager_client.h',
      'dbus/shill_client_helper.cc',
      'dbus/shill_client_helper.h',
      'dbus/shill_device_client.cc',
      'dbus/shill_device_client.h',
      'dbus/shill_ipconfig_client.cc',
      'dbus/shill_ipconfig_client.h',
      'dbus/shill_manager_client.cc',
      'dbus/shill_manager_client.h',
      'dbus/shill_profile_client.cc',
      'dbus/shill_profile_client.h',
      'dbus/shill_service_client.cc',
      'dbus/shill_service_client.h',
      'dbus/shill_third_party_vpn_driver_client.cc',
      'dbus/shill_third_party_vpn_driver_client.h',
      'dbus/sms_client.cc',
      'dbus/sms_client.h',
      'dbus/system_clock_client.cc',
      'dbus/system_clock_client.h',
      'dbus/update_engine_client.cc',
      'dbus/update_engine_client.h',
      'dbus/volume_state.cc',
      'dbus/volume_state.h',
      'disks/disk_mount_manager.cc',
      'disks/disk_mount_manager.h',
      'disks/suspend_unmount_manager.cc',
      'disks/suspend_unmount_manager.h',
      'geolocation/geoposition.cc',
      'geolocation/geoposition.h',
      'geolocation/simple_geolocation_provider.cc',
      'geolocation/simple_geolocation_provider.h',
      'geolocation/simple_geolocation_request.cc',
      'geolocation/simple_geolocation_request.h',
      'hugepage_text/hugepage_text.cc',
      'hugepage_text/hugepage_text.h',
      'login/auth/auth_attempt_state.cc',
      'login/auth/auth_attempt_state.h',
      'login/auth/auth_attempt_state_resolver.cc',
      'login/auth/auth_attempt_state_resolver.h',
      'login/auth/auth_status_consumer.cc',
      'login/auth/auth_status_consumer.h',
      'login/auth/authenticator.cc',
      'login/auth/authenticator.h',
      'login/auth/cryptohome_authenticator.cc',
      'login/auth/cryptohome_authenticator.h',
      'login/auth/extended_authenticator.cc',
      'login/auth/extended_authenticator.h',
      'login/auth/extended_authenticator_impl.cc',
      'login/auth/extended_authenticator_impl.h',
      'login/auth/key.cc',
      'login/auth/key.h',
      'login/auth/login_performer.cc',
      'login/auth/login_performer.h',
      'login/auth/stub_authenticator.cc',
      'login/auth/stub_authenticator.h',
      'login/auth/test_attempt_state.cc',
      'login/auth/test_attempt_state.h',
      'login/auth/user_context.cc',
      'login/auth/user_context.h',
      'login/login_state.cc',
      'login/login_state.h',
      'login/user_names.cc',
      'login/user_names.h',
      'login_event_recorder.cc',
      'login_event_recorder.h',
      'network/auto_connect_handler.cc',
      'network/auto_connect_handler.h',
      'network/certificate_pattern.cc',
      'network/certificate_pattern.h',
      'network/client_cert_resolver.cc',
      'network/client_cert_resolver.h',
      'network/client_cert_util.cc',
      'network/client_cert_util.h',
      'network/device_state.cc',
      'network/device_state.h',
      'network/dhcp_proxy_script_fetcher_chromeos.cc',
      'network/dhcp_proxy_script_fetcher_chromeos.h',
      'network/firewall_hole.cc',
      'network/firewall_hole.h',
      'network/geolocation_handler.cc',
      'network/geolocation_handler.h',
      'network/host_resolver_impl_chromeos.cc',
      'network/host_resolver_impl_chromeos.h',
      'network/managed_network_configuration_handler.cc',
      'network/managed_network_configuration_handler.h',
      'network/managed_network_configuration_handler_impl.cc',
      'network/managed_network_configuration_handler_impl.h',
      'network/managed_state.cc',
      'network/managed_state.h',
      'network/network_activation_handler.cc',
      'network/network_activation_handler.h',
      'network/network_cert_migrator.cc',
      'network/network_cert_migrator.h',
      'network/network_change_notifier_chromeos.cc',
      'network/network_change_notifier_chromeos.h',
      'network/network_change_notifier_factory_chromeos.cc',
      'network/network_change_notifier_factory_chromeos.h',
      'network/network_configuration_handler.cc',
      'network/network_configuration_handler.h',
      'network/network_configuration_observer.h',
      'network/network_connection_handler.cc',
      'network/network_connection_handler.h',
      'network/network_connection_observer.cc',
      'network/network_connection_observer.h',
      'network/network_device_handler.cc',
      'network/network_device_handler.h',
      'network/network_device_handler_impl.cc',
      'network/network_device_handler_impl.h',
      'network/network_event_log.h',
      'network/network_handler.cc',
      'network/network_handler.h',
      'network/network_handler_callbacks.cc',
      'network/network_handler_callbacks.h',
      'network/network_ip_config.cc',
      'network/network_ip_config.h',
      'network/network_profile.cc',
      'network/network_profile.h',
      'network/network_profile_handler.cc',
      'network/network_profile_handler.h',
      'network/network_profile_observer.h',
      'network/network_sms_handler.cc',
      'network/network_sms_handler.h',
      'network/network_state.cc',
      'network/network_state.h',
      'network/network_state_handler.cc',
      'network/network_state_handler.h',
      'network/network_state_handler_observer.cc',
      'network/network_state_handler_observer.h',
      'network/network_type_pattern.cc',
      'network/network_type_pattern.h',
      'network/network_ui_data.cc',
      'network/network_ui_data.h',
      'network/network_util.cc',
      'network/network_util.h',
      'network/onc/onc_certificate_importer.h',
      'network/onc/onc_certificate_importer_impl.cc',
      'network/onc/onc_certificate_importer_impl.h',
      'network/onc/onc_mapper.cc',
      'network/onc/onc_mapper.h',
      'network/onc/onc_merger.cc',
      'network/onc/onc_merger.h',
      'network/onc/onc_normalizer.cc',
      'network/onc/onc_normalizer.h',
      'network/onc/onc_signature.cc',
      'network/onc/onc_signature.h',
      'network/onc/onc_translation_tables.cc',
      'network/onc/onc_translation_tables.h',
      'network/onc/onc_translator.h',
      'network/onc/onc_translator_onc_to_shill.cc',
      'network/onc/onc_translator_shill_to_onc.cc',
      'network/onc/onc_utils.cc',
      'network/onc/onc_utils.h',
      'network/onc/onc_validator.cc',
      'network/onc/onc_validator.h',
      'network/policy_applicator.cc',
      'network/policy_applicator.h',
      'network/policy_util.cc',
      'network/policy_util.h',
      'network/portal_detector/network_portal_detector.cc',
      'network/portal_detector/network_portal_detector.h',
      'network/portal_detector/network_portal_detector_strategy.cc',
      'network/portal_detector/network_portal_detector_strategy.h',
      'network/portal_detector/network_portal_detector_stub.cc',
      'network/portal_detector/network_portal_detector_stub.h',
      'network/prohibited_technologies_handler.cc',
      'network/prohibited_technologies_handler.h',
      'network/shill_property_handler.cc',
      'network/shill_property_handler.h',
      'network/shill_property_util.cc',
      'network/shill_property_util.h',
      'process_proxy/process_output_watcher.cc',
      'process_proxy/process_output_watcher.h',
      'process_proxy/process_proxy.cc',
      'process_proxy/process_proxy.h',
      'process_proxy/process_proxy_registry.cc',
      'process_proxy/process_proxy_registry.h',
      'settings/cros_settings_names.cc',
      'settings/cros_settings_names.h',
      'settings/cros_settings_provider.cc',
      'settings/cros_settings_provider.h',
      'settings/timezone_settings.cc',
      'settings/timezone_settings.h',
      'settings/timezone_settings_helper.cc',
      'settings/timezone_settings_helper.h',
      'system/devicetype.cc',
      'system/devicetype.h',
      'system/name_value_pairs_parser.cc',
      'system/name_value_pairs_parser.h',
      'system/statistics_provider.cc',
      'system/statistics_provider.h',
      'system/version_loader.cc',
      'system/version_loader.h',
      'timezone/timezone_provider.cc',
      'timezone/timezone_provider.h',
      'timezone/timezone_request.cc',
      'timezone/timezone_request.h',
      'timezone/timezone_resolver.cc',
      'timezone/timezone_resolver.h',
      'tpm/tpm_password_fetcher.cc',
      'tpm/tpm_password_fetcher.h',
      'tpm/tpm_token_info_getter.cc',
      'tpm/tpm_token_info_getter.h',
      'tpm/tpm_token_loader.cc',
      'tpm/tpm_token_loader.h'
    ],
    'chromeos_binder_test_sources': [
      'binder/buffer_reader_unittest.cc',
      'binder/command_broker_unittest.cc',
      'binder/command_stream_unittest.cc',
      'binder/driver_unittest.cc',
      'binder/end_to_end_unittest.cc',
      'binder/service_manager_proxy_unittest.cc',
      'binder/test_service.cc',
      'binder/test_service.h',
      'binder/transaction_data_read_write_unittest.cc',
    ],
    'chromeos_test_sources': [
      'app_mode/kiosk_oem_manifest_parser_unittest.cc',
      'attestation/attestation_flow_unittest.cc',
      'audio/audio_devices_pref_handler_impl_unittest.cc',
      'audio/cras_audio_handler_unittest.cc',
      'cert_loader_unittest.cc',
      'cryptohome/homedir_methods_unittest.cc',
      'cryptohome/system_salt_getter_unittest.cc',
      'dbus/blocking_method_caller_unittest.cc',
      'dbus/cros_disks_client_unittest.cc',
      'dbus/dbus_client_bundle_unittest.cc',
      'dbus/fake_easy_unlock_client_unittest.cc',
      'dbus/fake_power_manager_client_unittest.cc',
      'dbus/gsm_sms_client_unittest.cc',
      'dbus/introspectable_client_unittest.cc',
      'dbus/modem_messaging_client_unittest.cc',
      'dbus/nfc_client_unittest.cc',
      'dbus/power_policy_controller_unittest.cc',
      'dbus/privet_daemon_manager_client_unittest.cc',
      'dbus/services/cros_dbus_service_unittest.cc',
      'dbus/services/proxy_resolution_service_provider_unittest.cc',
      'dbus/shill_client_unittest_base.cc',
      'dbus/shill_client_unittest_base.h',
      'dbus/shill_device_client_unittest.cc',
      'dbus/shill_ipconfig_client_unittest.cc',
      'dbus/shill_manager_client_unittest.cc',
      'dbus/shill_profile_client_unittest.cc',
      'dbus/shill_service_client_unittest.cc',
      'dbus/shill_third_party_vpn_driver_client_unittest.cc',
      'disks/disk_mount_manager_unittest.cc',
      'disks/suspend_unmount_manager_unittest.cc',
      'geolocation/simple_geolocation_unittest.cc',
      'login/auth/key_unittest.cc',
      'login/login_state_unittest.cc',
      'network/auto_connect_handler_unittest.cc',
      'network/client_cert_resolver_unittest.cc',
      'network/firewall_hole_unittest.cc',
      'network/geolocation_handler_unittest.cc',
      'network/host_resolver_impl_chromeos_unittest.cc',
      'network/managed_network_configuration_handler_unittest.cc',
      'network/network_cert_migrator_unittest.cc',
      'network/network_change_notifier_chromeos_unittest.cc',
      'network/network_configuration_handler_unittest.cc',
      'network/network_connection_handler_unittest.cc',
      'network/network_device_handler_unittest.cc',
      'network/network_sms_handler_unittest.cc',
      'network/network_state_handler_unittest.cc',
      'network/network_state_unittest.cc',
      'network/network_type_pattern_unittest.cc',
      'network/network_ui_data_unittest.cc',
      'network/network_util_unittest.cc',
      'network/onc/onc_certificate_importer_impl_unittest.cc',
      'network/onc/onc_merger_unittest.cc',
      'network/onc/onc_normalizer_unittest.cc',
      'network/onc/onc_translator_unittest.cc',
      'network/onc/onc_utils_unittest.cc',
      'network/onc/onc_validator_unittest.cc',
      'network/prohibited_technologies_handler_unittest.cc',
      'network/shill_property_handler_unittest.cc',
      'process_proxy/process_output_watcher_unittest.cc',
      'process_proxy/process_proxy_unittest.cc',
      'settings/timezone_settings_unittest.cc',
      'system/name_value_pairs_parser_unittest.cc',
      'system/version_loader_unittest.cc',
      'timezone/timezone_unittest.cc',
      'tpm/tpm_token_info_getter_unittest.cc',
    ],
    'use_binder%': 0,
  },
  'includes': [
    'chromeos_tools.gypi'
  ],
  'targets': [
    {
      # GN version: //chromeos
      'target_name': 'chromeos',
      'type': '<(component)',
      'dependencies': [
        '../base/base.gyp:base',
        '../base/base.gyp:base_i18n',
        '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
        '../build/linux/system.gyp:dbus',
        '../build/linux/system.gyp:ssl',
        '../components/components.gyp:cloud_policy_proto',
        '../components/components.gyp:device_event_log_component',
        '../components/components.gyp:onc_component',
        '../components/components.gyp:proxy_config',
        '../components/components.gyp:user_manager',
        '../components/components.gyp:signin_core_account_id',
        '../components/prefs/prefs.gyp:prefs',
        '../crypto/crypto.gyp:crypto',
        '../dbus/dbus.gyp:dbus',
        '../google_apis/google_apis.gyp:google_apis',
        '../net/net.gyp:net',
        '../third_party/icu/icu.gyp:icui18n',
        '../third_party/libxml/libxml.gyp:libxml',
        '../third_party/protobuf/protobuf.gyp:protobuf_lite',
        '../url/url.gyp:url_lib',
        'cryptohome_proto',
        'power_manager_proto',
      ],
      'defines': [
        'CHROMEOS_IMPLEMENTATION',
      ],
      'sources': [ '<@(chromeos_sources)' ],
      'conditions': [
        ['target_arch == "arm" or target_arch == "ia32"', {
          'defines': [
            'BINDER_IPC_32BIT',
          ],
        }],
      ],
    },
    {
      # GN version: //chromeos:test_support
      # This target contains mocks that can be used to write unit tests.
      'target_name': 'chromeos_test_support',
      'type': 'static_library',
      'dependencies': [
        '../build/linux/system.gyp:dbus',
	'../google_apis/google_apis.gyp:google_apis_test_support',
        '../testing/gmock.gyp:gmock',
        'chromeos',
        'chromeos_test_support_without_gmock',
        'cryptohome_proto',
        'power_manager_proto',
      ],
      # If you edit the file list of this target, please edit BUILD.gn as well.
      'sources': [
        'attestation/mock_attestation_flow.cc',
        'attestation/mock_attestation_flow.h',
        'chromeos_test_utils.cc',
        'chromeos_test_utils.h',
        'cryptohome/mock_async_method_caller.cc',
        'cryptohome/mock_async_method_caller.h',
        'cryptohome/mock_homedir_methods.cc',
        'cryptohome/mock_homedir_methods.h',
        'dbus/mock_cryptohome_client.cc',
        'dbus/mock_cryptohome_client.h',
        'dbus/mock_lorgnette_manager_client.cc',
        'dbus/mock_lorgnette_manager_client.h',
        'dbus/mock_permission_broker_client.cc',
        'dbus/mock_permission_broker_client.h',
        'dbus/mock_session_manager_client.cc',
        'dbus/mock_session_manager_client.h',
        'dbus/mock_shill_manager_client.cc',
        'dbus/mock_shill_manager_client.h',
        'dbus/mock_shill_profile_client.cc',
        'dbus/mock_shill_profile_client.h',
        'dbus/mock_shill_service_client.cc',
        'dbus/mock_shill_service_client.h',
        'dbus/services/service_provider_test_helper.cc',
        'dbus/services/service_provider_test_helper.h',
        'disks/mock_disk_mount_manager.cc',
        'disks/mock_disk_mount_manager.h',
        'geolocation/simple_geolocation_request_test_monitor.cc',
        'geolocation/simple_geolocation_request_test_monitor.h',
        'login/auth/fake_extended_authenticator.cc',
        'login/auth/fake_extended_authenticator.h',
        'login/auth/mock_auth_attempt_state_resolver.cc',
        'login/auth/mock_auth_attempt_state_resolver.h',
        'login/auth/mock_auth_status_consumer.cc',
        'login/auth/mock_auth_status_consumer.h',
        'login/auth/mock_url_fetchers.cc',
        'login/auth/mock_url_fetchers.h',
        'network/fake_network_device_handler.cc',
        'network/fake_network_device_handler.h',
        'network/mock_managed_network_configuration_handler.cc',
        'network/mock_managed_network_configuration_handler.h',
        'network/onc/onc_test_utils.cc',
        'network/onc/onc_test_utils.h',
        'system/fake_statistics_provider.cc',
        'system/fake_statistics_provider.h',
      ],
      'include_dirs': [
        '..',
      ],
    },
    {
      # GN version: //chromeos:test_support_without_gmock
      'target_name': 'chromeos_test_support_without_gmock',
      'type': 'static_library',
      'export_dependent_settings': [
        'power_manager_proto',
      ],
      'dependencies': [
        '../build/linux/system.gyp:dbus',
        '../crypto/crypto.gyp:crypto',
        '../dbus/dbus.gyp:dbus',
        'chromeos',
        'cryptohome_proto',
        'power_manager_proto',
      ],
      # If you edit the file list of this target, please edit BUILD.gn as well.
      'sources': [
        'dbus/fake_session_manager_client.cc',
        'dbus/fake_session_manager_client.h',
        'dbus/fake_shill_manager_client.cc',
        'dbus/fake_shill_manager_client.h',
        'dbus/fake_update_engine_client.cc',
        'dbus/fake_update_engine_client.h',
      ],
      'include_dirs': [
        '..',
      ],
    },
    {
      # GN version: //chromeos:chromeos_unittests
      'target_name': 'chromeos_unittests',
      'type': 'executable',
      'dependencies': [
        '../base/base.gyp:run_all_unittests',
        '../base/base.gyp:test_support_base',
        '../build/linux/system.gyp:dbus',
        '../build/linux/system.gyp:ssl',
        '../components/components.gyp:onc_component',
        '../components/components.gyp:proxy_config',
        '../components/components.gyp:signin_core_account_id',
        '../components/prefs/prefs.gyp:prefs_test_support',
        '../crypto/crypto.gyp:crypto',
        '../crypto/crypto.gyp:crypto_test_support',
        '../dbus/dbus.gyp:dbus_test_support',
        '../google_apis/google_apis.gyp:google_apis',
        '../net/net.gyp:net',
        '../net/net.gyp:net_test_support',
        '../testing/gmock.gyp:gmock',
        '../testing/gtest.gyp:gtest',
        '../third_party/icu/icu.gyp:icuuc',
        '../third_party/icu/icu.gyp:icui18n',
        '../url/url.gyp:url_lib',
        'chromeos_test_support',
        'cryptohome_proto',
        'power_manager_proto',
      ],
      'sources': [ '<@(chromeos_test_sources)' ],
      'include_dirs': [
        '..',
      ],
      'conditions': [
        ['use_binder == 1', {
          'sources': [ '<@(chromeos_binder_test_sources)' ],
          'conditions': [
            ['target_arch == "arm" or target_arch == "ia32"', {
              'defines': [
                'BINDER_IPC_32BIT',
              ],
            }],
          ],
        }],
      ],
    },
    {
      # GN version: //chromeos:power_manager_proto
      # Protobuf compiler/generator for power-manager related protocol buffers.
      'target_name': 'power_manager_proto',
      'type': 'static_library',
      'sources': [
        '../third_party/cros_system_api/dbus/power_manager/input_event.proto',
        '../third_party/cros_system_api/dbus/power_manager/peripheral_battery_status.proto',
        '../third_party/cros_system_api/dbus/power_manager/policy.proto',
        '../third_party/cros_system_api/dbus/power_manager/power_supply_properties.proto',
        '../third_party/cros_system_api/dbus/power_manager/suspend.proto',
      ],
      'variables': {
        'proto_in_dir': '../third_party/cros_system_api/dbus/power_manager',
        'proto_out_dir': 'chromeos/dbus/power_manager',
      },
      'includes': ['../build/protoc.gypi'],
    },
    {
      # GN version: //chromeos:cryptohome_proto
      # Protobuf compiler/generator for cryptohome related protocol buffers.
      'target_name': 'cryptohome_proto',
      'type': 'static_library',
      'sources': [
        '../third_party/cros_system_api/dbus/cryptohome/key.proto',
        '../third_party/cros_system_api/dbus/cryptohome/rpc.proto',
      ],
      'variables': {
        'proto_in_dir': '../third_party/cros_system_api/dbus/cryptohome',
        'proto_out_dir': 'chromeos/dbus/cryptohome',
      },
      'includes': ['../build/protoc.gypi'],
    },
    {
      # GN version: //chromeos:cryptohome_signkey_proto
      # Protobuf compiler/generator for cryptohome key signing protocol buffer.
      'target_name': 'cryptohome_signkey_proto',
      'type': 'static_library',
      'sources': [
        '../third_party/cros_system_api/dbus/cryptohome/signed_secret.proto',
      ],
      'variables': {
        'proto_in_dir': '../third_party/cros_system_api/dbus/cryptohome',
        'proto_out_dir': 'chromeos/cryptohome',
      },
      'includes': ['../build/protoc.gypi'],
    },
  ],
  'conditions': [
    ['test_isolation_mode != "noop"', {
      'targets': [
        {
          'target_name': 'chromeos_unittests_run',
          'type': 'none',
          'dependencies': [
            'chromeos_unittests',
          ],
          'includes': [
            '../build/isolate.gypi',
          ],
          'sources': [
            'chromeos_unittests.isolate',
          ],
        },
      ],
    }],
  ],
}