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.
7 # Sources lists shared with GN build.
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/ink_drop_animation_controller.cc',
18 'animation/ink_drop_animation_controller.h',
19 'animation/scroll_animator.cc',
20 'animation/scroll_animator.h',
25 'bubble/bubble_border.cc',
26 'bubble/bubble_border.h',
27 'bubble/bubble_delegate.cc',
28 'bubble/bubble_delegate.h',
29 'bubble/bubble_frame_view.cc',
30 'bubble/bubble_frame_view.h',
31 'button_drag_utils.cc',
32 'button_drag_utils.h',
33 'cocoa/bridged_content_view.h',
34 'cocoa/bridged_content_view.mm',
35 'cocoa/bridged_native_widget.h',
36 'cocoa/bridged_native_widget.mm',
37 'cocoa/bridged_native_widget_owner.h',
38 'cocoa/cocoa_mouse_capture.h',
39 'cocoa/cocoa_mouse_capture.mm',
40 'cocoa/cocoa_mouse_capture_delegate.h',
41 'cocoa/native_widget_mac_nswindow.h',
42 'cocoa/native_widget_mac_nswindow.mm',
43 'cocoa/tooltip_manager_mac.h',
44 'cocoa/tooltip_manager_mac.mm',
45 'cocoa/views_nswindow_delegate.h',
46 'cocoa/views_nswindow_delegate.mm',
47 'cocoa/widget_owner_nswindow_adapter.h',
48 'cocoa/widget_owner_nswindow_adapter.mm',
49 'color_chooser/color_chooser_listener.h',
50 'color_chooser/color_chooser_view.cc',
51 'color_chooser/color_chooser_view.h',
54 'context_menu_controller.h',
55 'controls/button/blue_button.cc',
56 'controls/button/blue_button.h',
57 'controls/button/button.cc',
58 'controls/button/button.h',
59 'controls/button/checkbox.cc',
60 'controls/button/checkbox.h',
61 'controls/button/custom_button.cc',
62 'controls/button/custom_button.h',
63 'controls/button/image_button.cc',
64 'controls/button/image_button.h',
65 'controls/button/label_button.cc',
66 'controls/button/label_button.h',
67 'controls/button/label_button_border.cc',
68 'controls/button/label_button_border.h',
69 'controls/button/menu_button.cc',
70 'controls/button/menu_button.h',
71 'controls/button/menu_button_listener.h',
72 'controls/button/radio_button.cc',
73 'controls/button/radio_button.h',
74 'controls/combobox/combobox.cc',
75 'controls/combobox/combobox.h',
76 'controls/combobox/combobox_listener.h',
77 'controls/focusable_border.cc',
78 'controls/focusable_border.h',
79 'controls/glow_hover_controller.cc',
80 'controls/glow_hover_controller.h',
81 'controls/image_view.cc',
82 'controls/image_view.h',
87 'controls/link_listener.h',
88 'controls/menu/display_change_listener_mac.cc',
89 'controls/menu/menu_config.cc',
90 'controls/menu/menu_config.h',
91 'controls/menu/menu_config_mac.cc',
92 'controls/menu/menu_config_win.cc',
93 'controls/menu/menu_controller.cc',
94 'controls/menu/menu_controller.h',
95 'controls/menu/menu_controller_delegate.h',
96 'controls/menu/menu_delegate.cc',
97 'controls/menu/menu_delegate.h',
98 'controls/menu/menu_host.cc',
99 'controls/menu/menu_host.h',
100 'controls/menu/menu_host_root_view.cc',
101 'controls/menu/menu_host_root_view.h',
102 'controls/menu/menu_image_util.cc',
103 'controls/menu/menu_image_util.h',
104 'controls/menu/menu_insertion_delegate_win.h',
105 'controls/menu/menu_item_view.cc',
106 'controls/menu/menu_item_view.h',
107 'controls/menu/menu_listener.cc',
108 'controls/menu/menu_listener.h',
109 'controls/menu/menu_message_loop.h',
110 'controls/menu/menu_message_loop_mac.cc',
111 'controls/menu/menu_message_loop_mac.h',
112 'controls/menu/menu_message_pump_dispatcher_win.cc',
113 'controls/menu/menu_message_pump_dispatcher_win.h',
114 'controls/menu/menu_model_adapter.cc',
115 'controls/menu/menu_model_adapter.h',
116 'controls/menu/menu_runner.cc',
117 'controls/menu/menu_runner.h',
118 'controls/menu/menu_runner_handler.h',
119 'controls/menu/menu_runner_impl.cc',
120 'controls/menu/menu_runner_impl.h',
121 'controls/menu/menu_runner_impl_adapter.cc',
122 'controls/menu/menu_runner_impl_adapter.h',
123 'controls/menu/menu_runner_impl_cocoa.h',
124 'controls/menu/menu_runner_impl_cocoa.mm',
125 'controls/menu/menu_runner_impl_interface.h',
126 'controls/menu/menu_scroll_view_container.cc',
127 'controls/menu/menu_scroll_view_container.h',
128 'controls/menu/menu_separator.h',
129 'controls/menu/menu_separator_views.cc',
130 'controls/menu/menu_separator_win.cc',
131 'controls/menu/menu_types.h',
132 'controls/menu/native_menu_win.cc',
133 'controls/menu/native_menu_win.h',
134 'controls/menu/submenu_view.cc',
135 'controls/menu/submenu_view.h',
136 'controls/message_box_view.cc',
137 'controls/message_box_view.h',
138 'controls/native/native_view_host.cc',
139 'controls/native/native_view_host.h',
140 'controls/native/native_view_host_mac.h',
141 'controls/native/native_view_host_mac.mm',
142 'controls/prefix_delegate.h',
143 'controls/prefix_selector.cc',
144 'controls/prefix_selector.h',
145 'controls/progress_bar.cc',
146 'controls/progress_bar.h',
147 'controls/resize_area.cc',
148 'controls/resize_area.h',
149 'controls/resize_area_delegate.h',
150 'controls/scroll_view.cc',
151 'controls/scroll_view.h',
152 'controls/scrollbar/base_scroll_bar.cc',
153 'controls/scrollbar/base_scroll_bar.h',
154 'controls/scrollbar/base_scroll_bar_button.cc',
155 'controls/scrollbar/base_scroll_bar_button.h',
156 'controls/scrollbar/base_scroll_bar_thumb.cc',
157 'controls/scrollbar/base_scroll_bar_thumb.h',
158 'controls/scrollbar/kennedy_scroll_bar.cc',
159 'controls/scrollbar/kennedy_scroll_bar.h',
160 'controls/scrollbar/native_scroll_bar.cc',
161 'controls/scrollbar/native_scroll_bar.h',
162 'controls/scrollbar/native_scroll_bar_views.cc',
163 'controls/scrollbar/native_scroll_bar_views.h',
164 'controls/scrollbar/native_scroll_bar_wrapper.h',
165 'controls/scrollbar/overlay_scroll_bar.cc',
166 'controls/scrollbar/overlay_scroll_bar.h',
167 'controls/scrollbar/scroll_bar.cc',
168 'controls/scrollbar/scroll_bar.h',
169 'controls/separator.cc',
170 'controls/separator.h',
171 'controls/single_split_view.cc',
172 'controls/single_split_view.h',
173 'controls/single_split_view_listener.h',
174 'controls/slide_out_view.cc',
175 'controls/slide_out_view.h',
176 'controls/slider.cc',
178 'controls/styled_label.cc',
179 'controls/styled_label.h',
180 'controls/styled_label_listener.h',
181 'controls/tabbed_pane/tabbed_pane.cc',
182 'controls/tabbed_pane/tabbed_pane.h',
183 'controls/tabbed_pane/tabbed_pane_listener.h',
184 'controls/table/table_header.cc',
185 'controls/table/table_header.h',
186 'controls/table/table_utils.cc',
187 'controls/table/table_utils.h',
188 'controls/table/table_view.cc',
189 'controls/table/table_view.h',
190 'controls/table/table_view_observer.h',
191 'controls/table/table_view_row_background_painter.h',
192 'controls/textfield/textfield.cc',
193 'controls/textfield/textfield.h',
194 'controls/textfield/textfield_controller.cc',
195 'controls/textfield/textfield_controller.h',
196 'controls/textfield/textfield_model.cc',
197 'controls/textfield/textfield_model.h',
198 'controls/throbber.cc',
199 'controls/throbber.h',
200 'controls/tree/tree_view.cc',
201 'controls/tree/tree_view.h',
202 'controls/tree/tree_view_controller.cc',
203 'controls/tree/tree_view_controller.h',
211 'event_monitor_mac.h',
212 'event_monitor_mac.mm',
213 'focus/external_focus_tracker.cc',
214 'focus/external_focus_tracker.h',
215 'focus/focus_manager.cc',
216 'focus/focus_manager.h',
217 'focus/focus_manager_delegate.h',
218 'focus/focus_manager_factory.cc',
219 'focus/focus_manager_factory.h',
220 'focus/focus_search.cc',
221 'focus/focus_search.h',
222 'focus/view_storage.cc',
223 'focus/view_storage.h',
224 'focus/widget_focus_manager.cc',
225 'focus/widget_focus_manager.h',
226 'layout/box_layout.cc',
227 'layout/box_layout.h',
228 'layout/fill_layout.cc',
229 'layout/fill_layout.h',
230 'layout/grid_layout.cc',
231 'layout/grid_layout.h',
232 'layout/layout_constants.h',
233 'layout/layout_manager.cc',
234 'layout/layout_manager.h',
235 'linux_ui/linux_ui.cc',
236 'linux_ui/linux_ui.h',
237 'linux_ui/status_icon_linux.cc',
238 'linux_ui/status_icon_linux.h',
239 'linux_ui/window_button_order_observer.h',
240 'linux_ui/window_button_order_provider.cc',
241 'masked_targeter_delegate.cc',
242 'masked_targeter_delegate.h',
249 'mouse_watcher_view_host.cc',
250 'mouse_watcher_view_host.h',
252 'native_cursor_mac.mm',
253 'native_theme_delegate.h',
256 'rect_based_targeting_utils.cc',
257 'rect_based_targeting_utils.h',
258 'repeat_controller.cc',
259 'repeat_controller.h',
260 'round_rect_painter.cc',
261 'round_rect_painter.h',
264 'style/mac/dialog_button_border_mac.cc',
265 'style/mac/dialog_button_border_mac.h',
266 'style/platform_style.cc',
267 'style/platform_style.h',
268 'style/platform_style_mac.cc',
275 'view_model_utils.cc',
276 'view_model_utils.h',
279 'view_targeter_delegate.cc',
280 'view_targeter_delegate.h',
285 'views_touch_selection_controller_factory.h',
286 'views_touch_selection_controller_factory_mac.cc',
287 'widget/drop_helper.cc',
288 'widget/drop_helper.h',
289 'widget/monitor_win.cc',
290 'widget/monitor_win.h',
291 'widget/native_widget.h',
292 'widget/native_widget_delegate.h',
293 'widget/native_widget_mac.h',
294 'widget/native_widget_mac.mm',
295 'widget/native_widget_private.h',
296 'widget/root_view.cc',
297 'widget/root_view.h',
298 'widget/root_view_targeter.cc',
299 'widget/root_view_targeter.h',
300 'widget/tooltip_manager.cc',
301 'widget/tooltip_manager.h',
304 'widget/widget_aura_utils.cc',
305 'widget/widget_aura_utils.h',
306 'widget/widget_delegate.cc',
307 'widget/widget_delegate.h',
308 'widget/widget_deletion_observer.cc',
309 'widget/widget_deletion_observer.h',
310 'widget/widget_observer.h',
311 'widget/widget_removals_observer.h',
312 'window/client_view.cc',
313 'window/client_view.h',
314 'window/custom_frame_view.cc',
315 'window/custom_frame_view.h',
316 'window/dialog_client_view.cc',
317 'window/dialog_client_view.h',
318 'window/dialog_delegate.cc',
319 'window/dialog_delegate.h',
320 'window/frame_background.cc',
321 'window/frame_background.h',
322 'window/frame_buttons.h',
323 'window/native_frame_view.cc',
324 'window/native_frame_view.h',
325 'window/non_client_view.cc',
326 'window/non_client_view.h',
327 'window/window_button_order_provider.cc',
328 'window/window_button_order_provider.h',
329 'window/window_resources.h',
330 'window/window_shape.cc',
331 'window/window_shape.h',
333 'views_win_sources': [
334 'controls/menu/menu_2.cc',
335 'controls/menu/menu_2.h',
336 'controls/menu/menu_wrapper.h',
337 'widget/widget_hwnd_utils.cc',
338 'widget/widget_hwnd_utils.h',
339 'win/fullscreen_handler.cc',
340 'win/fullscreen_handler.h',
341 'win/hwnd_message_handler.cc',
342 'win/hwnd_message_handler.h',
343 'win/hwnd_message_handler_delegate.h',
345 'win/hwnd_util_aurawin.cc',
346 'win/scoped_fullscreen_visibility.cc',
347 'win/scoped_fullscreen_visibility.h',
348 'win/windows_session_change_observer.cc',
349 'win/windows_session_change_observer.h',
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_event_dispatcher.cc',
367 'controls/menu/menu_event_dispatcher.h',
368 'controls/menu/menu_message_loop_aura.cc',
369 'controls/menu/menu_message_loop_aura.h',
370 'controls/native/native_view_host_aura.cc',
371 'controls/native/native_view_host_aura.h',
372 'corewm/cursor_height_provider_win.cc',
373 'corewm/cursor_height_provider_win.h',
375 'corewm/tooltip_aura.cc',
376 'corewm/tooltip_aura.h',
377 'corewm/tooltip_controller.cc',
378 'corewm/tooltip_controller.h',
379 'corewm/tooltip_win.cc',
380 'corewm/tooltip_win.h',
381 'drag_utils_aura.cc',
382 'event_monitor_aura.cc',
383 'event_monitor_aura.h',
385 'native_cursor_aura.cc',
386 'touchui/touch_selection_controller_impl.cc',
387 'touchui/touch_selection_controller_impl.h',
388 'touchui/touch_selection_menu_runner_views.cc',
389 'touchui/touch_selection_menu_runner_views.h',
390 'view_constants_aura.cc',
391 'view_constants_aura.h',
392 'views_touch_selection_controller_factory_aura.cc',
393 'widget/native_widget_aura.cc',
394 'widget/native_widget_aura.h',
395 'widget/tooltip_manager_aura.cc',
396 'widget/tooltip_manager_aura.h',
397 'widget/window_reorderer.cc',
398 'widget/window_reorderer.h',
400 'views_desktop_aura_sources': [
401 'widget/desktop_aura/desktop_capture_client.cc',
402 'widget/desktop_aura/desktop_capture_client.h',
403 'widget/desktop_aura/desktop_cursor_loader_updater.h',
404 'widget/desktop_aura/desktop_dispatcher_client.cc',
405 'widget/desktop_aura/desktop_dispatcher_client.h',
406 'widget/desktop_aura/desktop_drop_target_win.cc',
407 'widget/desktop_aura/desktop_drop_target_win.h',
408 'widget/desktop_aura/desktop_event_client.cc',
409 'widget/desktop_aura/desktop_event_client.h',
410 'widget/desktop_aura/desktop_focus_rules.cc',
411 'widget/desktop_aura/desktop_focus_rules.h',
412 'widget/desktop_aura/desktop_native_cursor_manager.cc',
413 'widget/desktop_aura/desktop_native_cursor_manager.h',
414 'widget/desktop_aura/desktop_native_widget_aura.cc',
415 'widget/desktop_aura/desktop_native_widget_aura.h',
416 'widget/desktop_aura/desktop_screen.h',
417 'widget/desktop_aura/desktop_screen_position_client.cc',
418 'widget/desktop_aura/desktop_screen_position_client.h',
419 'widget/desktop_aura/desktop_window_tree_host.h',
421 'views_desktop_aura_linux_sources': [
422 'style/platform_style_linux.cc',
423 'widget/desktop_aura/desktop_cursor_loader_updater_auralinux.cc',
424 'widget/desktop_aura/desktop_cursor_loader_updater_auralinux.h',
426 'views_desktop_aura_x11_sources': [
427 'accessibility/native_view_accessibility_auralinux.cc',
428 'accessibility/native_view_accessibility_auralinux.h',
429 'widget/desktop_aura/desktop_drag_drop_client_aurax11.cc',
430 'widget/desktop_aura/desktop_drag_drop_client_aurax11.h',
431 'widget/desktop_aura/desktop_screen_x11.cc',
432 'widget/desktop_aura/desktop_screen_x11.h',
433 'widget/desktop_aura/desktop_window_tree_host_x11.cc',
434 'widget/desktop_aura/desktop_window_tree_host_x11.h',
435 'widget/desktop_aura/x11_desktop_handler.cc',
436 'widget/desktop_aura/x11_desktop_handler.h',
437 'widget/desktop_aura/x11_desktop_window_move_client.cc',
438 'widget/desktop_aura/x11_desktop_window_move_client.h',
439 'widget/desktop_aura/x11_move_loop.h',
440 'widget/desktop_aura/x11_move_loop_delegate.h',
441 'widget/desktop_aura/x11_pointer_grab.cc',
442 'widget/desktop_aura/x11_pointer_grab.h',
443 'widget/desktop_aura/x11_topmost_window_finder.cc',
444 'widget/desktop_aura/x11_topmost_window_finder.h',
445 'widget/desktop_aura/x11_whole_screen_move_loop.cc',
446 'widget/desktop_aura/x11_whole_screen_move_loop.h',
447 'widget/desktop_aura/x11_window_event_filter.cc',
448 'widget/desktop_aura/x11_window_event_filter.h',
450 'views_desktop_aura_win_sources': [
451 'widget/desktop_aura/desktop_cursor_loader_updater_aurawin.cc',
452 'widget/desktop_aura/desktop_drag_drop_client_win.cc',
453 'widget/desktop_aura/desktop_drag_drop_client_win.h',
454 'widget/desktop_aura/desktop_screen_win.cc',
455 'widget/desktop_aura/desktop_screen_win.h',
456 'widget/desktop_aura/desktop_window_tree_host_win.cc',
457 'widget/desktop_aura/desktop_window_tree_host_win.h',
459 'views_desktop_aura_ozone_sources': [
460 'widget/desktop_aura/desktop_factory_ozone.cc',
461 'widget/desktop_aura/desktop_factory_ozone.h',
462 'widget/desktop_aura/desktop_screen_ozone.cc',
463 'widget/desktop_aura/desktop_window_tree_host_ozone.cc',
465 'views_test_support_sources': [
466 'controls/textfield/textfield_test_api.cc',
467 'controls/textfield/textfield_test_api.h',
468 'test/capture_tracking_view.cc',
469 'test/capture_tracking_view.h',
470 'test/desktop_test_views_delegate.h',
471 'test/desktop_test_views_delegate_mac.mm',
472 'test/event_generator_delegate_mac.h',
473 'test/event_generator_delegate_mac.mm',
474 'test/focus_manager_test.cc',
475 'test/focus_manager_test.h',
476 'test/menu_runner_test_api.cc',
477 'test/menu_runner_test_api.h',
478 'test/slider_test_api.cc',
479 'test/slider_test_api.h',
480 'test/scoped_views_test_helper.cc',
481 'test/scoped_views_test_helper.h',
482 'test/test_views.cc',
484 'test/test_views_delegate.h',
485 'test/test_views_delegate_mac.mm',
486 'test/test_widget_observer.cc',
487 'test/test_widget_observer.h',
488 'test/views_test_base.cc',
489 'test/views_test_base.h',
490 'test/views_test_helper.cc',
491 'test/views_test_helper.h',
492 'test/views_test_helper_mac.h',
493 'test/views_test_helper_mac.mm',
494 'test/widget_test.cc',
495 'test/widget_test.h',
496 'test/widget_test_mac.mm',
497 'test/x11_property_change_waiter.cc',
498 'test/x11_property_change_waiter.h',
500 'views_test_support_aura_sources': [
501 'corewm/tooltip_controller_test_helper.cc',
502 'corewm/tooltip_controller_test_helper.h',
503 'test/desktop_test_views_delegate_aura.cc',
504 'test/test_views_delegate_aura.cc',
505 'test/views_test_helper_aura.cc',
506 'test/views_test_helper_aura.h',
507 'test/widget_test_aura.cc',
509 'views_test_support_desktop_aura_x11_sources': [
510 'test/ui_controls_factory_desktop_aurax11.cc',
511 'test/ui_controls_factory_desktop_aurax11.h',
513 'views_unittests_sources': [
514 'accessibility/native_view_accessibility_unittest.cc',
515 'accessibility/native_view_accessibility_win_unittest.cc',
516 'accessible_pane_view_unittest.cc',
517 'animation/bounds_animator_unittest.cc',
518 'bubble/bubble_border_unittest.cc',
519 'bubble/bubble_delegate_unittest.cc',
520 'bubble/bubble_frame_view_unittest.cc',
521 'bubble/bubble_window_targeter_unittest.cc',
522 'cocoa/bridged_native_widget_unittest.mm',
523 'cocoa/cocoa_mouse_capture_unittest.mm',
524 'controls/button/blue_button_unittest.cc',
525 'controls/button/custom_button_unittest.cc',
526 'controls/button/image_button_unittest.cc',
527 'controls/button/label_button_unittest.cc',
528 'controls/button/menu_button_unittest.cc',
529 'controls/combobox/combobox_unittest.cc',
530 'controls/label_unittest.cc',
531 'controls/menu/menu_controller_unittest.cc',
532 'controls/menu/menu_item_view_unittest.cc',
533 'controls/menu/menu_model_adapter_unittest.cc',
534 'controls/menu/menu_runner_cocoa_unittest.mm',
535 'controls/native/native_view_host_mac_unittest.mm',
536 'controls/native/native_view_host_test_base.cc',
537 'controls/native/native_view_host_test_base.h',
538 'controls/native/native_view_host_unittest.cc',
539 'controls/prefix_selector_unittest.cc',
540 'controls/progress_bar_unittest.cc',
541 'controls/scroll_view_unittest.cc',
542 'controls/scrollbar/scrollbar_unittest.cc',
543 'controls/single_split_view_unittest.cc',
544 'controls/slider_unittest.cc',
545 'controls/styled_label_unittest.cc',
546 'controls/tabbed_pane/tabbed_pane_unittest.cc',
547 'controls/table/table_utils_unittest.cc',
548 'controls/table/table_view_unittest.cc',
549 'controls/table/test_table_model.cc',
550 'controls/table/test_table_model.h',
551 'controls/textfield/textfield_model_unittest.cc',
552 'controls/textfield/textfield_unittest.cc',
553 'controls/tree/tree_view_unittest.cc',
554 'event_monitor_unittest.cc',
555 'focus/focus_manager_unittest.cc',
556 'focus/focus_traversal_unittest.cc',
557 'layout/box_layout_unittest.cc',
558 'layout/grid_layout_unittest.cc',
559 'rect_based_targeting_utils_unittest.cc',
560 'run_all_unittests.cc',
561 'style/mac/dialog_button_border_mac_unittest.cc',
562 'view_model_unittest.cc',
563 'view_model_utils_unittest.cc',
564 'view_targeter_unittest.cc',
566 'widget/native_widget_mac_unittest.mm',
567 'widget/native_widget_unittest.cc',
568 'widget/root_view_unittest.cc',
569 'widget/widget_unittest.cc',
570 'widget/window_reorderer_unittest.cc',
571 'window/custom_frame_view_unittest.cc',
572 'window/dialog_client_view_unittest.cc',
573 'window/dialog_delegate_unittest.cc',
575 'views_unittests_desktop_sources': [
576 'widget/desktop_widget_unittest.cc',
578 'views_unittests_aura_sources': [
579 'controls/native/native_view_host_aura_unittest.cc',
580 'corewm/tooltip_controller_unittest.cc',
581 'touchui/touch_selection_controller_impl_unittest.cc',
582 'touchui/touch_selection_menu_runner_views_unittest.cc',
583 'view_unittest_aura.cc',
584 'widget/native_widget_aura_unittest.cc',
586 'views_unittests_desktop_aura_sources': [
587 'widget/desktop_aura/desktop_focus_rules_unittest.cc',
588 'widget/desktop_aura/desktop_native_widget_aura_unittest.cc',
590 'views_unittests_desktop_aurax11_sources': [
591 'widget/desktop_aura/desktop_drag_drop_client_aurax11_unittest.cc',
592 'widget/desktop_aura/desktop_screen_x11_unittest.cc',
593 'widget/desktop_aura/desktop_window_tree_host_x11_unittest.cc',
598 # GN version: //ui/views
599 'target_name': 'views',
600 'type': '<(component)',
602 '../../base/base.gyp:base',
603 '../../base/base.gyp:base_i18n',
604 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
605 '../../skia/skia.gyp:skia',
606 '../../third_party/icu/icu.gyp:icui18n',
607 '../../third_party/icu/icu.gyp:icuuc',
608 '../../url/url.gyp:url_lib',
609 '../accessibility/accessibility.gyp:accessibility',
610 '../accessibility/accessibility.gyp:ax_gen',
611 '../base/ime/ui_base_ime.gyp:ui_base_ime',
612 '../base/ui_base.gyp:ui_base',
613 '../compositor/compositor.gyp:compositor',
614 '../events/events.gyp:events',
615 '../events/events.gyp:events_base',
616 '../events/platform/events_platform.gyp:events_platform',
617 '../gfx/gfx.gyp:gfx',
618 '../gfx/gfx.gyp:gfx_geometry',
619 '../gfx/gfx.gyp:gfx_vector_icons',
620 '../native_theme/native_theme.gyp:native_theme',
621 '../resources/ui_resources.gyp:ui_resources',
622 '../strings/ui_strings.gyp:ui_strings',
623 'resources/views_resources.gyp:views_resources',
625 'all_dependent_settings': {
630 'export_dependent_settings': [
631 '../accessibility/accessibility.gyp:ax_gen',
632 'resources/views_resources.gyp:views_resources',
635 'VIEWS_IMPLEMENTATION',
643 'bubble/tray_bubble_view.cc',
644 'bubble/tray_bubble_view.h',
647 ['chromeos==0 and use_x11==1', {
649 '../display/display.gyp:display_util',
652 ['OS=="linux" and chromeos==0 and use_ozone==0', {
654 '../../build/linux/system.gyp:atk',
657 ['OS=="linux" and chromeos==0', {
659 '../shell_dialogs/shell_dialogs.gyp:shell_dialogs',
662 'window/window_button_order_provider.cc',
664 }, { # OS=="linux" and chromeos==0
666 ['exclude', 'linux_ui'],
671 '<@(views_win_sources)',
675 '../../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
678 '../../third_party/wtl/include',
693 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
694 'msvs_disabled_warnings': [ 4267, ],
698 '../ozone/ozone.gyp:ozone',
703 '../../build/linux/system.gyp:x11',
704 '../../build/linux/system.gyp:xrandr',
705 '../events/devices/events_devices.gyp:events_devices',
706 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform',
707 '../gfx/x/gfx_x11.gyp:gfx_x11',
712 '<@(views_aura_sources)',
715 '../aura/aura.gyp:aura',
716 '../touch_selection/ui_touch_selection.gyp:ui_touch_selection',
720 ['use_aura and chromeos == 0', {
721 'sources': [ '<@(views_desktop_aura_sources)' ],
724 'sources': [ '<@(views_desktop_aura_linux_sources)' ],
727 'sources': [ '<@(views_desktop_aura_x11_sources)' ],
729 '../../build/linux/system.gyp:xext',
733 'sources': [ '<@(views_desktop_aura_win_sources)' ],
736 'sources': [ '<@(views_desktop_aura_ozone_sources)' ],
742 '../accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_widget_mac',
746 # Required by bridged_native_widget.mm.
747 '$(SDKROOT)/System/Library/Frameworks/QuartzCore.framework',
752 }, # target_name: views
754 # GN version: //ui/views:test_support
755 'target_name': 'views_test_support',
756 'type': 'static_library',
758 '../../base/base.gyp:base',
759 '../../ipc/ipc.gyp:test_support_ipc',
760 '../../skia/skia.gyp:skia',
761 '../../testing/gtest.gyp:gtest',
762 '../base/ime/ui_base_ime.gyp:ui_base_ime',
763 '../base/ui_base.gyp:ui_base',
764 '../compositor/compositor.gyp:compositor',
765 '../compositor/compositor.gyp:compositor_test_support',
766 '../events/events.gyp:events',
767 '../events/events.gyp:events_test_support',
768 '../events/platform/events_platform.gyp:events_platform',
769 '../gfx/gfx.gyp:gfx',
770 '../gfx/gfx.gyp:gfx_geometry',
771 'resources/views_resources.gyp:views_resources',
778 '<@(views_test_support_sources)',
782 'sources': [ '<@(views_test_support_aura_sources)' ],
784 '../aura/aura.gyp:aura',
785 '../aura/aura.gyp:aura_test_support',
789 ['use_aura==1 and use_x11==1 and chromeos==0', {
790 'sources': [ '<@(views_test_support_desktop_aura_x11_sources)' ],
793 }, # target_name: views_test_support
795 # GN version: //ui/views:views_unittests
796 'target_name': 'views_unittests',
797 'type': 'executable',
799 '../../base/base.gyp:base',
800 '../../base/base.gyp:base_i18n',
801 '../../base/base.gyp:test_support_base',
802 '../../skia/skia.gyp:skia',
803 '../../testing/gtest.gyp:gtest',
804 '../../third_party/icu/icu.gyp:icui18n',
805 '../../third_party/icu/icu.gyp:icuuc',
806 '../../url/url.gyp:url_lib',
807 '../accessibility/accessibility.gyp:accessibility',
808 '../base/ime/ui_base_ime.gyp:ui_base_ime',
809 '../base/ui_base.gyp:ui_base',
810 '../base/ui_base.gyp:ui_base_test_support',
811 '../compositor/compositor.gyp:compositor',
812 '../events/events.gyp:events',
813 '../events/events.gyp:events_base',
814 '../events/events.gyp:events_test_support',
815 '../gfx/gfx.gyp:gfx',
816 '../gfx/gfx.gyp:gfx_geometry',
817 '../resources/ui_resources.gyp:ui_resources',
818 '../resources/ui_resources.gyp:ui_test_pak',
819 '../strings/ui_strings.gyp:ui_strings',
820 'resources/views_resources.gyp:views_resources',
822 'views_test_support',
828 '<@(views_unittests_sources)',
833 '../../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
843 '../third_party/wtl/include',
847 'AdditionalManifestFiles': [
848 '$(ProjectDir)\\test\\views_unittest.manifest',
853 ['OS=="win" and win_use_allocator_shim==1', {
855 '../../base/allocator/allocator.gyp:allocator',
858 ['OS=="linux" and use_allocator!="none"', {
859 # See http://crbug.com/162998#c4 for why this is needed.
861 '../../base/allocator/allocator.gyp:allocator',
866 '../../build/linux/system.gyp:x11',
867 '../../build/linux/system.gyp:xext',
868 '../events/devices/events_devices.gyp:events_devices',
869 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform',
873 'sources': [ '<@(views_unittests_aura_sources)' ],
875 '../aura/aura.gyp:aura',
876 '../aura/aura.gyp:aura_test_support',
877 '../touch_selection/ui_touch_selection.gyp:ui_touch_selection',
882 'sources': [ '<@(views_unittests_desktop_aura_sources)' ],
884 ['chromeos == 0 and use_x11==1', {
885 'sources': [ '<@(views_unittests_desktop_aurax11_sources)' ],
890 'sources': [ '<@(views_unittests_desktop_sources)' ],
894 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform',
898 # views_unittests not yet compiling on Mac. http://crbug.com/378134
900 'bubble/bubble_window_targeter_unittest.cc',
901 'controls/native/native_view_host_unittest.cc',
902 'widget/window_reorderer_unittest.cc',
905 '../accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_widget_mac',
909 }, # target_name: views_unittests
915 # GN version: //ui/views:macviews_interactive_ui_tests
916 'target_name': 'macviews_interactive_ui_tests',
917 'type': 'executable',
919 '../../base/base.gyp:base',
920 '../../base/base.gyp:test_support_base',
921 '../../skia/skia.gyp:skia',
922 '../../testing/gtest.gyp:gtest',
923 '../base/ui_base.gyp:ui_base_test_support',
924 '../compositor/compositor.gyp:compositor_test_support',
925 '../resources/ui_resources.gyp:ui_resources',
926 '../resources/ui_resources.gyp:ui_test_pak',
927 '../strings/ui_strings.gyp:ui_strings',
929 'views_test_support',
932 'cocoa/bridged_native_widget_interactive_uitest.mm',
933 'run_all_unittests.cc',
934 'widget/native_widget_mac_interactive_uitest.mm',
939 '../aura/aura.gyp:aura',
944 }, # target_name: macviews_interactive_ui_tests