Drive: Add BatchableRequest subclass.
[chromium-blink-merge.git] / ui / views / views.gyp
blob3cf09942f06df7a2630f9c6efcd7fd274238268b
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5   'variables': {
6     'chromium_code': 1,
7     # Sources lists shared with GN build.
8     'views_sources': [
9       'accessibility/native_view_accessibility.cc',
10       'accessibility/native_view_accessibility.h',
11       'accessibility/native_view_accessibility_win.cc',
12       'accessibility/native_view_accessibility_win.h',
13       'accessible_pane_view.cc',
14       'accessible_pane_view.h',
15       'animation/bounds_animator.cc',
16       'animation/bounds_animator.h',
17       'animation/scroll_animator.cc',
18       'animation/scroll_animator.h',
19       'background.cc',
20       'background.h',
21       'border.cc',
22       'border.h',
23       'bubble/bubble_border.cc',
24       'bubble/bubble_border.h',
25       'bubble/bubble_delegate.cc',
26       'bubble/bubble_delegate.h',
27       'bubble/bubble_frame_view.cc',
28       'bubble/bubble_frame_view.h',
29       'button_drag_utils.cc',
30       'button_drag_utils.h',
31       'cocoa/bridged_content_view.h',
32       'cocoa/bridged_content_view.mm',
33       'cocoa/bridged_native_widget.h',
34       'cocoa/bridged_native_widget.mm',
35       'cocoa/cocoa_mouse_capture.h',
36       'cocoa/cocoa_mouse_capture.mm',
37       'cocoa/cocoa_mouse_capture_delegate.h',
38       'cocoa/native_widget_mac_nswindow.h',
39       'cocoa/native_widget_mac_nswindow.mm',
40       'cocoa/views_nswindow_delegate.h',
41       'cocoa/views_nswindow_delegate.mm',
42       'color_chooser/color_chooser_listener.h',
43       'color_chooser/color_chooser_view.cc',
44       'color_chooser/color_chooser_view.h',
45       'color_constants.cc',
46       'color_constants.h',
47       'context_menu_controller.h',
48       'controls/button/blue_button.cc',
49       'controls/button/blue_button.h',
50       'controls/button/button.cc',
51       'controls/button/button.h',
52       'controls/button/checkbox.cc',
53       'controls/button/checkbox.h',
54       'controls/button/custom_button.cc',
55       'controls/button/custom_button.h',
56       'controls/button/image_button.cc',
57       'controls/button/image_button.h',
58       'controls/button/label_button.cc',
59       'controls/button/label_button.h',
60       'controls/button/label_button_border.cc',
61       'controls/button/label_button_border.h',
62       'controls/button/menu_button.cc',
63       'controls/button/menu_button.h',
64       'controls/button/menu_button_listener.h',
65       'controls/button/radio_button.cc',
66       'controls/button/radio_button.h',
67       'controls/combobox/combobox.cc',
68       'controls/combobox/combobox.h',
69       'controls/combobox/combobox_listener.h',
70       'controls/focusable_border.cc',
71       'controls/focusable_border.h',
72       'controls/glow_hover_controller.cc',
73       'controls/glow_hover_controller.h',
74       'controls/image_view.cc',
75       'controls/image_view.h',
76       'controls/label.cc',
77       'controls/label.h',
78       'controls/link.cc',
79       'controls/link.h',
80       'controls/link_listener.h',
81       'controls/menu/display_change_listener_mac.cc',
82       'controls/menu/menu.cc',
83       'controls/menu/menu.h',
84       'controls/menu/menu_config.cc',
85       'controls/menu/menu_config.h',
86       'controls/menu/menu_config_mac.cc',
87       'controls/menu/menu_config_win.cc',
88       'controls/menu/menu_controller.cc',
89       'controls/menu/menu_controller.h',
90       'controls/menu/menu_controller_delegate.h',
91       'controls/menu/menu_delegate.cc',
92       'controls/menu/menu_delegate.h',
93       'controls/menu/menu_event_dispatcher_linux.cc',
94       'controls/menu/menu_event_dispatcher_linux.h',
95       'controls/menu/menu_host.cc',
96       'controls/menu/menu_host.h',
97       'controls/menu/menu_host_root_view.cc',
98       'controls/menu/menu_host_root_view.h',
99       'controls/menu/menu_image_util.cc',
100       'controls/menu/menu_image_util.h',
101       'controls/menu/menu_insertion_delegate_win.h',
102       'controls/menu/menu_item_view.cc',
103       'controls/menu/menu_item_view.h',
104       'controls/menu/menu_listener.cc',
105       'controls/menu/menu_listener.h',
106       'controls/menu/menu_message_loop.h',
107       'controls/menu/menu_message_loop_mac.cc',
108       'controls/menu/menu_message_loop_mac.h',
109       'controls/menu/menu_message_pump_dispatcher_win.cc',
110       'controls/menu/menu_message_pump_dispatcher_win.h',
111       'controls/menu/menu_model_adapter.cc',
112       'controls/menu/menu_model_adapter.h',
113       'controls/menu/menu_runner.cc',
114       'controls/menu/menu_runner.h',
115       'controls/menu/menu_runner_handler.h',
116       'controls/menu/menu_runner_impl.cc',
117       'controls/menu/menu_runner_impl.h',
118       'controls/menu/menu_runner_impl_adapter.cc',
119       'controls/menu/menu_runner_impl_adapter.h',
120       'controls/menu/menu_runner_impl_cocoa.h',
121       'controls/menu/menu_runner_impl_cocoa.mm',
122       'controls/menu/menu_runner_impl_interface.h',
123       'controls/menu/menu_scroll_view_container.cc',
124       'controls/menu/menu_scroll_view_container.h',
125       'controls/menu/menu_separator.h',
126       'controls/menu/menu_separator_views.cc',
127       'controls/menu/menu_separator_win.cc',
128       'controls/menu/menu_types.h',
129       'controls/menu/native_menu_win.cc',
130       'controls/menu/native_menu_win.h',
131       'controls/menu/submenu_view.cc',
132       'controls/menu/submenu_view.h',
133       'controls/message_box_view.cc',
134       'controls/message_box_view.h',
135       'controls/native/native_view_host.cc',
136       'controls/native/native_view_host.h',
137       'controls/native/native_view_host_mac.h',
138       'controls/native/native_view_host_mac.mm',
139       'controls/prefix_delegate.h',
140       'controls/prefix_selector.cc',
141       'controls/prefix_selector.h',
142       'controls/progress_bar.cc',
143       'controls/progress_bar.h',
144       'controls/resize_area.cc',
145       'controls/resize_area.h',
146       'controls/resize_area_delegate.h',
147       'controls/scroll_view.cc',
148       'controls/scroll_view.h',
149       'controls/scrollbar/base_scroll_bar.cc',
150       'controls/scrollbar/base_scroll_bar.h',
151       'controls/scrollbar/base_scroll_bar_button.cc',
152       'controls/scrollbar/base_scroll_bar_button.h',
153       'controls/scrollbar/base_scroll_bar_thumb.cc',
154       'controls/scrollbar/base_scroll_bar_thumb.h',
155       'controls/scrollbar/kennedy_scroll_bar.cc',
156       'controls/scrollbar/kennedy_scroll_bar.h',
157       'controls/scrollbar/native_scroll_bar.cc',
158       'controls/scrollbar/native_scroll_bar.h',
159       'controls/scrollbar/native_scroll_bar_views.cc',
160       'controls/scrollbar/native_scroll_bar_views.h',
161       'controls/scrollbar/native_scroll_bar_wrapper.h',
162       'controls/scrollbar/overlay_scroll_bar.cc',
163       'controls/scrollbar/overlay_scroll_bar.h',
164       'controls/scrollbar/scroll_bar.cc',
165       'controls/scrollbar/scroll_bar.h',
166       'controls/separator.cc',
167       'controls/separator.h',
168       'controls/single_split_view.cc',
169       'controls/single_split_view.h',
170       'controls/single_split_view_listener.h',
171       'controls/slide_out_view.cc',
172       'controls/slide_out_view.h',
173       'controls/slider.cc',
174       'controls/slider.h',
175       'controls/styled_label.cc',
176       'controls/styled_label.h',
177       'controls/styled_label_listener.h',
178       'controls/tabbed_pane/tabbed_pane.cc',
179       'controls/tabbed_pane/tabbed_pane.h',
180       'controls/tabbed_pane/tabbed_pane_listener.h',
181       'controls/table/table_header.cc',
182       'controls/table/table_header.h',
183       'controls/table/table_utils.cc',
184       'controls/table/table_utils.h',
185       'controls/table/table_view.cc',
186       'controls/table/table_view.h',
187       'controls/table/table_view_observer.h',
188       'controls/table/table_view_row_background_painter.h',
189       'controls/textfield/textfield.cc',
190       'controls/textfield/textfield.h',
191       'controls/textfield/textfield_controller.cc',
192       'controls/textfield/textfield_controller.h',
193       'controls/textfield/textfield_model.cc',
194       'controls/textfield/textfield_model.h',
195       'controls/throbber.cc',
196       'controls/throbber.h',
197       'controls/tree/tree_view.cc',
198       'controls/tree/tree_view.h',
199       'controls/tree/tree_view_controller.cc',
200       'controls/tree/tree_view_controller.h',
201       'debug_utils.cc',
202       'debug_utils.h',
203       'drag_controller.h',
204       'drag_utils.cc',
205       'drag_utils.h',
206       'drag_utils_mac.mm',
207       'event_monitor.h',
208       'event_monitor_mac.h',
209       'event_monitor_mac.mm',
210       'focus/external_focus_tracker.cc',
211       'focus/external_focus_tracker.h',
212       'focus/focus_manager.cc',
213       'focus/focus_manager.h',
214       'focus/focus_manager_delegate.h',
215       'focus/focus_manager_factory.cc',
216       'focus/focus_manager_factory.h',
217       'focus/focus_search.cc',
218       'focus/focus_search.h',
219       'focus/view_storage.cc',
220       'focus/view_storage.h',
221       'focus/widget_focus_manager.cc',
222       'focus/widget_focus_manager.h',
223       'ime/input_method.h',
224       'ime/input_method_base.cc',
225       'ime/input_method_base.h',
226       'ime/input_method_bridge.cc',
227       'ime/input_method_bridge.h',
228       'ime/input_method_delegate.h',
229       'ime/mock_input_method.cc',
230       'ime/mock_input_method.h',
231       'ime/null_input_method.cc',
232       'ime/null_input_method.h',
233       'layout/box_layout.cc',
234       'layout/box_layout.h',
235       'layout/fill_layout.cc',
236       'layout/fill_layout.h',
237       'layout/grid_layout.cc',
238       'layout/grid_layout.h',
239       'layout/layout_constants.h',
240       'layout/layout_manager.cc',
241       'layout/layout_manager.h',
242       'linux_ui/linux_ui.cc',
243       'linux_ui/linux_ui.h',
244       'linux_ui/status_icon_linux.cc',
245       'linux_ui/status_icon_linux.h',
246       'linux_ui/window_button_order_observer.h',
247       'linux_ui/window_button_order_provider.cc',
248       'masked_targeter_delegate.cc',
249       'masked_targeter_delegate.h',
250       'metrics.cc',
251       'metrics.h',
252       'metrics_mac.cc',
253       'mouse_constants.h',
254       'mouse_watcher.cc',
255       'mouse_watcher.h',
256       'mouse_watcher_view_host.cc',
257       'mouse_watcher_view_host.h',
258       'native_cursor.h',
259       'native_cursor_mac.mm',
260       'native_theme_delegate.h',
261       'painter.cc',
262       'painter.h',
263       'rect_based_targeting_utils.cc',
264       'rect_based_targeting_utils.h',
265       'repeat_controller.cc',
266       'repeat_controller.h',
267       'round_rect_painter.cc',
268       'round_rect_painter.h',
269       'shadow_border.cc',
270       'shadow_border.h',
271       'view.cc',
272       'view.h',
273       'view_constants.cc',
274       'view_constants.h',
275       'view_model.cc',
276       'view_model.h',
277       'view_model_utils.cc',
278       'view_model_utils.h',
279       'view_targeter.cc',
280       'view_targeter.h',
281       'view_targeter_delegate.cc',
282       'view_targeter_delegate.h',
283       'views_delegate.cc',
284       'views_delegate.h',
285       'views_switches.cc',
286       'views_switches.h',
287       'views_touch_selection_controller_factory.h',
288       'views_touch_selection_controller_factory_mac.cc',
289       'widget/drop_helper.cc',
290       'widget/drop_helper.h',
291       'widget/monitor_win.cc',
292       'widget/monitor_win.h',
293       'widget/native_widget.h',
294       'widget/native_widget_delegate.h',
295       'widget/native_widget_mac.h',
296       'widget/native_widget_mac.mm',
297       'widget/native_widget_private.h',
298       'widget/root_view.cc',
299       'widget/root_view.h',
300       'widget/root_view_targeter.cc',
301       'widget/root_view_targeter.h',
302       'widget/tooltip_manager.cc',
303       'widget/tooltip_manager.h',
304       'widget/widget.cc',
305       'widget/widget.h',
306       'widget/widget_aura_utils.cc',
307       'widget/widget_aura_utils.h',
308       'widget/widget_delegate.cc',
309       'widget/widget_delegate.h',
310       'widget/widget_deletion_observer.cc',
311       'widget/widget_deletion_observer.h',
312       'widget/widget_observer.h',
313       'widget/widget_removals_observer.h',
314       'window/client_view.cc',
315       'window/client_view.h',
316       'window/custom_frame_view.cc',
317       'window/custom_frame_view.h',
318       'window/dialog_client_view.cc',
319       'window/dialog_client_view.h',
320       'window/dialog_delegate.cc',
321       'window/dialog_delegate.h',
322       'window/frame_background.cc',
323       'window/frame_background.h',
324       'window/frame_buttons.h',
325       'window/native_frame_view.cc',
326       'window/native_frame_view.h',
327       'window/non_client_view.cc',
328       'window/non_client_view.h',
329       'window/window_button_order_provider.cc',
330       'window/window_button_order_provider.h',
331       'window/window_resources.h',
332       'window/window_shape.cc',
333       'window/window_shape.h',
334     ],
335     'views_win_sources': [
336       'controls/menu/menu_2.cc',
337       'controls/menu/menu_2.h',
338       'controls/menu/menu_wrapper.h',
339       'widget/widget_hwnd_utils.cc',
340       'widget/widget_hwnd_utils.h',
341       'win/fullscreen_handler.cc',
342       'win/fullscreen_handler.h',
343       'win/hwnd_message_handler.cc',
344       'win/hwnd_message_handler.h',
345       'win/hwnd_message_handler_delegate.h',
346       'win/hwnd_util.h',
347       'win/hwnd_util_aurawin.cc',
348       'win/scoped_fullscreen_visibility.cc',
349       'win/scoped_fullscreen_visibility.h',
350     ],
351     'views_aura_sources': [
352       'accessibility/ax_aura_obj_cache.cc',
353       'accessibility/ax_aura_obj_cache.h',
354       'accessibility/ax_view_obj_wrapper.cc',
355       'accessibility/ax_view_obj_wrapper.h',
356       'accessibility/ax_widget_obj_wrapper.cc',
357       'accessibility/ax_widget_obj_wrapper.h',
358       'accessibility/ax_window_obj_wrapper.cc',
359       'accessibility/ax_window_obj_wrapper.h',
360       'bubble/bubble_window_targeter.cc',
361       'bubble/bubble_window_targeter.h',
362       'bubble/tray_bubble_view.cc',
363       'bubble/tray_bubble_view.h',
364       'controls/menu/display_change_listener_aura.cc',
365       'controls/menu/menu_config_aura.cc',
366       'controls/menu/menu_message_loop_aura.cc',
367       'controls/menu/menu_message_loop_aura.h',
368       'controls/native/native_view_host_aura.cc',
369       'controls/native/native_view_host_aura.h',
370       'corewm/cursor_height_provider_win.cc',
371       'corewm/cursor_height_provider_win.h',
372       'corewm/tooltip.h',
373       'corewm/tooltip_aura.cc',
374       'corewm/tooltip_aura.h',
375       'corewm/tooltip_controller.cc',
376       'corewm/tooltip_controller.h',
377       'corewm/tooltip_win.cc',
378       'corewm/tooltip_win.h',
379       'drag_utils_aura.cc',
380       'event_monitor_aura.cc',
381       'event_monitor_aura.h',
382       'metrics_aura.cc',
383       'native_cursor_aura.cc',
384       'touchui/touch_editing_menu.cc',
385       'touchui/touch_editing_menu.h',
386       'touchui/touch_selection_controller_impl.cc',
387       'touchui/touch_selection_controller_impl.h',
388       'view_constants_aura.cc',
389       'view_constants_aura.h',
390       'views_touch_selection_controller_factory_aura.cc',
391       'widget/native_widget_aura.cc',
392       'widget/native_widget_aura.h',
393       'widget/tooltip_manager_aura.cc',
394       'widget/tooltip_manager_aura.h',
395       'widget/window_reorderer.cc',
396       'widget/window_reorderer.h',
397     ],
398     'views_desktop_aura_sources': [
399       'widget/desktop_aura/desktop_capture_client.cc',
400       'widget/desktop_aura/desktop_capture_client.h',
401       'widget/desktop_aura/desktop_cursor_loader_updater.h',
402       'widget/desktop_aura/desktop_dispatcher_client.cc',
403       'widget/desktop_aura/desktop_dispatcher_client.h',
404       'widget/desktop_aura/desktop_drop_target_win.cc',
405       'widget/desktop_aura/desktop_drop_target_win.h',
406       'widget/desktop_aura/desktop_event_client.cc',
407       'widget/desktop_aura/desktop_event_client.h',
408       'widget/desktop_aura/desktop_focus_rules.cc',
409       'widget/desktop_aura/desktop_focus_rules.h',
410       'widget/desktop_aura/desktop_native_cursor_manager.cc',
411       'widget/desktop_aura/desktop_native_cursor_manager.h',
412       'widget/desktop_aura/desktop_native_widget_aura.cc',
413       'widget/desktop_aura/desktop_native_widget_aura.h',
414       'widget/desktop_aura/desktop_screen.h',
415       'widget/desktop_aura/desktop_screen_position_client.cc',
416       'widget/desktop_aura/desktop_screen_position_client.h',
417       'widget/desktop_aura/desktop_window_tree_host.h',
418     ],
419     'views_desktop_aura_linux_sources': [
420       'widget/desktop_aura/desktop_cursor_loader_updater_auralinux.cc',
421       'widget/desktop_aura/desktop_cursor_loader_updater_auralinux.h',
422     ],
423     'views_desktop_aura_x11_sources': [
424       'accessibility/native_view_accessibility_auralinux.cc',
425       'accessibility/native_view_accessibility_auralinux.h',
426       'widget/desktop_aura/desktop_drag_drop_client_aurax11.cc',
427       'widget/desktop_aura/desktop_drag_drop_client_aurax11.h',
428       'widget/desktop_aura/desktop_screen_x11.cc',
429       'widget/desktop_aura/desktop_screen_x11.h',
430       'widget/desktop_aura/desktop_window_tree_host_x11.cc',
431       'widget/desktop_aura/desktop_window_tree_host_x11.h',
432       'widget/desktop_aura/x11_desktop_handler.cc',
433       'widget/desktop_aura/x11_desktop_handler.h',
434       'widget/desktop_aura/x11_desktop_window_move_client.cc',
435       'widget/desktop_aura/x11_desktop_window_move_client.h',
436       'widget/desktop_aura/x11_move_loop.h',
437       'widget/desktop_aura/x11_move_loop_delegate.h',
438       'widget/desktop_aura/x11_pointer_grab.cc',
439       'widget/desktop_aura/x11_pointer_grab.h',
440       'widget/desktop_aura/x11_topmost_window_finder.cc',
441       'widget/desktop_aura/x11_topmost_window_finder.h',
442       'widget/desktop_aura/x11_whole_screen_move_loop.cc',
443       'widget/desktop_aura/x11_whole_screen_move_loop.h',
444       'widget/desktop_aura/x11_window_event_filter.cc',
445       'widget/desktop_aura/x11_window_event_filter.h',
446     ],
447     'views_desktop_aura_win_sources': [
448       'widget/desktop_aura/desktop_cursor_loader_updater_aurawin.cc',
449       'widget/desktop_aura/desktop_drag_drop_client_win.cc',
450       'widget/desktop_aura/desktop_drag_drop_client_win.h',
451       'widget/desktop_aura/desktop_screen_win.cc',
452       'widget/desktop_aura/desktop_screen_win.h',
453       'widget/desktop_aura/desktop_window_tree_host_win.cc',
454       'widget/desktop_aura/desktop_window_tree_host_win.h',
455     ],
456     'views_desktop_aura_ozone_sources': [
457       'widget/desktop_aura/desktop_factory_ozone.cc',
458       'widget/desktop_aura/desktop_factory_ozone.h',
459       'widget/desktop_aura/desktop_screen_ozone.cc',
460       'widget/desktop_aura/desktop_window_tree_host_ozone.cc',
461     ],
462     'views_test_support_sources': [
463       'controls/textfield/textfield_test_api.cc',
464       'controls/textfield/textfield_test_api.h',
465       'test/capture_tracking_view.cc',
466       'test/capture_tracking_view.h',
467       'test/desktop_test_views_delegate.h',
468       'test/desktop_test_views_delegate_mac.mm',
469       'test/event_generator_delegate_mac.h',
470       'test/event_generator_delegate_mac.mm',
471       'test/focus_manager_test.cc',
472       'test/focus_manager_test.h',
473       'test/menu_runner_test_api.cc',
474       'test/menu_runner_test_api.h',
475       'test/slider_test_api.cc',
476       'test/slider_test_api.h',
477       'test/test_views.cc',
478       'test/test_views.h',
479       'test/test_views_delegate.h',
480       'test/test_views_delegate_mac.mm',
481       'test/test_widget_observer.cc',
482       'test/test_widget_observer.h',
483       'test/views_test_base.cc',
484       'test/views_test_base.h',
485       'test/views_test_helper.cc',
486       'test/views_test_helper.h',
487       'test/views_test_helper_mac.h',
488       'test/views_test_helper_mac.mm',
489       'test/widget_test.cc',
490       'test/widget_test.h',
491       'test/widget_test_mac.mm',
492       'test/x11_property_change_waiter.cc',
493       'test/x11_property_change_waiter.h',
494     ],
495     'views_test_support_aura_sources': [
496       'corewm/tooltip_controller_test_helper.cc',
497       'corewm/tooltip_controller_test_helper.h',
498       'test/desktop_test_views_delegate_aura.cc',
499       'test/test_views_delegate_aura.cc',
500       'test/views_test_helper_aura.cc',
501       'test/views_test_helper_aura.h',
502       'test/widget_test_aura.cc',
503     ],
504     'views_test_support_desktop_aura_x11_sources': [
505       'test/ui_controls_factory_desktop_aurax11.cc',
506       'test/ui_controls_factory_desktop_aurax11.h',
507     ],
508     'views_unittests_sources': [
509       'accessibility/native_view_accessibility_unittest.cc',
510       'accessibility/native_view_accessibility_win_unittest.cc',
511       'accessible_pane_view_unittest.cc',
512       'animation/bounds_animator_unittest.cc',
513       'bubble/bubble_border_unittest.cc',
514       'bubble/bubble_delegate_unittest.cc',
515       'bubble/bubble_frame_view_unittest.cc',
516       'bubble/bubble_window_targeter_unittest.cc',
517       'cocoa/bridged_native_widget_unittest.mm',
518       'cocoa/cocoa_mouse_capture_unittest.mm',
519       'controls/button/blue_button_unittest.cc',
520       'controls/button/custom_button_unittest.cc',
521       'controls/button/image_button_unittest.cc',
522       'controls/button/label_button_unittest.cc',
523       'controls/button/menu_button_unittest.cc',
524       'controls/combobox/combobox_unittest.cc',
525       'controls/label_unittest.cc',
526       'controls/menu/menu_controller_unittest.cc',
527       'controls/menu/menu_item_view_unittest.cc',
528       'controls/menu/menu_model_adapter_unittest.cc',
529       'controls/menu/menu_runner_cocoa_unittest.mm',
530       'controls/native/native_view_host_mac_unittest.mm',
531       'controls/native/native_view_host_test_base.cc',
532       'controls/native/native_view_host_test_base.h',
533       'controls/native/native_view_host_unittest.cc',
534       'controls/prefix_selector_unittest.cc',
535       'controls/progress_bar_unittest.cc',
536       'controls/scroll_view_unittest.cc',
537       'controls/scrollbar/scrollbar_unittest.cc',
538       'controls/single_split_view_unittest.cc',
539       'controls/slider_unittest.cc',
540       'controls/styled_label_unittest.cc',
541       'controls/tabbed_pane/tabbed_pane_unittest.cc',
542       'controls/table/table_utils_unittest.cc',
543       'controls/table/table_view_unittest.cc',
544       'controls/table/test_table_model.cc',
545       'controls/table/test_table_model.h',
546       'controls/textfield/textfield_model_unittest.cc',
547       'controls/textfield/textfield_unittest.cc',
548       'controls/tree/tree_view_unittest.cc',
549       'event_monitor_unittest.cc',
550       'focus/focus_manager_unittest.cc',
551       'focus/focus_traversal_unittest.cc',
552       'layout/box_layout_unittest.cc',
553       'layout/grid_layout_unittest.cc',
554       'rect_based_targeting_utils_unittest.cc',
555       'run_all_unittests.cc',
556       'view_model_unittest.cc',
557       'view_model_utils_unittest.cc',
558       'view_targeter_unittest.cc',
559       'view_unittest.cc',
560       'widget/native_widget_mac_unittest.mm',
561       'widget/native_widget_unittest.cc',
562       'widget/root_view_unittest.cc',
563       'widget/widget_unittest.cc',
564       'widget/window_reorderer_unittest.cc',
565       'window/custom_frame_view_unittest.cc',
566       'window/dialog_client_view_unittest.cc',
567       'window/dialog_delegate_unittest.cc',
568     ],
569     'views_unittests_desktop_sources': [
570       'ime/input_method_bridge_unittest.cc',
571       'widget/desktop_widget_unittest.cc',
572     ],
573     'views_unittests_aura_sources': [
574       'controls/native/native_view_host_aura_unittest.cc',
575       'corewm/tooltip_controller_unittest.cc',
576       'touchui/touch_selection_controller_impl_unittest.cc',
577       'view_unittest_aura.cc',
578       'widget/native_widget_aura_unittest.cc',
579     ],
580     'views_unittests_desktop_aura_sources': [
581       'widget/desktop_aura/desktop_focus_rules_unittest.cc',
582       'widget/desktop_aura/desktop_native_widget_aura_unittest.cc',
583     ],
584     'views_unittests_desktop_aurax11_sources': [
585       'widget/desktop_aura/desktop_drag_drop_client_aurax11_unittest.cc',
586       'widget/desktop_aura/desktop_screen_x11_unittest.cc',
587       'widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc',
588     ],
589   },
590   'targets': [
591     {
592       # GN version: //ui/views
593       'target_name': 'views',
594       'type': '<(component)',
595       'dependencies': [
596         '../../base/base.gyp:base',
597         '../../base/base.gyp:base_i18n',
598         '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
599         '../../skia/skia.gyp:skia',
600         '../../third_party/icu/icu.gyp:icui18n',
601         '../../third_party/icu/icu.gyp:icuuc',
602         '../../url/url.gyp:url_lib',
603         '../accessibility/accessibility.gyp:accessibility',
604         '../accessibility/accessibility.gyp:ax_gen',
605         '../base/ime/ui_base_ime.gyp:ui_base_ime',
606         '../base/ui_base.gyp:ui_base',
607         '../compositor/compositor.gyp:compositor',
608         '../events/events.gyp:events',
609         '../events/events.gyp:events_base',
610         '../events/platform/events_platform.gyp:events_platform',
611         '../gfx/gfx.gyp:gfx',
612         '../gfx/gfx.gyp:gfx_geometry',
613         '../native_theme/native_theme.gyp:native_theme',
614         '../resources/ui_resources.gyp:ui_resources',
615         '../strings/ui_strings.gyp:ui_strings',
616       ],
617       'export_dependent_settings': [
618         '../accessibility/accessibility.gyp:ax_gen',
619       ],
620       'defines': [
621         'VIEWS_IMPLEMENTATION',
622       ],
623       'sources': [
624         '<@(views_sources)',
625       ],
626       'conditions': [
627         ['use_ash==0', {
628           'sources!': [
629             'bubble/tray_bubble_view.cc',
630             'bubble/tray_bubble_view.h',
631           ],
632         }],
633         ['chromeos==0 and use_x11==1', {
634           'dependencies': [
635             '../display/display.gyp:display_util',
636           ],
637         }],
638         ['OS=="linux" and chromeos==0 and use_ozone==0', {
639           'dependencies': [
640             '../../build/linux/system.gyp:atk',
641            ],
642         }],
643         ['OS=="linux" and chromeos==0', {
644           'dependencies': [
645             '../shell_dialogs/shell_dialogs.gyp:shell_dialogs',
646           ],
647           'sources!': [
648             'window/window_button_order_provider.cc',
649           ],
650         }, { # OS=="linux" and chromeos==0
651           'sources/': [
652             ['exclude', 'linux_ui'],
653           ],
654         }],
655         ['OS=="win"', {
656           'sources': [
657             '<@(views_win_sources)',
658           ],
659           'dependencies': [
660             # For accessibility
661             '../../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
662           ],
663           'include_dirs': [
664             '../../third_party/wtl/include',
665           ],
666           'link_settings': {
667             'libraries': [
668               '-limm32.lib',
669               '-loleacc.lib',
670             ],
671             'msvs_settings': {
672               'VCLinkerTool': {
673                 'DelayLoadDLLs': [
674                   'user32.dll',
675                 ],
676               },
677             },
678           },
679           # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
680           'msvs_disabled_warnings': [ 4267, ],
681         }],
682         ['use_ozone==1', {
683           'dependencies': [
684             '../ozone/ozone.gyp:ozone',
685           ],
686         }],
687         ['use_x11==1', {
688           'dependencies': [
689             '../../build/linux/system.gyp:x11',
690             '../../build/linux/system.gyp:xrandr',
691             '../events/devices/events_devices.gyp:events_devices',
692             '../events/platform/x11/x11_events_platform.gyp:x11_events_platform',
693             '../gfx/x/gfx_x11.gyp:gfx_x11',
694           ],
695         }],
696         ['use_aura==1', {
697           'sources': [
698             '<@(views_aura_sources)',
699           ],
700           'dependencies': [
701             '../aura/aura.gyp:aura',
702             '../wm/wm.gyp:wm',
703           ],
704         }],
705         ['use_aura and chromeos == 0', {
706           'sources': [ '<@(views_desktop_aura_sources)' ],
707           'conditions': [
708             ['OS == "linux"', {
709               'sources': [ '<@(views_desktop_aura_linux_sources)' ],
710             }],
711             ['use_x11 == 1', {
712               'sources': [ '<@(views_desktop_aura_x11_sources)' ],
713               'dependencies': [
714                 '../../build/linux/system.gyp:xext',
715               ],
716             }],
717             ['OS == "win"', {
718               'sources': [ '<@(views_desktop_aura_win_sources)' ],
719             }],
720             ['use_ozone==1', {
721               'sources': [ '<@(views_desktop_aura_ozone_sources)' ],
722             }],
723           ],
724         }],
725         ['OS=="mac"', {
726           'dependencies': [
727             '../accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_widget_mac',
728           ],
729         }],
730       ],
731     }, # target_name: views
732     {
733       # GN version: //ui/views:test_support
734       'target_name': 'views_test_support',
735       'type': 'static_library',
736       'dependencies': [
737         '../../base/base.gyp:base',
738         '../../ipc/ipc.gyp:test_support_ipc',
739         '../../skia/skia.gyp:skia',
740         '../../testing/gtest.gyp:gtest',
741         '../base/ime/ui_base_ime.gyp:ui_base_ime',
742         '../base/ui_base.gyp:ui_base',
743         '../compositor/compositor.gyp:compositor',
744         '../compositor/compositor.gyp:compositor_test_support',
745         '../events/events.gyp:events',
746         '../events/events.gyp:events_test_support',
747         '../events/platform/events_platform.gyp:events_platform',
748         '../gfx/gfx.gyp:gfx',
749         '../gfx/gfx.gyp:gfx_geometry',
750         'views',
751       ],
752       'include_dirs': [
753         '..',
754       ],
755       'sources': [
756         '<@(views_test_support_sources)',
757       ],
758       'conditions': [
759         ['use_aura==1', {
760           'sources': [ '<@(views_test_support_aura_sources)' ],
761           'dependencies': [
762             '../aura/aura.gyp:aura',
763             '../aura/aura.gyp:aura_test_support',
764             '../wm/wm.gyp:wm',
765           ],
766         }],
767         ['use_aura==1 and use_x11==1 and chromeos==0', {
768           'sources': [ '<@(views_test_support_desktop_aura_x11_sources)' ],
769         }],
770       ],
771     },  # target_name: views_test_support
772     {
773       # GN version: //ui/views:views_unittests
774       'target_name': 'views_unittests',
775       'type': 'executable',
776       'dependencies': [
777         '../../base/base.gyp:base',
778         '../../base/base.gyp:base_i18n',
779         '../../base/base.gyp:test_support_base',
780         '../../skia/skia.gyp:skia',
781         '../../testing/gtest.gyp:gtest',
782         '../../third_party/icu/icu.gyp:icui18n',
783         '../../third_party/icu/icu.gyp:icuuc',
784         '../../url/url.gyp:url_lib',
785         '../accessibility/accessibility.gyp:accessibility',
786         '../base/ime/ui_base_ime.gyp:ui_base_ime',
787         '../base/ui_base.gyp:ui_base',
788         '../base/ui_base.gyp:ui_base_test_support',
789         '../compositor/compositor.gyp:compositor',
790         '../events/events.gyp:events',
791         '../events/events.gyp:events_base',
792         '../events/events.gyp:events_test_support',
793         '../gfx/gfx.gyp:gfx',
794         '../gfx/gfx.gyp:gfx_geometry',
795         '../resources/ui_resources.gyp:ui_resources',
796         '../resources/ui_resources.gyp:ui_test_pak',
797         '../strings/ui_strings.gyp:ui_strings',
798         'views',
799         'views_test_support',
800       ],
801       'include_dirs': [
802         '..',
803       ],
804       'sources': [
805         '<@(views_unittests_sources)',
806       ],
807       'conditions': [
808         ['OS=="win"', {
809           'dependencies': [
810             '../../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
811           ],
812           'link_settings': {
813             'libraries': [
814               '-limm32.lib',
815               '-loleacc.lib',
816               '-lcomctl32.lib',
817             ]
818           },
819           'include_dirs': [
820             '../third_party/wtl/include',
821           ],
822           'msvs_settings': {
823             'VCManifestTool': {
824               'AdditionalManifestFiles': [
825                 '$(ProjectDir)\\test\\views_unittest.manifest',
826               ],
827             },
828           },
829         }],
830         ['OS=="win" and win_use_allocator_shim==1', {
831           'dependencies': [
832             '../../base/allocator/allocator.gyp:allocator',
833           ],
834         }],
835         ['OS=="linux" and use_allocator!="none"', {
836            # See http://crbug.com/162998#c4 for why this is needed.
837           'dependencies': [
838             '../../base/allocator/allocator.gyp:allocator',
839           ],
840         }],
841         ['use_x11==1', {
842           'dependencies': [
843             '../../build/linux/system.gyp:x11',
844             '../../build/linux/system.gyp:xext',
845             '../events/devices/events_devices.gyp:events_devices',
846             '../events/platform/x11/x11_events_platform.gyp:x11_events_platform',
847           ],
848         }],
849         ['use_aura==1', {
850           'sources': [ '<@(views_unittests_aura_sources)' ],
851           'dependencies': [
852             '../aura/aura.gyp:aura',
853             '../aura/aura.gyp:aura_test_support',
854             '../wm/wm.gyp:wm',
855           ],
856           'conditions': [
857             ['chromeos == 0', {
858               'sources': [ '<@(views_unittests_desktop_aura_sources)' ],
859             }],
860             ['chromeos == 0 and use_x11==1', {
861               'sources': [ '<@(views_unittests_desktop_aurax11_sources)' ],
862             }],
863           ]
864         }],
865         ['chromeos==0', {
866           'sources': [ '<@(views_unittests_desktop_sources)' ],
867         }],
868         ['use_x11==1', {
869           'dependencies': [
870             '../events/platform/x11/x11_events_platform.gyp:x11_events_platform',
871           ],
872         }],
873         ['OS=="mac"', {
874           # views_unittests not yet compiling on Mac. http://crbug.com/378134
875           'sources!': [
876             'bubble/bubble_window_targeter_unittest.cc',
877             'controls/button/custom_button_unittest.cc',
878             'controls/menu/menu_controller_unittest.cc',
879             'controls/native/native_view_host_unittest.cc',
880             'focus/focus_manager_unittest.cc',
881             'ime/input_method_bridge_unittest.cc',
882             'widget/window_reorderer_unittest.cc',
883           ]
884         }],
885       ],
886     },  # target_name: views_unittests
887   ],  # targets
888   'conditions': [
889     ['OS=="mac"', {
890       'targets': [
891         {
892           # GN version: //ui/views:macviews_interactive_ui_tests
893           'target_name': 'macviews_interactive_ui_tests',
894           'type': 'executable',
895           'dependencies': [
896             '../../base/base.gyp:base',
897             '../../base/base.gyp:test_support_base',
898             '../../skia/skia.gyp:skia',
899             '../../testing/gtest.gyp:gtest',
900             '../compositor/compositor.gyp:compositor_test_support',
901             '../resources/ui_resources.gyp:ui_resources',
902             '../resources/ui_resources.gyp:ui_test_pak',
903             '../strings/ui_strings.gyp:ui_strings',
904             'views',
905             'views_test_support',
906           ],
907           'sources': [
908             'cocoa/bridged_native_widget_interactive_uitest.mm',
909             'run_all_unittests.cc',
910             'widget/native_widget_mac_interactive_uitest.mm',
911           ],
912           'conditions': [
913             ['use_aura == 1', {
914               'dependencies': [
915                 '../aura/aura.gyp:aura',
916                 '../wm/wm.gyp:wm',
917               ],
918             }],
919           ],
920         },  # target_name: macviews_interactive_ui_tests
921       ],  # targets
922     }],
923   ],  # conditions