summaryrefslogtreecommitdiffstats
path: root/ash/ash.gyp
blob: 690605f035a6abc184c0c47bff9e4edd1eda0096 (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
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
# 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,
    'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome',
  },
  'includes': [
    'ash_resources.gypi',
  ],
  'targets': [
    {
      'target_name': 'ash',
      'type': '<(component)',
      'dependencies': [
        '../base/base.gyp:base',
        '../base/base.gyp:base_i18n',
        '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
        '../cc/cc.gyp:cc',
        '../content/content.gyp:content_browser',
        '../media/media.gyp:media',
        '../net/net.gyp:net',
        '../skia/skia.gyp:skia',
        '../third_party/icu/icu.gyp:icui18n',
        '../third_party/icu/icu.gyp:icuuc',
        '../ui/accessibility/accessibility.gyp:accessibility',
        '../ui/app_list/app_list.gyp:app_list',
        '../ui/aura/aura.gyp:aura',
        '../ui/base/strings/ui_strings.gyp:ui_strings',
        '../ui/base/ui_base.gyp:ui_base',
        '../ui/compositor/compositor.gyp:compositor',
        '../ui/events/events.gyp:events',
        '../ui/events/events.gyp:events_base',
        '../ui/gfx/gfx.gyp:gfx',
        '../ui/gfx/gfx.gyp:gfx_geometry',
        '../ui/keyboard/keyboard.gyp:keyboard',
        '../ui/message_center/message_center.gyp:message_center',
        '../ui/resources/ui_resources.gyp:ui_resources',
        '../ui/views/controls/webview/webview.gyp:webview',
        '../ui/views/views.gyp:views',
        '../ui/web_dialogs/web_dialogs.gyp:web_dialogs',
        '../ui/wm/wm.gyp:wm',
        '../url/url.gyp:url_lib',
        'ash_strings.gyp:ash_strings',
        'ash_resources',
      ],
      'defines': [
        'ASH_IMPLEMENTATION',
      ],
      'sources': [
        # All .cc, .h under ash, except unittests
        'accelerators/accelerator_commands.cc',
        'accelerators/accelerator_commands.h',
        'accelerators/accelerator_controller.cc',
        'accelerators/accelerator_controller.h',
        'accelerators/accelerator_dispatcher.cc',
        'accelerators/accelerator_dispatcher.h',
        'accelerators/accelerator_dispatcher_linux.cc',
        'accelerators/accelerator_dispatcher_win.cc',
        'accelerators/accelerator_filter.cc',
        'accelerators/accelerator_filter.h',
        'accelerators/accelerator_table.cc',
        'accelerators/accelerator_table.h',
        'accelerators/debug_commands.cc',
        'accelerators/debug_commands.h',
        'accelerators/exit_warning_handler.cc',
        'accelerators/exit_warning_handler.h',
        'accelerators/key_hold_detector.cc',
        'accelerators/key_hold_detector.h',
        'accelerators/focus_manager_factory.cc',
        'accelerators/focus_manager_factory.h',
        'accelerators/magnifier_key_scroller.cc',
        'accelerators/magnifier_key_scroller.h',
        'accelerators/nested_dispatcher_controller.cc',
        'accelerators/nested_dispatcher_controller.h',
        'accelerators/spoken_feedback_toggler.cc',
        'accelerators/spoken_feedback_toggler.h',
        'accelerometer/accelerometer_controller.cc',
        'accelerometer/accelerometer_controller.h',
        'accelerometer/accelerometer_observer.h',
        'accessibility_delegate.h',
        'audio/sounds.cc',
        'audio/sounds.h',
        'autoclick/autoclick_controller.cc',
        'autoclick/autoclick_controller.h',
        'ash_constants.cc',
        'ash_constants.h',
        'ash_switches.cc',
        'ash_switches.h',
        'cancel_mode.cc',
        'cancel_mode.h',
        'debug.cc',
        'debug.h',
        'default_accessibility_delegate.cc',
        'default_accessibility_delegate.h',
        'default_user_wallpaper_delegate.cc',
        'default_user_wallpaper_delegate.h',
        'desktop_background/desktop_background_controller.cc',
        'desktop_background/desktop_background_controller.h',
        'desktop_background/desktop_background_controller_observer.h',
        'desktop_background/desktop_background_view.cc',
        'desktop_background/desktop_background_view.h',
        'desktop_background/desktop_background_widget_controller.cc',
        'desktop_background/desktop_background_widget_controller.h',
        'desktop_background/user_wallpaper_delegate.h',
        'desktop_background/wallpaper_resizer.cc',
        'desktop_background/wallpaper_resizer.h',
        'desktop_background/wallpaper_resizer_observer.h',
        'display/cursor_window_controller.cc',
        'display/cursor_window_controller.h',
        'display/display_change_observer_chromeos.cc',
        'display/display_change_observer_chromeos.h',
        'display/display_controller.cc',
        'display/display_controller.h',
        'display/display_error_observer_chromeos.cc',
        'display/display_error_observer_chromeos.h',
        'display/display_info.h',
        'display/display_info.cc',
        'display/display_layout.h',
        'display/display_layout.cc',
        'display/display_layout_store.h',
        'display/display_layout_store.cc',
        'display/display_manager.cc',
        'display/display_manager.h',
        'display/display_pref_util.h',
        'display/event_transformation_handler.cc',
        'display/event_transformation_handler.h',
        'display/mirror_window_controller.cc',
        'display/mirror_window_controller.h',
        'display/mouse_cursor_event_filter.cc',
        'display/mouse_cursor_event_filter.h',
        'display/output_configurator_animation.cc',
        'display/output_configurator_animation.h',
        'display/projecting_observer_chromeos.cc',
        'display/projecting_observer_chromeos.h',
        'display/resolution_notification_controller.cc',
        'display/resolution_notification_controller.h',
        'display/root_window_transformers.cc',
        'display/root_window_transformers.h',
        'display/screen_ash.cc',
        'display/screen_ash.h',
        'display/screen_position_controller.cc',
        'display/screen_position_controller.h',
        'display/shared_display_edge_indicator.cc',
        'display/shared_display_edge_indicator.h',
        'display/virtual_keyboard_window_controller.cc',
        'display/virtual_keyboard_window_controller.h',
        'drag_drop/drag_drop_controller.cc',
        'drag_drop/drag_drop_controller.h',
        'drag_drop/drag_drop_tracker.cc',
        'drag_drop/drag_drop_tracker.h',
        'drag_drop/drag_image_view.cc',
        'drag_drop/drag_image_view.h',
        'first_run/desktop_cleaner.cc',
        'first_run/desktop_cleaner.h',
        'first_run/first_run_helper.cc',
        'first_run/first_run_helper.h',
        'first_run/first_run_helper_impl.cc',
        'first_run/first_run_helper_impl.h',
        'focus_cycler.cc',
        'focus_cycler.h',
        'frame/caption_buttons/alternate_frame_size_button.cc',
        'frame/caption_buttons/alternate_frame_size_button.h',
        'frame/caption_buttons/alternate_frame_size_button_delegate.h',
        'frame/caption_buttons/bubble_contents_button_row.cc',
        'frame/caption_buttons/bubble_contents_button_row.h',
        'frame/caption_buttons/caption_button_types.h',
        'frame/caption_buttons/frame_caption_button.cc',
        'frame/caption_buttons/frame_caption_button.h',
        'frame/caption_buttons/frame_caption_button_container_view.cc',
        'frame/caption_buttons/frame_caption_button_container_view.h',
        'frame/caption_buttons/frame_maximize_button.cc',
        'frame/caption_buttons/frame_maximize_button.h',
        'frame/caption_buttons/frame_maximize_button_observer.h',
        'frame/caption_buttons/maximize_bubble_controller.cc',
        'frame/caption_buttons/maximize_bubble_controller.h',
        'frame/caption_buttons/maximize_bubble_controller_bubble.cc',
        'frame/caption_buttons/maximize_bubble_controller_bubble.h',
        'frame/custom_frame_view_ash.cc',
        'frame/custom_frame_view_ash.h',
        'frame/frame_border_hit_test_controller.cc',
        'frame/frame_border_hit_test_controller.h',
        'frame/default_header_painter.cc',
        'frame/default_header_painter.h',
        'frame/frame_util.cc',
        'frame/frame_util.h',
        'frame/header_painter.h',
        'frame/header_painter_util.cc',
        'frame/header_painter_util.h',
        'gpu_support.h',
        'gpu_support_stub.cc',
        'gpu_support_stub.h',
        'high_contrast/high_contrast_controller.cc',
        'high_contrast/high_contrast_controller.h',
        'host/ash_remote_window_tree_host_win.cc',
        'host/ash_remote_window_tree_host_win.h',
        'host/ash_window_tree_host.h',
        'host/ash_window_tree_host_ozone.cc',
        'host/ash_window_tree_host_win.cc',
        'host/ash_window_tree_host_x11.cc',
        'host/ash_window_tree_host_x11.h',
        'host/root_window_transformer.h',
        'host/transformer_helper.cc',
        'host/transformer_helper.h',
        'ime/candidate_view.cc',
        'ime/candidate_view.h',
        'ime/candidate_window_view.cc',
        'ime/candidate_window_view.h',
        'ime/infolist_window.cc',
        'ime/infolist_window.h',
        'ime/input_method_menu_item.cc',
        'ime/input_method_menu_item.h',
        'ime/input_method_menu_manager.cc',
        'ime/input_method_menu_manager.h',
        'ime/mode_indicator_view.cc',
        'ime/mode_indicator_view.h',
        'keyboard_uma_event_filter.cc',
        'keyboard_uma_event_filter.h',
        'magnifier/magnification_controller.cc',
        'magnifier/magnification_controller.h',
        'magnifier/magnifier_constants.h',
        'magnifier/partial_magnification_controller.cc',
        'magnifier/partial_magnification_controller.h',
        'metrics/user_metrics_recorder.cc',
        'metrics/user_metrics_recorder.h',
        'multi_profile_uma.cc',
        'multi_profile_uma.h',
        'popup_message.cc',
        'popup_message.h',
        'root_window_controller.cc',
        'root_window_controller.h',
        'root_window_settings.cc',
        'root_window_settings.h',
        'rotator/screen_rotation.cc',
        'rotator/screen_rotation.h',
        'scoped_target_root_window.cc',
        'scoped_target_root_window.h',
        'screen_util.cc',
        'screen_util.h',
        'screenshot_delegate.h',
        'session_state_delegate.h',
        'session_state_observer.cc',
        'session_state_observer.h',
        'shelf/app_list_button.cc',
        'shelf/app_list_button.h',
        'shelf/app_list_shelf_item_delegate.cc',
        'shelf/app_list_shelf_item_delegate.h',
        'shelf/background_animator.cc',
        'shelf/background_animator.h',
        'shelf/overflow_bubble.cc',
        'shelf/overflow_bubble.h',
        'shelf/overflow_bubble_view.cc',
        'shelf/overflow_bubble_view.h',
        'shelf/overflow_button.cc',
        'shelf/overflow_button.h',
        'shelf/scoped_observer_with_duplicated_sources.h',
        'shelf/shelf.cc',
        'shelf/shelf.h',
        'shelf/shelf_alignment_menu.cc',
        'shelf/shelf_alignment_menu.h',
        'shelf/shelf_bezel_event_filter.cc',
        'shelf/shelf_bezel_event_filter.h',
        'shelf/shelf_button.cc',
        'shelf/shelf_button.h',
        'shelf/shelf_button_host.h',
        'shelf/shelf_constants.cc',
        'shelf/shelf_constants.h',
        'shelf/shelf_delegate.h',
        'shelf/shelf_icon_observer.h',
        'shelf/shelf_item_delegate.h',
        'shelf/shelf_item_delegate_manager.cc',
        'shelf/shelf_item_delegate_manager.h',
        'shelf/shelf_item_types.cc',
        'shelf/shelf_item_types.h',
        'shelf/shelf_layout_manager.cc',
        'shelf/shelf_layout_manager.h',
        'shelf/shelf_layout_manager_observer.h',
        'shelf/shelf_menu_model.h',
        'shelf/shelf_model.cc',
        'shelf/shelf_model.h',
        'shelf/shelf_model_observer.h',
        'shelf/shelf_navigator.cc',
        'shelf/shelf_navigator.h',
        'shelf/shelf_tooltip_manager.cc',
        'shelf/shelf_tooltip_manager.h',
        'shelf/shelf_types.h',
        'shelf/shelf_util.cc',
        'shelf/shelf_util.h',
        'shelf/shelf_view.cc',
        'shelf/shelf_view.h',
        'shelf/shelf_widget.cc',
        'shelf/shelf_widget.h',
        'shelf/shelf_window_watcher.cc',
        'shelf/shelf_window_watcher.h',
        'shelf/shelf_window_watcher_item_delegate.cc',
        'shelf/shelf_window_watcher_item_delegate.h',
        'shell.cc',
        'shell.h',
        'shell_delegate.h',
        'shell_factory.h',
        'shell_window_ids.h',
        'sticky_keys/sticky_keys_state.h',
        'sticky_keys/sticky_keys_controller.cc',
        'sticky_keys/sticky_keys_controller.h',
        'sticky_keys/sticky_keys_overlay.cc',
        'sticky_keys/sticky_keys_overlay.h',
        'switchable_windows.cc',
        'switchable_windows.h',
        'system/audio/audio_observer.h',
        'system/audio/tray_audio.cc',
        'system/audio/tray_audio.h',
        'system/audio/tray_audio_delegate.h',
        'system/audio/volume_view.cc',
        'system/audio/volume_view.h',
        'system/bluetooth/bluetooth_observer.h',
        'system/bluetooth/tray_bluetooth.cc',
        'system/bluetooth/tray_bluetooth.h',
        'system/brightness_control_delegate.h',
        'system/chromeos/audio/audio_detailed_view.cc',
        'system/chromeos/audio/audio_detailed_view.h',
        'system/chromeos/audio/tray_audio_chromeos.cc',
        'system/chromeos/audio/tray_audio_chromeos.h',
        'system/chromeos/audio/tray_audio_delegate_chromeos.cc',
        'system/chromeos/audio/tray_audio_delegate_chromeos.h',
        'system/chromeos/enterprise/enterprise_domain_observer.h',
        'system/chromeos/bluetooth/bluetooth_notification_controller.cc',
        'system/chromeos/bluetooth/bluetooth_notification_controller.h',
        'system/chromeos/brightness/brightness_controller_chromeos.cc',
        'system/chromeos/brightness/brightness_controller_chromeos.h',
        'system/chromeos/brightness/tray_brightness.cc',
        'system/chromeos/brightness/tray_brightness.h',
        'system/chromeos/enterprise/tray_enterprise.h',
        'system/chromeos/enterprise/tray_enterprise.cc',
        'system/chromeos/keyboard_brightness_controller.cc',
        'system/chromeos/keyboard_brightness_controller.h',
        'system/chromeos/label_tray_view.h',
        'system/chromeos/label_tray_view.cc',
        'system/chromeos/managed/tray_locally_managed_user.h',
        'system/chromeos/managed/tray_locally_managed_user.cc',
        'system/chromeos/network/network_connect.cc',
        'system/chromeos/network/network_connect.h',
        'system/chromeos/network/network_detailed_view.h',
        'system/chromeos/network/network_icon.cc',
        'system/chromeos/network/network_icon.h',
        'system/chromeos/network/network_icon_animation.cc',
        'system/chromeos/network/network_icon_animation.h',
        'system/chromeos/network/network_icon_animation_observer.h',
        'system/chromeos/network/network_observer.h',
        'system/chromeos/network/network_portal_detector_observer.h',
        'system/chromeos/network/network_state_list_detailed_view.cc',
        'system/chromeos/network/network_state_list_detailed_view.h',
        'system/chromeos/network/network_state_notifier.cc',
        'system/chromeos/network/network_state_notifier.h',
        'system/chromeos/network/tray_network.cc',
        'system/chromeos/network/tray_network.h',
        'system/chromeos/network/tray_network_state_observer.cc',
        'system/chromeos/network/tray_network_state_observer.h',
        'system/chromeos/network/tray_sms.cc',
        'system/chromeos/network/tray_sms.h',
        'system/chromeos/network/tray_vpn.cc',
        'system/chromeos/network/tray_vpn.h',
        'system/chromeos/power/power_event_observer.cc',
        'system/chromeos/power/power_event_observer.h',
        'system/chromeos/power/power_status.cc',
        'system/chromeos/power/power_status.h',
        'system/chromeos/power/power_status_view.cc',
        'system/chromeos/power/power_status_view.h',
        'system/chromeos/power/tray_power.cc',
        'system/chromeos/power/tray_power.h',
        'system/chromeos/power/video_activity_notifier.cc',
        'system/chromeos/power/video_activity_notifier.h',
        'system/chromeos/rotation/tray_rotation_lock.cc',
        'system/chromeos/rotation/tray_rotation_lock.h',
        'system/chromeos/screen_security/screen_capture_observer.h',
        'system/chromeos/screen_security/screen_capture_tray_item.cc',
        'system/chromeos/screen_security/screen_capture_tray_item.h',
        'system/chromeos/screen_security/screen_share_observer.h',
        'system/chromeos/screen_security/screen_share_tray_item.cc',
        'system/chromeos/screen_security/screen_share_tray_item.h',
        'system/chromeos/screen_security/screen_tray_item.cc',
        'system/chromeos/screen_security/screen_tray_item.h',
        'system/chromeos/session/last_window_closed_observer.h',
        'system/chromeos/session/last_window_closed_logout_reminder.cc',
        'system/chromeos/session/last_window_closed_logout_reminder.h',
        'system/chromeos/session/logout_button_observer.h',
        'system/chromeos/session/logout_button_tray.cc',
        'system/chromeos/session/logout_button_tray.h',
        'system/chromeos/session/logout_confirmation_controller.cc',
        'system/chromeos/session/logout_confirmation_controller.h',
        'system/chromeos/session/logout_confirmation_dialog.cc',
        'system/chromeos/session/logout_confirmation_dialog.h',
        'system/chromeos/session/session_length_limit_observer.h',
        'system/chromeos/session/tray_session_length_limit.cc',
        'system/chromeos/session/tray_session_length_limit.h',
        'system/chromeos/settings/tray_settings.cc',
        'system/chromeos/settings/tray_settings.h',
        'system/chromeos/system_clock_observer.cc',
        'system/chromeos/system_clock_observer.h',
        'system/chromeos/tray_caps_lock.cc',
        'system/chromeos/tray_caps_lock.h',
        'system/chromeos/tray_display.cc',
        'system/chromeos/tray_display.h',
        'system/chromeos/tray_tracing.cc',
        'system/chromeos/tray_tracing.h',
        'system/chromeos/virtual_keyboard/virtual_keyboard_tray.cc',
        'system/chromeos/virtual_keyboard/virtual_keyboard_tray.h',
        'system/date/clock_observer.h',
        'system/date/date_default_view.cc',
        'system/date/date_default_view.h',
        'system/date/date_view.cc',
        'system/date/date_view.h',
        'system/date/tray_date.cc',
        'system/date/tray_date.h',
        'system/drive/drive_observer.h',
        'system/drive/tray_drive.cc',
        'system/drive/tray_drive.h',
        'system/ime/ime_observer.h',
        'system/ime/tray_ime.cc',
        'system/ime/tray_ime.h',
        'system/keyboard_brightness/keyboard_brightness_control_delegate.h',
        'system/locale/locale_notification_controller.cc',
        'system/locale/locale_notification_controller.h',
        'system/overview/overview_button_tray.h',
        'system/overview/overview_button_tray.cc',
        'system/status_area_widget.cc',
        'system/status_area_widget.h',
        'system/status_area_widget_delegate.cc',
        'system/status_area_widget_delegate.h',
        'system/system_notifier.cc',
        'system/system_notifier.h',
        'system/tray/actionable_view.cc',
        'system/tray/actionable_view.h',
        'system/tray/default_system_tray_delegate.cc',
        'system/tray/default_system_tray_delegate.h',
        'system/tray/fixed_sized_image_view.cc',
        'system/tray/fixed_sized_image_view.h',
        'system/tray/fixed_sized_scroll_view.cc',
        'system/tray/fixed_sized_scroll_view.h',
        'system/tray/hover_highlight_view.cc',
        'system/tray/hover_highlight_view.h',
        'system/tray/special_popup_row.cc',
        'system/tray/special_popup_row.h',
        'system/tray/system_tray.cc',
        'system/tray/system_tray.h',
        'system/tray/system_tray_bubble.cc',
        'system/tray/system_tray_bubble.h',
        'system/tray/system_tray_delegate.cc',
        'system/tray/system_tray_delegate.h',
        'system/tray/system_tray_item.cc',
        'system/tray/system_tray_item.h',
        'system/tray/system_tray_notifier.cc',
        'system/tray/system_tray_notifier.h',
        'system/tray/throbber_view.cc',
        'system/tray/throbber_view.h',
        'system/tray/tray_background_view.cc',
        'system/tray/tray_background_view.h',
        'system/tray/tray_bar_button_with_title.cc',
        'system/tray/tray_bar_button_with_title.h',
        'system/tray/tray_bubble_wrapper.cc',
        'system/tray/tray_bubble_wrapper.h',
        'system/tray/tray_constants.cc',
        'system/tray/tray_constants.h',
        'system/tray/tray_details_view.cc',
        'system/tray/tray_details_view.h',
        'system/tray/tray_empty.cc',
        'system/tray/tray_empty.h',
        'system/tray/tray_event_filter.cc',
        'system/tray/tray_event_filter.h',
        'system/tray/tray_image_item.cc',
        'system/tray/tray_image_item.h',
        'system/tray/tray_item_more.cc',
        'system/tray/tray_item_more.h',
        'system/tray/tray_item_view.cc',
        'system/tray/tray_item_view.h',
        'system/tray/tray_notification_view.cc',
        'system/tray/tray_notification_view.h',
        'system/tray/tray_popup_header_button.cc',
        'system/tray/tray_popup_header_button.h',
        'system/tray/tray_popup_label_button.cc',
        'system/tray/tray_popup_label_button.cc',
        'system/tray/tray_popup_label_button.h',
        'system/tray/tray_popup_label_button_border.cc',
        'system/tray/tray_popup_label_button_border.h',
        'system/tray/tray_utils.cc',
        'system/tray/tray_utils.h',
        'system/tray/view_click_listener.h',
        'system/tray_accessibility.cc',
        'system/tray_accessibility.h',
        'system/tray_update.cc',
        'system/tray_update.h',
        'system/user/accounts_detailed_view.cc',
        'system/user/accounts_detailed_view.h',
        'system/user/config.cc',
        'system/user/config.h',
        'system/user/button_from_view.cc',
        'system/user/button_from_view.h',
        'system/user/login_status.cc',
        'system/user/login_status.h',
        'system/user/rounded_image_view.cc',
        'system/user/rounded_image_view.h',
        'system/user/tray_user.cc',
        'system/user/tray_user.h',
        'system/user/tray_user_separator.cc',
        'system/user/tray_user_separator.h',
        'system/user/update_observer.h',
        'system/user/user_observer.h',
        'system/user/user_accounts_delegate.cc',
        'system/user/user_accounts_delegate.h',
        'system/user/user_card_view.cc',
        'system/user/user_card_view.h',
        'system/user/user_view.cc',
        'system/user/user_view.h',
        'system/web_notification/web_notification_tray.cc',
        'system/web_notification/web_notification_tray.h',
        'system/win/audio/tray_audio_delegate_win.cc',
        'system/win/audio/tray_audio_delegate_win.h',
        'system/win/audio/tray_audio_win.cc',
        'system/win/audio/tray_audio_win.h',
        'touch/touch_hud_debug.cc',
        'touch/touch_hud_debug.h',
        'touch/touch_hud_projection.cc',
        'touch/touch_hud_projection.h',
        'touch/touch_observer_hud.cc',
        'touch/touch_observer_hud.h',
        'touch/touch_uma.cc',
        'touch/touch_uma.h',
        'volume_control_delegate.h',
        'wm/app_list_controller.cc',
        'wm/app_list_controller.h',
        'wm/always_on_top_controller.cc',
        'wm/always_on_top_controller.h',
        'wm/ash_native_cursor_manager.cc',
        'wm/ash_native_cursor_manager.h',
        'wm/ash_focus_rules.cc',
        'wm/ash_focus_rules.h',
        'wm/boot_splash_screen_chromeos.cc',
        'wm/boot_splash_screen_chromeos.h',
        'wm/cursor_manager_chromeos.cc',
        'wm/cursor_manager_chromeos.h',
        'wm/coordinate_conversion.cc',
        'wm/coordinate_conversion.h',
        'wm/default_state.cc',
        'wm/default_state.h',
        'wm/default_window_resizer.cc',
        'wm/default_window_resizer.h',
        'wm/dock/docked_window_layout_manager.cc',
        'wm/dock/docked_window_layout_manager.h',
        'wm/dock/docked_window_layout_manager_observer.h',
        'wm/dock/docked_window_resizer.cc',
        'wm/dock/docked_window_resizer.h',
        'wm/drag_details.cc',
        'wm/drag_details.h',
        'wm/drag_window_controller.cc',
        'wm/drag_window_controller.h',
        'wm/drag_window_resizer.cc',
        'wm/drag_window_resizer.h',
        'wm/event_client_impl.cc',
        'wm/event_client_impl.h',
        'wm/gestures/long_press_affordance_handler.cc',
        'wm/gestures/long_press_affordance_handler.h',
        'wm/gestures/overview_gesture_handler.cc',
        'wm/gestures/overview_gesture_handler.h',
        'wm/gestures/shelf_gesture_handler.cc',
        'wm/gestures/shelf_gesture_handler.h',
        'wm/gestures/tray_gesture_handler.cc',
        'wm/gestures/tray_gesture_handler.h',
        'wm/image_cursors.cc',
        'wm/image_cursors.h',
        'wm/immersive_fullscreen_controller.cc',
        'wm/immersive_fullscreen_controller.h',
        'wm/immersive_revealed_lock.cc',
        'wm/immersive_revealed_lock.h',
        'wm/lock_state_controller.cc',
        'wm/lock_state_controller.h',
        'wm/lock_state_observer.h',
        'wm/maximize_mode/maximize_mode_controller.cc',
        'wm/maximize_mode/maximize_mode_controller.h',
        'wm/maximize_mode/maximize_mode_event_blocker.cc',
        'wm/maximize_mode/maximize_mode_event_blocker.h',
        'wm/maximize_mode/maximize_mode_window_manager.cc',
        'wm/maximize_mode/maximize_mode_window_manager.h',
        'wm/maximize_mode/maximize_mode_window_state.cc',
        'wm/maximize_mode/maximize_mode_window_state.h',
        'wm/maximize_mode/workspace_backdrop_delegate.cc',
        'wm/maximize_mode/workspace_backdrop_delegate.h',
        'wm/mru_window_tracker.cc',
        'wm/mru_window_tracker.h',
        'wm/overlay_event_filter.cc',
        'wm/overlay_event_filter.h',
        'wm/overview/scoped_transform_overview_window.cc',
        'wm/overview/scoped_transform_overview_window.h',
        'wm/overview/scoped_window_copy.cc',
        'wm/overview/scoped_window_copy.h',
        'wm/overview/window_overview.cc',
        'wm/overview/window_overview.h',
        'wm/overview/window_selector.cc',
        'wm/overview/window_selector.h',
        'wm/overview/window_selector_controller.cc',
        'wm/overview/window_selector_controller.h',
        'wm/overview/window_selector_delegate.h',
        'wm/overview/window_selector_item.cc',
        'wm/overview/window_selector_item.h',
        'wm/overview/window_selector_panels.cc',
        'wm/overview/window_selector_panels.h',
        'wm/overview/window_selector_window.cc',
        'wm/overview/window_selector_window.h',
        'wm/panels/attached_panel_window_targeter.cc',
        'wm/panels/attached_panel_window_targeter.h',
        'wm/panels/panel_frame_view.cc',
        'wm/panels/panel_frame_view.h',
        'wm/panels/panel_layout_manager.cc',
        'wm/panels/panel_layout_manager.h',
        'wm/panels/panel_window_event_handler.cc',
        'wm/panels/panel_window_event_handler.h',
        'wm/panels/panel_window_resizer.cc',
        'wm/panels/panel_window_resizer.h',
        'wm/partial_screenshot_view.cc',
        'wm/partial_screenshot_view.h',
        'wm/power_button_controller.cc',
        'wm/power_button_controller.h',
        'wm/resize_handle_window_targeter.cc',
        'wm/resize_handle_window_targeter.h',
        'wm/resize_shadow.cc',
        'wm/resize_shadow.h',
        'wm/resize_shadow_controller.cc',
        'wm/resize_shadow_controller.h',
        'wm/root_window_layout_manager.cc',
        'wm/root_window_layout_manager.h',
        'wm/screen_dimmer.cc',
        'wm/screen_dimmer.h',
        'wm/session_state_animator.cc',
        'wm/session_state_animator.h',
        'wm/stacking_controller.cc',
        'wm/stacking_controller.h',
        'wm/status_area_layout_manager.cc',
        'wm/status_area_layout_manager.h',
        'wm/system_background_controller.cc',
        'wm/system_background_controller.h',
        'wm/system_gesture_event_filter.cc',
        'wm/system_gesture_event_filter.h',
        'wm/system_modal_container_event_filter.cc',
        'wm/system_modal_container_event_filter.h',
        'wm/system_modal_container_event_filter_delegate.h',
        'wm/system_modal_container_layout_manager.cc',
        'wm/system_modal_container_layout_manager.h',
        'wm/toplevel_window_event_handler.cc',
        'wm/toplevel_window_event_handler.h',
        'wm/video_detector.cc',
        'wm/video_detector.h',
        'wm/window_animations.cc',
        'wm/window_animations.h',
        'wm/window_positioner.cc',
        'wm/window_positioner.h',
        'wm/window_state.cc',
        'wm/window_state.h',
        'wm/window_state_delegate.cc',
        'wm/window_state_delegate.h',
        'wm/window_state_observer.h',
        'wm/window_properties.cc',
        'wm/window_properties.h',
        'wm/window_resizer.cc',
        'wm/window_resizer.h',
        'wm/window_util.cc',
        'wm/window_util.h',
        'wm/wm_event.cc',
        'wm/wm_event.h',
        'wm/wm_types.cc',
        'wm/wm_types.h',
        'wm/workspace_controller.cc',
        'wm/workspace_controller.h',
        'wm/workspace/magnetism_matcher.cc',
        'wm/workspace/magnetism_matcher.h',
        'wm/workspace/multi_window_resize_controller.cc',
        'wm/workspace/multi_window_resize_controller.h',
        'wm/workspace/phantom_window_controller.cc',
        'wm/workspace/phantom_window_controller.h',
        'wm/workspace/snap_types.h',
        'wm/workspace/two_step_edge_cycler.cc',
        'wm/workspace/two_step_edge_cycler.h',
        'wm/workspace/workspace_event_handler.cc',
        'wm/workspace/workspace_event_handler.h',
        'wm/workspace/workspace_layout_manager.cc',
        'wm/workspace/workspace_layout_manager.h',
        'wm/workspace/workspace_layout_manager_delegate.h',
        'wm/workspace/workspace_types.h',
        'wm/workspace/workspace_window_resizer.cc',
        'wm/workspace/workspace_window_resizer.h',
      ],
      'conditions': [
        ['OS=="win"', {
          'sources/': [
            ['exclude', 'host/window_tree_host_factory.cc'],
            ['exclude', 'sticky_keys/sticky_keys_controller.cc'],
            ['exclude', 'sticky_keys/sticky_keys_controller.h'],
          ],
          # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
          'msvs_disabled_warnings': [ 4267, ],
        }],
        ['use_x11!=1', {
          'sources/': [
            ['exclude', 'accelerators/key_hold_detector.cc'],
            ['exclude', 'accelerators/key_hold_detector.h'],
            ['exclude', 'accelerators/magnifier_key_scroller.cc'],
            ['exclude', 'accelerators/magnifier_key_scroller.h'],
            ['exclude', 'accelerators/spoken_feedback_toggler.cc'],
            ['exclude', 'accelerators/spoken_feedback_toggler.h'],
          ],
        }, { # else: use_x11==1
          'dependencies': [
            '../build/linux/system.gyp:xfixes',
           ],
        }],
        ['chromeos==1', {
          'dependencies': [
            '../chromeos/chromeos.gyp:chromeos',
            # Ash #includes power_supply_properties.pb.h directly.
            '../chromeos/chromeos.gyp:power_manager_proto',
            '../device/bluetooth/bluetooth.gyp:device_bluetooth',
            '../ui/chromeos/ui_chromeos.gyp:ui_chromeos',
            '../ui/display/display.gyp:display',
            '../ui/display/display.gyp:display_util',
          ],
        }, { # else: chromeos!=1
          'sources/': [
            ['exclude', 'display/output_configurator_animation.cc'],
            ['exclude', 'display/output_configurator_animation.h'],
            ['exclude', 'display/resolution_notification_controller.cc'],
            ['exclude', 'display/resolution_notification_controller.h'],
          ],
        }],
      ],
    },

    {
      'target_name': 'ash_with_content',
      'type': '<(component)',
      'dependencies': [
        '../base/base.gyp:base',
        '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
        '../content/content.gyp:content_browser',
        '../ipc/ipc.gyp:ipc',
        '../skia/skia.gyp:skia',
        '../ui/aura/aura.gyp:aura',
        '../ui/base/strings/ui_strings.gyp:ui_strings',
        '../ui/base/ui_base.gyp:ui_base',
        '../ui/compositor/compositor.gyp:compositor',
        '../ui/events/events.gyp:events',
        '../ui/gfx/gfx.gyp:gfx',
        '../ui/gfx/gfx.gyp:gfx_geometry',
        '../ui/resources/ui_resources.gyp:ui_resources',
        '../ui/views/controls/webview/webview.gyp:webview',
        '../ui/views/views.gyp:views',
        '../ui/web_dialogs/web_dialogs.gyp:web_dialogs',
        '../url/url.gyp:url_lib',
        'ash_strings.gyp:ash_strings',
        'ash',
        'ash_resources',
      ],
      'defines': [
        'ASH_WITH_CONTENT_IMPLEMENTATION',
      ],
      'sources': [
        'content_support/ash_with_content_export.h',
        'content_support/gpu_support_impl.cc',
        'content_support/gpu_support_impl.h',
        'screensaver/screensaver_view.cc',
        'screensaver/screensaver_view.h',
        'keyboard_overlay/keyboard_overlay_delegate.cc',
        'keyboard_overlay/keyboard_overlay_delegate.h',
        'keyboard_overlay/keyboard_overlay_view.cc',
        'keyboard_overlay/keyboard_overlay_view.h',
      ],
    },
    {
      'target_name': 'ash_test_support',
      'type': 'static_library',
      'dependencies': [
        '../skia/skia.gyp:skia',
        '../testing/gtest.gyp:gtest',
        '../ui/accessibility/accessibility.gyp:ax_gen',
        '../ui/app_list/app_list.gyp:app_list_test_support',
        '../ui/views/views.gyp:views_test_support',
        'ash',
        'ash_resources',
      ],
      'sources': [
        'desktop_background/desktop_background_controller_test_api.cc',
        'desktop_background/desktop_background_controller_test_api.h',
        'shell/keyboard_controller_proxy_stub.cc',
        'shell/keyboard_controller_proxy_stub.h',
        'shell/toplevel_window.cc',
        'shell/toplevel_window.h',
        'test/app_list_controller_test_api.cc',
        'test/app_list_controller_test_api.h',
        'test/ash_test_base.cc',
        'test/ash_test_base.h',
        'test/ash_test_helper.cc',
        'test/ash_test_helper.h',
        'test/cursor_manager_test_api.cc',
        'test/cursor_manager_test_api.h',
        'test/display_manager_test_api.cc',
        'test/display_manager_test_api.h',
        'test/mirror_window_test_api.cc',
        'test/mirror_window_test_api.h',
        'test/overflow_bubble_view_test_api.cc',
        'test/overflow_bubble_view_test_api.h',
        'test/shelf_item_delegate_manager_test_api.cc',
        'test/shelf_item_delegate_manager_test_api.h',
        'test/shelf_test_api.cc',
        'test/shelf_test_api.h',
        'test/shelf_view_test_api.cc',
        'test/shelf_view_test_api.h',
        'test/shell_test_api.cc',
        'test/shell_test_api.h',
        'test/status_area_widget_test_helper.cc',
        'test/status_area_widget_test_helper.h',
        'test/test_activation_delegate.cc',
        'test/test_activation_delegate.h',
        'test/test_screenshot_delegate.cc',
        'test/test_screenshot_delegate.cc',
        'test/test_session_state_delegate.cc',
        'test/test_session_state_delegate.h',
        'test/test_shelf_delegate.cc',
        'test/test_shelf_delegate.h',
        'test/test_shelf_item_delegate.cc',
        'test/test_shelf_item_delegate.h',
        'test/test_shell_delegate.cc',
        'test/test_shell_delegate.h',
        'test/test_suite.cc',
        'test/test_suite.h',
        'test/test_suite_init.h',
        'test/test_suite_init.mm',
        'test/test_system_tray_delegate.cc',
        'test/test_system_tray_delegate.h',
        'test/test_user_wallpaper_delegate.cc',
        'test/test_user_wallpaper_delegate.h',
        'test/ui_controls_factory_ash.cc',
        'test/ui_controls_factory_ash.h',
      ],
      'conditions': [
        ['OS=="win"', {
          'dependencies': [
            '../ipc/ipc.gyp:ipc',
            '../ui/metro_viewer/metro_viewer.gyp:metro_viewer_messages',
            '../win8/win8.gyp:metro_viewer',
            '../win8/win8.gyp:test_support_win8',
            '../win8/win8_tests.gyp:test_registrar',
          ],
          'sources': [
            'test/test_metro_viewer_process_host.cc',
            'test/test_metro_viewer_process_host.h',
          ],
        }],
      ],
    },
    {
      'target_name': 'ash_unittests',
      'type': 'executable',
      'dependencies': [
        '../base/base.gyp:base',
        '../base/base.gyp:test_support_base',
        '../chrome/chrome_resources.gyp:packed_resources',
        '../content/content.gyp:content_browser',
        '../content/content_shell_and_tests.gyp:test_support_content',
        '../skia/skia.gyp:skia',
        '../testing/gtest.gyp:gtest',
        '../third_party/icu/icu.gyp:icui18n',
        '../third_party/icu/icu.gyp:icuuc',
        '../ui/accessibility/accessibility.gyp:accessibility',
        '../ui/app_list/app_list.gyp:app_list',
        '../ui/aura/aura.gyp:aura',
        '../ui/aura/aura.gyp:aura_test_support',
        '../ui/base/ui_base.gyp:ui_base',
        '../ui/compositor/compositor.gyp:compositor',
        '../ui/compositor/compositor.gyp:compositor_test_support',
        '../ui/events/events.gyp:events',
        '../ui/events/events.gyp:events_test_support',
        '../ui/gfx/gfx.gyp:gfx',
        '../ui/gfx/gfx.gyp:gfx_geometry',
        '../ui/keyboard/keyboard.gyp:keyboard',
        '../ui/message_center/message_center.gyp:message_center',
        '../ui/message_center/message_center.gyp:message_center_test_support',
        '../ui/resources/ui_resources.gyp:ui_resources',
        '../ui/ui_unittests.gyp:ui_test_support',
        '../ui/views/controls/webview/webview_tests.gyp:webview_test_support',
        '../ui/views/examples/examples.gyp:views_examples_with_content_lib',
        '../ui/views/views.gyp:views',
        '../ui/views/views.gyp:views_test_support',
        '../ui/web_dialogs/web_dialogs.gyp:web_dialogs_test_support',
        '../ui/wm/wm.gyp:wm',
        '../url/url.gyp:url_lib',
        'ash_strings.gyp:ash_strings',
        'ash',
        'ash_resources',
        'ash_test_support',
        'ash_with_content',
      ],
      'sources': [
        'accelerators/accelerator_commands_unittest.cc',
        'accelerators/accelerator_controller_unittest.cc',
        'accelerators/accelerator_filter_unittest.cc',
        'accelerators/accelerator_table_unittest.cc',
        'accelerators/magnifier_key_scroller_unittest.cc',
        'accelerators/nested_dispatcher_controller_unittest.cc',
        'accelerators/spoken_feedback_toggler_unittest.cc',
        'autoclick/autoclick_unittest.cc',
        'desktop_background/desktop_background_controller_unittest.cc',
        'desktop_background/wallpaper_resizer_unittest.cc',
        'dip_unittest.cc',
        'display/display_change_observer_chromeos_unittest.cc',
        'display/display_controller_unittest.cc',
        'display/display_error_observer_chromeos_unittest.cc',
        'display/display_info_unittest.cc',
        'display/display_manager_unittest.cc',
        'display/mirror_window_controller_unittest.cc',
        'display/virtual_keyboard_window_controller_unittest.cc',
        'display/mouse_cursor_event_filter_unittest.cc',
        'display/projecting_observer_chromeos_unittest.cc',
        'display/resolution_notification_controller_unittest.cc',
        'display/root_window_transformers_unittest.cc',
        'display/screen_position_controller_unittest.cc',
        'drag_drop/drag_drop_controller_unittest.cc',
        'drag_drop/drag_drop_tracker_unittest.cc',
        'extended_desktop_unittest.cc',
        'focus_cycler_unittest.cc',
        'frame/caption_buttons/alternate_frame_size_button_unittest.cc',
        'frame/caption_buttons/frame_caption_button_container_view_unittest.cc',
        'frame/caption_buttons/frame_maximize_button_unittest.cc',
        'frame/custom_frame_view_ash_unittest.cc',
        'frame/default_header_painter_unittest.cc',
        'host/ash_window_tree_host_x11_unittest.cc',
        'ime/candidate_window_view_unittest.cc',
        'ime/input_method_menu_item_unittest.cc',
        'ime/input_method_menu_manager_unittest.cc',
        'keyboard_overlay/keyboard_overlay_delegate_unittest.cc',
        'keyboard_overlay/keyboard_overlay_view_unittest.cc',
        'magnifier/magnification_controller_unittest.cc',
        'root_window_controller_unittest.cc',
        'screen_util_unittest.cc',
        'screensaver/screensaver_view_unittest.cc',
        'session_state_delegate_stub.cc',
        'session_state_delegate_stub.h',
        'shelf/scoped_observer_with_duplicated_sources_unittest.cc',
        'shelf/shelf_layout_manager_unittest.cc',
        'shelf/shelf_model_unittest.cc',
        'shelf/shelf_navigator_unittest.cc',
        'shelf/shelf_tooltip_manager_unittest.cc',
        'shelf/shelf_unittest.cc',
        'shelf/shelf_view_unittest.cc',
        'shelf/shelf_widget_unittest.cc',
        'shelf/shelf_window_watcher_unittest.cc',
        'shell/app_list.cc',
        'shell/bubble.cc',
        'shell/context_menu.cc',
        'shell/context_menu.h',
        'shell/lock_view.cc',
        'shell/panel_window.cc',
        'shell/panel_window.h',
        'shell/shelf_delegate_impl.cc',
        'shell/shelf_delegate_impl.h',
        'shell/shell_delegate_impl.cc',
        'shell/shell_delegate_impl.h',
        'shell/widgets.cc',
        'shell/window_type_launcher.cc',
        'shell/window_type_launcher.h',
        'shell/window_watcher.cc',
        'shell/window_watcher.h',
        'shell/window_watcher_shelf_item_delegate.cc',
        'shell/window_watcher_shelf_item_delegate.h',
        'shell/window_watcher_unittest.cc',
        'shell_unittest.cc',
        'sticky_keys/sticky_keys_overlay_unittest.cc',
        'sticky_keys/sticky_keys_unittest.cc',
        'system/chromeos/brightness/tray_brightness_unittest.cc',
        'system/chromeos/managed/tray_locally_managed_user_unittest.cc',
        'system/chromeos/network/network_state_notifier_unittest.cc',
        'system/chromeos/power/power_event_observer_unittest.cc',
        'system/chromeos/power/power_status_unittest.cc',
        'system/chromeos/power/power_status_view_unittest.cc',
        'system/chromeos/power/tray_power_unittest.cc',
        'system/chromeos/rotation/tray_rotation_lock_unittest.cc',
        'system/chromeos/screen_security/screen_tray_item_unittest.cc',
        'system/chromeos/session/logout_confirmation_controller_unittest.cc',
        'system/chromeos/session/tray_session_length_limit_unittest.cc',
        'system/chromeos/tray_display_unittest.cc',
        'system/date/date_view_unittest.cc',
        'system/overview/overview_button_tray_unittest.cc',
        'system/tray/system_tray_unittest.cc',
        'system/tray/tray_details_view_unittest.cc',
        'system/user/tray_user_unittest.cc',
        'system/web_notification/web_notification_tray_unittest.cc',
        'test/ash_test_helper_unittest.cc',
        'test/ash_unittests.cc',
        'tooltips/tooltip_controller_unittest.cc',
        'touch/touch_observer_hud_unittest.cc',
        'wm/app_list_controller_unittest.cc',
        'wm/ash_native_cursor_manager_unittest.cc',
        'wm/dock/docked_window_layout_manager_unittest.cc',
        'wm/dock/docked_window_resizer_unittest.cc',
        'wm/drag_window_resizer_unittest.cc',
        'wm/gestures/overview_gesture_handler_unittest.cc',
        'wm/immersive_fullscreen_controller_unittest.cc',
        'wm/lock_state_controller_unittest.cc',
        'wm/maximize_mode/accelerometer_test_data_literals.cc',
        'wm/maximize_mode/maximize_mode_controller_unittest.cc',
        'wm/maximize_mode/maximize_mode_window_manager_unittest.cc',
        'wm/mru_window_tracker_unittest.cc',
        'wm/overview/window_selector_unittest.cc',
        'wm/panels/panel_layout_manager_unittest.cc',
        'wm/panels/panel_window_resizer_unittest.cc',
        'wm/partial_screenshot_view_unittest.cc',
        'wm/resize_shadow_and_cursor_unittest.cc',
        'wm/screen_dimmer_unittest.cc',
        'wm/stacking_controller_unittest.cc',
        'wm/system_gesture_event_filter_unittest.cc',
        'wm/system_modal_container_layout_manager_unittest.cc',
        'wm/toplevel_window_event_handler_unittest.cc',
        'wm/video_detector_unittest.cc',
        'wm/window_animations_unittest.cc',
        'wm/window_manager_unittest.cc',
        'wm/window_modality_controller_unittest.cc',
        'wm/window_positioner_unittest.cc',
        'wm/window_state_unittest.cc',
        'wm/window_util_unittest.cc',
        'wm/maximize_mode/workspace_backdrop_delegate.cc',
        'wm/maximize_mode/workspace_backdrop_delegate.h',
        'wm/workspace/magnetism_matcher_unittest.cc',
        'wm/workspace/multi_window_resize_controller_unittest.cc',
        'wm/workspace/phantom_window_controller_unittest.cc',
        'wm/workspace/workspace_event_handler_test_helper.cc',
        'wm/workspace/workspace_event_handler_test_helper.h',
        'wm/workspace/workspace_event_handler_unittest.cc',
        'wm/workspace/workspace_layout_manager_unittest.cc',
        'wm/workspace/workspace_window_resizer_unittest.cc',
        'wm/workspace_controller_test_helper.cc',
        'wm/workspace_controller_test_helper.h',
        'wm/workspace_controller_unittest.cc',
      ],
      'conditions': [
        ['OS=="win"', {
          'sources/': [
            # TODO(zork): fix this test to build on Windows. See: crosbug.com/26906
            ['exclude', 'focus_cycler_unittest.cc'],
            # All tests for multiple displays: not supported on Windows Ash.
            ['exclude', 'accelerators/nested_dispatcher_controller_unittest.cc'],
            ['exclude', 'wm/drag_window_resizer_unittest.cc'],
            # Can't resize on Windows Ash. http://crbug.com/165962
            ['exclude', 'ash_root_window_transformer_unittest.cc'],
            ['exclude', 'magnifier/magnification_controller_unittest.cc'],
            ['exclude', 'wm/workspace/workspace_window_resizer_unittest.cc'],
            ['exclude', 'sticky_keys/sticky_keys_overlay_unittest.cc'],
            ['exclude', 'sticky_keys/sticky_keys_unittest.cc'],
            ['exclude', 'autoclick/autoclick_unittest.cc'],
          ],
          'sources': [
            '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_unscaled_resources.rc',
          ],
          # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
          'msvs_disabled_warnings': [ 4267, ],
        }],
        ['OS=="win" and win_use_allocator_shim==1', {
          'dependencies': [
            '../base/allocator/allocator.gyp:allocator',
          ],
        }],
        ['use_x11!=1', {
          'sources/': [
            ['exclude', 'accelerators/magnifier_key_scroller_unittest.cc'],
            ['exclude', 'accelerators/spoken_feedback_toggler_unittest.cc'],
          ],
        }],
        ['chromeos==1', {
          'dependencies': [
            '../chromeos/chromeos.gyp:power_manager_proto',
            '../device/bluetooth/bluetooth.gyp:device_bluetooth',
            '../ui/display/display.gyp:display',
            '../ui/display/display.gyp:display_test_util',
            '../ui/display/display.gyp:display_types',
          ],
          'sources': [
            'first_run/first_run_helper_unittest.cc',
          ],
        }, { # else: chromeos!=1
          'sources/': [
            ['exclude', 'display/resolution_notification_controller_unittest.cc'],
          ],
        }],
        # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554
        ['OS=="linux" and component=="shared_library" and ((use_allocator!="none" and use_allocator!="see_use_tcmalloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', {
          'dependencies': [
            '<(DEPTH)/base/allocator/allocator.gyp:allocator',
          ],
          'link_settings': {
            'ldflags': ['-rdynamic'],
          },
        }],
	['use_ozone==1', {
	  'sources!': [
	    'sticky_keys/sticky_keys_unittest.cc',  # crbug.com/354035
	  ],
	}],
      ],
    },
    {
      'target_name': 'ash_shell',
      'type': 'executable',
      'dependencies': [
        'ash_strings.gyp:ash_strings',
        '../base/base.gyp:base',
        '../base/base.gyp:base_i18n',
        '../chrome/chrome_resources.gyp:packed_resources',
        '../content/content_shell_and_tests.gyp:content_shell_lib',
        '../content/content.gyp:content',
        '../skia/skia.gyp:skia',
        '../third_party/icu/icu.gyp:icui18n',
        '../third_party/icu/icu.gyp:icuuc',
        '../ui/app_list/app_list.gyp:app_list',
        '../ui/aura/aura.gyp:aura',
        '../ui/base/ui_base.gyp:ui_base',
        '../ui/compositor/compositor.gyp:compositor',
        '../ui/events/events.gyp:events',
        '../ui/gfx/gfx.gyp:gfx',
        '../ui/gfx/gfx.gyp:gfx_geometry',
        '../ui/keyboard/keyboard.gyp:keyboard',
        '../ui/message_center/message_center.gyp:message_center',
        '../ui/resources/ui_resources.gyp:ui_resources',
        '../ui/views/examples/examples.gyp:views_examples_lib',
        '../ui/views/examples/examples.gyp:views_examples_with_content_lib',
        '../ui/views/views.gyp:views',
        '../ui/views/views.gyp:views_test_support',
        'ash',
        'ash_resources',
        'ash_with_content',
      ],
      'sources': [
        'session_state_delegate_stub.cc',
        'session_state_delegate_stub.h',
        'shell/app_list.cc',
        'shell/bubble.cc',
        'shell/content_client/shell_browser_main_parts.cc',
        'shell/content_client/shell_browser_main_parts.h',
        'shell/content_client/shell_content_browser_client.cc',
        'shell/content_client/shell_content_browser_client.h',
        'shell/content_client/shell_main_delegate.cc',
        'shell/content_client/shell_main_delegate.h',
        'shell/context_menu.cc',
        'shell/context_menu.h',
        'shell/example_factory.h',
        'shell/keyboard_controller_proxy_stub.cc',
        'shell/keyboard_controller_proxy_stub.h',
        'shell/lock_view.cc',
        'shell/panel_window.cc',
        'shell/panel_window.h',
        'shell/shelf_delegate_impl.cc',
        'shell/shelf_delegate_impl.h',
        'shell/shell_delegate_impl.cc',
        'shell/shell_delegate_impl.h',
        'shell/shell_main.cc',
        'shell/shell_main_parts.cc',
        'shell/shell_main_parts.h',
        'shell/toplevel_window.cc',
        'shell/toplevel_window.h',
        'shell/widgets.cc',
        'shell/window_type_launcher.cc',
        'shell/window_type_launcher.h',
        'shell/window_watcher.cc',
        'shell/window_watcher.h',
        'shell/window_watcher_shelf_item_delegate.cc',
        'shell/window_watcher_shelf_item_delegate.h',
        '../content/app/startup_helper_win.cc',
        '../ui/views/test/test_views_delegate.cc',
      ],
      'conditions': [
        ['OS=="win"', {
          'msvs_settings': {
            'VCLinkerTool': {
              'SubSystem': '2',  # Set /SUBSYSTEM:WINDOWS
            },
          },
          'dependencies': [
            '../sandbox/sandbox.gyp:sandbox',
          ],
        }],
        ['chromeos==1', {
          'dependencies': [
	    '../device/bluetooth/bluetooth.gyp:device_bluetooth',
          ],
        }],
      ],
    },
  ],
}