Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 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. |
| 4 | { |
| 5 | 'variables': { |
| 6 | 'chromium_code': 1, |
| 7 | }, |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 8 | 'target_defaults': { |
| 9 | 'conditions': [ |
| 10 | ['use_aura==1', { |
| 11 | 'sources/': [ ['exclude', '_win\\.(h|cc)$'] ], |
| 12 | 'dependencies': [ '../aura/aura.gyp:aura', ], |
| 13 | }], |
| 14 | ['OS!="linux" or chromeos==1', { |
| 15 | 'sources/': [ ['exclude', '_linux\\.(h|cc)$'] ], |
| 16 | }], |
| 17 | ], |
| 18 | }, |
| 19 | 'targets': [ |
| 20 | { |
| 21 | 'target_name': 'views', |
| 22 | 'type': '<(component)', |
| 23 | 'dependencies': [ |
| 24 | '../../base/base.gyp:base', |
| 25 | '../../base/base.gyp:base_i18n', |
| 26 | '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 27 | '../../skia/skia.gyp:skia', |
| 28 | '../../third_party/icu/icu.gyp:icui18n', |
| 29 | '../../third_party/icu/icu.gyp:icuuc', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 30 | '../../url/url.gyp:url_lib', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 31 | '../base/strings/ui_strings.gyp:ui_strings', |
| 32 | '../compositor/compositor.gyp:compositor', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 33 | '../native_theme/native_theme.gyp:native_theme', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 34 | '../ui.gyp:ui', |
| 35 | '../ui.gyp:ui_resources', |
| 36 | ], |
| 37 | 'defines': [ |
| 38 | 'VIEWS_IMPLEMENTATION', |
| 39 | ], |
| 40 | 'sources': [ |
| 41 | # All .cc, .h under views, except unittests |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 42 | 'accessibility/native_view_accessibility.cc', |
| 43 | 'accessibility/native_view_accessibility.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 44 | 'accessibility/native_view_accessibility_win.cc', |
| 45 | 'accessibility/native_view_accessibility_win.h', |
| 46 | 'accessible_pane_view.cc', |
| 47 | 'accessible_pane_view.h', |
| 48 | 'animation/bounds_animator.cc', |
| 49 | 'animation/bounds_animator.h', |
| 50 | 'animation/scroll_animator.cc', |
| 51 | 'animation/scroll_animator.h', |
| 52 | 'background.cc', |
| 53 | 'background.h', |
| 54 | 'border.cc', |
| 55 | 'border.h', |
| 56 | 'bubble/bubble_border.cc', |
| 57 | 'bubble/bubble_border.h', |
| 58 | 'bubble/bubble_delegate.cc', |
| 59 | 'bubble/bubble_delegate.h', |
| 60 | 'bubble/bubble_frame_view.cc', |
| 61 | 'bubble/bubble_frame_view.h', |
| 62 | 'bubble/tray_bubble_view.cc', |
| 63 | 'bubble/tray_bubble_view.h', |
| 64 | 'button_drag_utils.cc', |
| 65 | 'button_drag_utils.h', |
| 66 | 'color_chooser/color_chooser_listener.h', |
| 67 | 'color_chooser/color_chooser_view.cc', |
| 68 | 'color_chooser/color_chooser_view.h', |
| 69 | 'color_constants.cc', |
| 70 | 'color_constants.h', |
| 71 | 'context_menu_controller.h', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 72 | 'controls/button/blue_button.cc', |
| 73 | 'controls/button/blue_button.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 74 | 'controls/button/button.cc', |
| 75 | 'controls/button/button.h', |
| 76 | 'controls/button/button_dropdown.cc', |
| 77 | 'controls/button/button_dropdown.h', |
| 78 | 'controls/button/checkbox.cc', |
| 79 | 'controls/button/checkbox.h', |
| 80 | 'controls/button/custom_button.cc', |
| 81 | 'controls/button/custom_button.h', |
| 82 | 'controls/button/image_button.cc', |
| 83 | 'controls/button/image_button.h', |
| 84 | 'controls/button/label_button.cc', |
| 85 | 'controls/button/label_button.h', |
| 86 | 'controls/button/label_button_border.cc', |
| 87 | 'controls/button/label_button_border.h', |
| 88 | 'controls/button/menu_button.cc', |
| 89 | 'controls/button/menu_button.h', |
| 90 | 'controls/button/menu_button_listener.h', |
| 91 | 'controls/button/radio_button.cc', |
| 92 | 'controls/button/radio_button.h', |
| 93 | 'controls/button/text_button.cc', |
| 94 | 'controls/button/text_button.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 95 | 'controls/combobox/combobox.cc', |
| 96 | 'controls/combobox/combobox.h', |
| 97 | 'controls/combobox/combobox_listener.h', |
| 98 | 'controls/combobox/native_combobox_views.cc', |
| 99 | 'controls/combobox/native_combobox_views.h', |
| 100 | 'controls/combobox/native_combobox_win.cc', |
| 101 | 'controls/combobox/native_combobox_win.h', |
| 102 | 'controls/combobox/native_combobox_wrapper.h', |
| 103 | 'controls/focusable_border.cc', |
| 104 | 'controls/focusable_border.h', |
| 105 | 'controls/glow_hover_controller.cc', |
| 106 | 'controls/glow_hover_controller.h', |
| 107 | 'controls/image_view.cc', |
| 108 | 'controls/image_view.h', |
| 109 | 'controls/label.cc', |
| 110 | 'controls/label.h', |
| 111 | 'controls/link.cc', |
| 112 | 'controls/link.h', |
| 113 | 'controls/link_listener.h', |
| 114 | 'controls/menu/display_change_listener_aura.cc', |
| 115 | 'controls/menu/menu.cc', |
| 116 | 'controls/menu/menu.h', |
| 117 | 'controls/menu/menu_2.cc', |
| 118 | 'controls/menu/menu_2.h', |
| 119 | 'controls/menu/menu_config.cc', |
| 120 | 'controls/menu/menu_config.h', |
| 121 | 'controls/menu/menu_config_views.cc', |
| 122 | 'controls/menu/menu_config_win.cc', |
| 123 | 'controls/menu/menu_controller.cc', |
| 124 | 'controls/menu/menu_controller.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 125 | 'controls/menu/menu_controller_aura.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 126 | 'controls/menu/menu_controller_delegate.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 127 | 'controls/menu/menu_controller_win.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 128 | 'controls/menu/menu_delegate.cc', |
| 129 | 'controls/menu/menu_delegate.h', |
| 130 | 'controls/menu/menu_host.cc', |
| 131 | 'controls/menu/menu_host.h', |
| 132 | 'controls/menu/menu_host_root_view.cc', |
| 133 | 'controls/menu/menu_host_root_view.h', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 134 | 'controls/menu/menu_insertion_delegate_win.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 135 | 'controls/menu/menu_item_view.cc', |
| 136 | 'controls/menu/menu_item_view.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 137 | 'controls/menu/menu_listener.cc', |
| 138 | 'controls/menu/menu_listener.h', |
| 139 | 'controls/menu/menu_model_adapter.cc', |
| 140 | 'controls/menu/menu_model_adapter.h', |
| 141 | 'controls/menu/menu_runner.cc', |
| 142 | 'controls/menu/menu_runner.h', |
| 143 | 'controls/menu/menu_scroll_view_container.cc', |
| 144 | 'controls/menu/menu_scroll_view_container.h', |
| 145 | 'controls/menu/menu_separator.h', |
| 146 | 'controls/menu/menu_separator_views.cc', |
| 147 | 'controls/menu/menu_separator_win.cc', |
| 148 | 'controls/menu/menu_win.cc', |
| 149 | 'controls/menu/menu_win.h', |
| 150 | 'controls/menu/menu_wrapper.h', |
| 151 | 'controls/menu/native_menu_win.cc', |
| 152 | 'controls/menu/native_menu_win.h', |
| 153 | 'controls/menu/menu_image_util.cc', |
| 154 | 'controls/menu/menu_image_util.h', |
| 155 | 'controls/menu/submenu_view.cc', |
| 156 | 'controls/menu/submenu_view.h', |
| 157 | 'controls/message_box_view.cc', |
| 158 | 'controls/message_box_view.h', |
| 159 | 'controls/native_control.cc', |
| 160 | 'controls/native_control.h', |
| 161 | 'controls/native_control_win.cc', |
| 162 | 'controls/native_control_win.h', |
| 163 | 'controls/native/native_view_host.cc', |
| 164 | 'controls/native/native_view_host.h', |
| 165 | 'controls/native/native_view_host_aura.cc', |
| 166 | 'controls/native/native_view_host_aura.h', |
| 167 | 'controls/native/native_view_host_win.cc', |
| 168 | 'controls/native/native_view_host_win.h', |
Ben Murdoch | fb25065 | 2013-07-31 11:42:55 +0100 | [diff] [blame] | 169 | 'controls/prefix_delegate.h', |
| 170 | 'controls/prefix_selector.cc', |
| 171 | 'controls/prefix_selector.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 172 | 'controls/progress_bar.cc', |
| 173 | 'controls/progress_bar.h', |
| 174 | 'controls/resize_area.cc', |
| 175 | 'controls/resize_area.h', |
| 176 | 'controls/resize_area_delegate.h', |
| 177 | 'controls/scroll_view.cc', |
| 178 | 'controls/scroll_view.h', |
| 179 | 'controls/scrollbar/base_scroll_bar.cc', |
| 180 | 'controls/scrollbar/base_scroll_bar.h', |
| 181 | 'controls/scrollbar/base_scroll_bar_button.cc', |
| 182 | 'controls/scrollbar/base_scroll_bar_button.h', |
| 183 | 'controls/scrollbar/base_scroll_bar_thumb.cc', |
| 184 | 'controls/scrollbar/base_scroll_bar_thumb.h', |
| 185 | 'controls/scrollbar/bitmap_scroll_bar.cc', |
| 186 | 'controls/scrollbar/bitmap_scroll_bar.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 187 | 'controls/scrollbar/kennedy_scroll_bar.cc', |
| 188 | 'controls/scrollbar/kennedy_scroll_bar.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 189 | 'controls/scrollbar/native_scroll_bar_views.cc', |
| 190 | 'controls/scrollbar/native_scroll_bar_views.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 191 | 'controls/scrollbar/native_scroll_bar_wrapper.h', |
| 192 | 'controls/scrollbar/native_scroll_bar.cc', |
| 193 | 'controls/scrollbar/native_scroll_bar.h', |
Torne (Richard Coles) | 5e3f23d | 2013-06-11 16:24:11 +0100 | [diff] [blame] | 194 | 'controls/scrollbar/overlay_scroll_bar.cc', |
| 195 | 'controls/scrollbar/overlay_scroll_bar.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 196 | 'controls/scrollbar/scroll_bar.cc', |
| 197 | 'controls/scrollbar/scroll_bar.h', |
| 198 | 'controls/separator.cc', |
| 199 | 'controls/separator.h', |
| 200 | 'controls/single_split_view.cc', |
| 201 | 'controls/single_split_view.h', |
| 202 | 'controls/single_split_view_listener.h', |
| 203 | 'controls/slide_out_view.cc', |
| 204 | 'controls/slide_out_view.h', |
| 205 | 'controls/slider.cc', |
| 206 | 'controls/slider.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 207 | 'controls/styled_label.cc', |
| 208 | 'controls/styled_label.h', |
| 209 | 'controls/styled_label_listener.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 210 | 'controls/tabbed_pane/tabbed_pane.cc', |
| 211 | 'controls/tabbed_pane/tabbed_pane.h', |
| 212 | 'controls/tabbed_pane/tabbed_pane_listener.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 213 | 'controls/table/table_header.cc', |
| 214 | 'controls/table/table_header.h', |
| 215 | 'controls/table/table_utils.cc', |
| 216 | 'controls/table/table_utils.h', |
| 217 | 'controls/table/table_view.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 218 | 'controls/table/table_view.h', |
| 219 | 'controls/table/table_view_observer.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 220 | 'controls/table/table_view_row_background_painter.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 221 | 'controls/textfield/native_textfield_views.cc', |
| 222 | 'controls/textfield/native_textfield_views.h', |
| 223 | 'controls/textfield/native_textfield_win.cc', |
| 224 | 'controls/textfield/native_textfield_win.h', |
| 225 | 'controls/textfield/native_textfield_wrapper.h', |
| 226 | 'controls/textfield/textfield.cc', |
| 227 | 'controls/textfield/textfield.h', |
| 228 | 'controls/textfield/textfield_controller.cc', |
| 229 | 'controls/textfield/textfield_controller.h', |
| 230 | 'controls/textfield/textfield_views_model.cc', |
| 231 | 'controls/textfield/textfield_views_model.h', |
| 232 | 'controls/throbber.cc', |
| 233 | 'controls/throbber.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 234 | 'controls/tree/tree_view.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 235 | 'controls/tree/tree_view.h', |
| 236 | 'controls/tree/tree_view_controller.cc', |
| 237 | 'controls/tree/tree_view_controller.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 238 | 'corewm/base_focus_rules.cc', |
| 239 | 'corewm/base_focus_rules.h', |
| 240 | 'corewm/compound_event_filter.cc', |
| 241 | 'corewm/compound_event_filter.h', |
| 242 | 'corewm/corewm_switches.cc', |
| 243 | 'corewm/corewm_switches.h', |
| 244 | 'corewm/cursor_manager.cc', |
| 245 | 'corewm/cursor_manager.h', |
| 246 | 'corewm/focus_controller.cc', |
| 247 | 'corewm/focus_controller.h', |
| 248 | 'corewm/focus_rules.h', |
| 249 | 'corewm/image_grid.cc', |
| 250 | 'corewm/image_grid.h', |
| 251 | 'corewm/input_method_event_filter.cc', |
| 252 | 'corewm/input_method_event_filter.h', |
| 253 | 'corewm/native_cursor_manager.h', |
| 254 | 'corewm/native_cursor_manager_delegate.h', |
| 255 | 'corewm/shadow.cc', |
| 256 | 'corewm/shadow.h', |
| 257 | 'corewm/shadow_controller.cc', |
| 258 | 'corewm/shadow_controller.h', |
| 259 | 'corewm/shadow_types.cc', |
| 260 | 'corewm/shadow_types.h', |
| 261 | 'corewm/tooltip_controller.cc', |
| 262 | 'corewm/tooltip_controller.h', |
| 263 | 'corewm/visibility_controller.cc', |
| 264 | 'corewm/visibility_controller.h', |
| 265 | 'corewm/window_animations.cc', |
| 266 | 'corewm/window_animations.h', |
| 267 | 'corewm/window_modality_controller.cc', |
| 268 | 'corewm/window_modality_controller.h', |
| 269 | 'corewm/window_util.cc', |
| 270 | 'corewm/window_util.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 271 | 'debug_utils.cc', |
| 272 | 'debug_utils.h', |
| 273 | 'drag_controller.h', |
| 274 | 'drag_utils.cc', |
| 275 | 'drag_utils.h', |
| 276 | 'focus/accelerator_handler.h', |
| 277 | 'focus/accelerator_handler_aura.cc', |
| 278 | 'focus/accelerator_handler_win.cc', |
| 279 | 'focus/external_focus_tracker.cc', |
| 280 | 'focus/external_focus_tracker.h', |
| 281 | 'focus/focus_manager.cc', |
| 282 | 'focus/focus_manager.h', |
| 283 | 'focus/focus_manager_delegate.h', |
| 284 | 'focus/focus_manager_factory.cc', |
| 285 | 'focus/focus_manager_factory.h', |
| 286 | 'focus/focus_search.cc', |
| 287 | 'focus/focus_search.h', |
| 288 | 'focus/view_storage.cc', |
| 289 | 'focus/view_storage.h', |
| 290 | 'focus/widget_focus_manager.cc', |
| 291 | 'focus/widget_focus_manager.h', |
| 292 | 'focus_border.cc', |
| 293 | 'focus_border.h', |
| 294 | 'ime/input_method_base.cc', |
| 295 | 'ime/input_method_base.h', |
| 296 | 'ime/input_method_bridge.cc', |
| 297 | 'ime/input_method_bridge.h', |
| 298 | 'ime/input_method_delegate.h', |
| 299 | 'ime/input_method.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 300 | 'ime/mock_input_method.cc', |
| 301 | 'ime/mock_input_method.h', |
| 302 | 'layout/box_layout.cc', |
| 303 | 'layout/box_layout.h', |
| 304 | 'layout/fill_layout.cc', |
| 305 | 'layout/fill_layout.h', |
| 306 | 'layout/grid_layout.cc', |
| 307 | 'layout/grid_layout.h', |
| 308 | 'layout/layout_constants.h', |
| 309 | 'layout/layout_manager.cc', |
| 310 | 'layout/layout_manager.h', |
| 311 | 'metrics.cc', |
| 312 | 'metrics.h', |
| 313 | 'metrics_aura.cc', |
| 314 | 'metrics_win.cc', |
| 315 | 'mouse_watcher.cc', |
| 316 | 'mouse_watcher.h', |
| 317 | 'mouse_watcher_view_host.cc', |
| 318 | 'mouse_watcher_view_host.h', |
| 319 | 'native_theme_delegate.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 320 | 'painter.cc', |
| 321 | 'painter.h', |
| 322 | 'repeat_controller.cc', |
| 323 | 'repeat_controller.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 324 | 'round_rect_painter.cc', |
| 325 | 'round_rect_painter.h', |
Ben Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 326 | 'shadow_border.cc', |
| 327 | 'shadow_border.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 328 | 'touchui/touch_editing_menu.cc', |
| 329 | 'touchui/touch_editing_menu.h', |
| 330 | 'touchui/touch_selection_controller_impl.cc', |
| 331 | 'touchui/touch_selection_controller_impl.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 332 | 'view.cc', |
| 333 | 'view.h', |
| 334 | 'view_constants.cc', |
| 335 | 'view_constants.h', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 336 | 'view_constants_aura.cc', |
| 337 | 'view_constants_aura.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 338 | 'view_aura.cc', |
| 339 | 'view_model.cc', |
| 340 | 'view_model.h', |
| 341 | 'view_model_utils.cc', |
| 342 | 'view_model_utils.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 343 | 'view_win.cc', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 344 | 'views_delegate.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 345 | 'views_delegate.h', |
| 346 | 'widget/aero_tooltip_manager.cc', |
| 347 | 'widget/aero_tooltip_manager.h', |
| 348 | 'widget/child_window_message_processor.cc', |
| 349 | 'widget/child_window_message_processor.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 350 | 'widget/desktop_aura/desktop_activation_client.cc', |
| 351 | 'widget/desktop_aura/desktop_activation_client.h', |
| 352 | 'widget/desktop_aura/desktop_capture_client.cc', |
| 353 | 'widget/desktop_aura/desktop_capture_client.h', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 354 | 'widget/desktop_aura/desktop_cursor_loader_updater.h', |
| 355 | 'widget/desktop_aura/desktop_cursor_loader_updater_aurax11.cc', |
| 356 | 'widget/desktop_aura/desktop_cursor_loader_updater_aurax11.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 357 | 'widget/desktop_aura/desktop_dispatcher_client.cc', |
| 358 | 'widget/desktop_aura/desktop_dispatcher_client.h', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 359 | 'widget/desktop_aura/desktop_drag_drop_client_aurax11.cc', |
| 360 | 'widget/desktop_aura/desktop_drag_drop_client_aurax11.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 361 | 'widget/desktop_aura/desktop_drag_drop_client_win.cc', |
| 362 | 'widget/desktop_aura/desktop_drag_drop_client_win.h', |
| 363 | 'widget/desktop_aura/desktop_drop_target_win.cc', |
| 364 | 'widget/desktop_aura/desktop_drop_target_win.h', |
| 365 | 'widget/desktop_aura/desktop_focus_rules.cc', |
| 366 | 'widget/desktop_aura/desktop_focus_rules.h', |
| 367 | 'widget/desktop_aura/desktop_layout_manager.cc', |
| 368 | 'widget/desktop_aura/desktop_layout_manager.h', |
| 369 | 'widget/desktop_aura/desktop_native_cursor_manager.cc', |
| 370 | 'widget/desktop_aura/desktop_native_cursor_manager.h', |
| 371 | 'widget/desktop_aura/desktop_native_widget_aura.cc', |
| 372 | 'widget/desktop_aura/desktop_native_widget_aura.h', |
| 373 | 'widget/desktop_aura/desktop_root_window_host.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 374 | 'widget/desktop_aura/desktop_root_window_host_win.cc', |
| 375 | 'widget/desktop_aura/desktop_root_window_host_win.h', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 376 | 'widget/desktop_aura/desktop_root_window_host_x11.cc', |
| 377 | 'widget/desktop_aura/desktop_root_window_host_x11.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 378 | 'widget/desktop_aura/desktop_screen.h', |
| 379 | 'widget/desktop_aura/desktop_screen_position_client.cc', |
| 380 | 'widget/desktop_aura/desktop_screen_position_client.h', |
| 381 | 'widget/desktop_aura/desktop_screen_win.cc', |
| 382 | 'widget/desktop_aura/desktop_screen_win.h', |
| 383 | 'widget/desktop_aura/desktop_screen_x11.cc', |
| 384 | 'widget/desktop_aura/x11_desktop_handler.cc', |
| 385 | 'widget/desktop_aura/x11_desktop_handler.h', |
| 386 | 'widget/desktop_aura/x11_desktop_window_move_client.cc', |
| 387 | 'widget/desktop_aura/x11_desktop_window_move_client.h', |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 388 | 'widget/desktop_aura/x11_whole_screen_move_loop.cc', |
| 389 | 'widget/desktop_aura/x11_whole_screen_move_loop.h', |
| 390 | 'widget/desktop_aura/x11_whole_screen_move_loop_delegate.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 391 | 'widget/desktop_aura/x11_window_event_filter.cc', |
| 392 | 'widget/desktop_aura/x11_window_event_filter.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 393 | 'widget/drop_helper.cc', |
| 394 | 'widget/drop_helper.h', |
| 395 | 'widget/drop_target_win.cc', |
| 396 | 'widget/drop_target_win.h', |
| 397 | 'widget/root_view.cc', |
| 398 | 'widget/root_view.h', |
| 399 | 'widget/tooltip_manager_aura.cc', |
| 400 | 'widget/tooltip_manager_aura.h', |
| 401 | 'widget/tooltip_manager_win.cc', |
| 402 | 'widget/tooltip_manager_win.h', |
| 403 | 'widget/tooltip_manager.cc', |
| 404 | 'widget/tooltip_manager.h', |
| 405 | 'widget/monitor_win.cc', |
| 406 | 'widget/monitor_win.h', |
| 407 | 'widget/native_widget.h', |
| 408 | 'widget/native_widget_aura.cc', |
| 409 | 'widget/native_widget_aura.h', |
| 410 | 'widget/native_widget_aura_window_observer.cc', |
| 411 | 'widget/native_widget_aura_window_observer.h', |
| 412 | 'widget/native_widget_delegate.h', |
| 413 | 'widget/native_widget_private.h', |
| 414 | 'widget/native_widget_win.cc', |
| 415 | 'widget/native_widget_win.h', |
| 416 | 'widget/widget.cc', |
| 417 | 'widget/widget.h', |
| 418 | 'widget/widget_aura_utils.cc', |
| 419 | 'widget/widget_aura_utils.h', |
| 420 | 'widget/widget_delegate.cc', |
| 421 | 'widget/widget_delegate.h', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 422 | 'widget/widget_deletion_observer.cc', |
| 423 | 'widget/widget_deletion_observer.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 424 | 'widget/widget_hwnd_utils.cc', |
| 425 | 'widget/widget_hwnd_utils.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 426 | 'widget/widget_observer.h', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 427 | 'widget/window_reorderer.cc', |
| 428 | 'widget/window_reorderer.h', |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 429 | 'win/appbar.cc', |
| 430 | 'win/appbar.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 431 | 'win/fullscreen_handler.cc', |
| 432 | 'win/fullscreen_handler.h', |
| 433 | 'win/hwnd_message_handler.cc', |
| 434 | 'win/hwnd_message_handler.h', |
| 435 | 'win/hwnd_message_handler_delegate.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 436 | 'win/hwnd_util.h', |
| 437 | 'win/hwnd_util_aurawin.cc', |
| 438 | 'win/hwnd_util_win.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 439 | 'win/scoped_fullscreen_visibility.cc', |
| 440 | 'win/scoped_fullscreen_visibility.h', |
| 441 | 'window/client_view.cc', |
| 442 | 'window/client_view.h', |
| 443 | 'window/custom_frame_view.cc', |
| 444 | 'window/custom_frame_view.h', |
| 445 | 'window/dialog_client_view.cc', |
| 446 | 'window/dialog_client_view.h', |
| 447 | 'window/dialog_delegate.cc', |
| 448 | 'window/dialog_delegate.h', |
| 449 | 'window/frame_background.cc', |
| 450 | 'window/frame_background.h', |
| 451 | 'window/native_frame_view.cc', |
| 452 | 'window/native_frame_view.h', |
| 453 | 'window/non_client_view.cc', |
| 454 | 'window/non_client_view.h', |
| 455 | 'window/window_resources.h', |
| 456 | 'window/window_shape.cc', |
| 457 | 'window/window_shape.h', |
| 458 | ], |
| 459 | 'include_dirs': [ |
| 460 | '../../third_party/wtl/include', |
| 461 | ], |
| 462 | 'conditions': [ |
| 463 | ['use_aura==1', { |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 464 | 'sources!': [ |
| 465 | 'controls/native_control.cc', |
| 466 | 'controls/native_control.h', |
| 467 | 'controls/scrollbar/bitmap_scroll_bar.cc', |
| 468 | 'controls/scrollbar/bitmap_scroll_bar.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 469 | 'controls/table/table_view_observer.h', |
| 470 | 'widget/aero_tooltip_manager.cc', |
| 471 | 'widget/aero_tooltip_manager.h', |
| 472 | 'widget/child_window_message_processor.cc', |
| 473 | 'widget/child_window_message_processor.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 474 | 'widget/tooltip_manager_win.cc', |
| 475 | 'widget/tooltip_manager_win.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 476 | ], |
| 477 | 'conditions': [ |
| 478 | ['OS=="mac"', { |
| 479 | 'sources/': [ |
| 480 | ['exclude', 'mouse_watcher.cc'], |
| 481 | ['exclude', 'controls/menu/'], |
| 482 | ['exclude', 'controls/scrollbar/'], |
| 483 | ['exclude', 'focus/accelerator_handler_aura.cc'], |
| 484 | ], |
| 485 | }], |
| 486 | ['OS=="win"', { |
| 487 | 'sources/': [ |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 488 | ['include', 'controls/menu/menu_insertion_delegate_win.h'], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 489 | ['include', 'controls/menu/native_menu_win.cc'], |
| 490 | ['include', 'controls/menu/native_menu_win.h'], |
| 491 | ['include', 'widget/desktop_aura/desktop_screen_win.cc'], |
| 492 | ['include', 'widget/desktop_aura/desktop_drag_drop_client_win.cc'], |
| 493 | ['include', 'widget/desktop_aura/desktop_drop_target_win.cc'], |
| 494 | ['include', 'widget/desktop_aura/desktop_root_window_host_win.cc'], |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 495 | ['include', 'widget/monitor_win.cc'], |
| 496 | ['include', 'widget/monitor_win.h'], |
| 497 | ['include', 'win/appbar.cc'], |
| 498 | ['include', 'win/appbar.h'], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 499 | ], |
| 500 | }], |
| 501 | ], |
| 502 | }], |
| 503 | ['use_aura==0', { |
| 504 | 'sources/': [ |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 505 | ['exclude', 'corewm'], |
| 506 | ['exclude', 'widget/desktop_aura'], |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 507 | ['exclude', 'widget/window_reorderer.h'], |
| 508 | ['exclude', 'widget/window_reorderer.cc'], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 509 | ], |
| 510 | 'sources!': [ |
| 511 | 'widget/native_widget_aura_window_observer.cc', |
| 512 | 'widget/native_widget_aura_window_observer.h', |
| 513 | 'widget/widget_aura_utils.cc', |
| 514 | 'widget/widget_aura_utils.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 515 | ], |
| 516 | }], |
| 517 | ['chromeos==1', { |
| 518 | 'sources/': [ |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 519 | ['exclude', 'widget/desktop_aura'], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 520 | ], |
| 521 | }], |
Ben Murdoch | 7dbb3d5 | 2013-07-17 14:55:54 +0100 | [diff] [blame] | 522 | ['use_ash==0', { |
| 523 | 'sources!': [ |
| 524 | 'bubble/tray_bubble_view.cc', |
| 525 | 'bubble/tray_bubble_view.h', |
| 526 | ], |
| 527 | }], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 528 | ['use_aura==0 and OS=="win"', { |
| 529 | 'sources!': [ |
| 530 | 'controls/menu/menu_config_views.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 531 | 'controls/menu/menu_separator_views.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 532 | ], |
| 533 | }], |
| 534 | ['use_aura==1 and OS=="win"', { |
| 535 | 'sources/': [ |
| 536 | ['include', 'controls/menu/menu_config_win.cc'], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 537 | ['include', 'controls/menu/menu_separator_win.cc'], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 538 | ['include', 'accessibility/native_view_accessibility_win.cc'], |
| 539 | ['include', 'accessibility/native_view_accessibility_win.h'], |
| 540 | ], |
| 541 | }], |
| 542 | ['use_aura==1 and OS=="linux" and chromeos==0', { |
| 543 | 'dependencies': [ |
Ben Murdoch | eb525c5 | 2013-07-10 11:40:50 +0100 | [diff] [blame] | 544 | '../ui.gyp:shell_dialogs', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 545 | '../linux_ui/linux_ui.gyp:linux_ui', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 546 | ], |
| 547 | }], |
| 548 | ['OS=="win"', { |
| 549 | 'dependencies': [ |
| 550 | # For accessibility |
| 551 | '../../third_party/iaccessible2/iaccessible2.gyp:iaccessible2', |
| 552 | ], |
| 553 | 'include_dirs': [ |
| 554 | '../../third_party/wtl/include', |
| 555 | ], |
| 556 | 'link_settings': { |
| 557 | 'msvs_settings': { |
| 558 | 'VCLinkerTool': { |
| 559 | 'DelayLoadDLLs': [ |
| 560 | 'user32.dll', |
| 561 | ], |
| 562 | }, |
| 563 | }, |
| 564 | }, |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 565 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 566 | 'msvs_disabled_warnings': [ 4267, ], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 567 | }], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 568 | ['OS!="win"', { |
| 569 | 'sources!': [ |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 570 | 'controls/menu/menu_wrapper.h', |
| 571 | 'controls/menu/menu_2.cc', |
| 572 | 'controls/menu/menu_2.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 573 | 'win/fullscreen_handler.cc', |
| 574 | 'win/fullscreen_handler.h', |
| 575 | 'win/hwnd_message_handler.cc', |
| 576 | 'win/hwnd_message_handler.h', |
| 577 | 'win/hwnd_message_handler_delegate.h', |
| 578 | 'win/scoped_fullscreen_visibility.cc', |
| 579 | 'win/scoped_fullscreen_visibility.h', |
| 580 | 'widget/widget_hwnd_utils.cc', |
| 581 | 'widget/widget_hwnd_utils.h', |
| 582 | ], |
| 583 | }], |
| 584 | ], |
| 585 | }, # target_name: views |
| 586 | { |
| 587 | 'target_name': 'views_test_support', |
| 588 | 'type': 'static_library', |
| 589 | 'dependencies': [ |
| 590 | '../../base/base.gyp:base', |
| 591 | '../../ipc/ipc.gyp:test_support_ipc', |
| 592 | '../../skia/skia.gyp:skia', |
| 593 | '../../testing/gtest.gyp:gtest', |
| 594 | '../ui.gyp:ui', |
| 595 | 'views', |
| 596 | ], |
| 597 | 'include_dirs': [ |
| 598 | '..', |
| 599 | ], |
| 600 | 'sources': [ |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 601 | 'corewm/tooltip_controller_test_helper.cc', |
| 602 | 'corewm/tooltip_controller_test_helper.h', |
| 603 | 'test/capture_tracking_view.cc', |
| 604 | 'test/capture_tracking_view.h', |
| 605 | 'test/child_modal_window.cc', |
| 606 | 'test/child_modal_window.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 607 | 'test/desktop_test_views_delegate.cc', |
| 608 | 'test/desktop_test_views_delegate.h', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 609 | 'test/test_views.cc', |
| 610 | 'test/test_views.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 611 | 'test/test_views_delegate.cc', |
| 612 | 'test/test_views_delegate.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 613 | 'test/test_widget_observer.cc', |
| 614 | 'test/test_widget_observer.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 615 | 'test/views_test_base.cc', |
| 616 | 'test/views_test_base.h', |
| 617 | ], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 618 | 'conditions': [ |
| 619 | ['use_aura==1', { |
| 620 | 'dependencies': [ |
| 621 | '../aura/aura.gyp:aura_test_support', |
| 622 | '../compositor/compositor.gyp:compositor', |
| 623 | ], |
| 624 | }, { # use_aura==0 |
| 625 | 'sources!': [ |
| 626 | 'corewm/tooltip_controller_test_helper.cc', |
| 627 | 'corewm/tooltip_controller_test_helper.h', |
| 628 | 'test/child_modal_window.cc', |
| 629 | 'test/child_modal_window.h', |
| 630 | ], |
| 631 | }], |
| 632 | ], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 633 | }, # target_name: views_test_support |
| 634 | { |
| 635 | 'target_name': 'views_with_content_test_support', |
| 636 | 'type': 'static_library', |
| 637 | 'dependencies': [ |
| 638 | '../../base/base.gyp:base', |
| 639 | '../../content/content.gyp:content', |
| 640 | '../../content/content.gyp:test_support_content', |
| 641 | '../../ipc/ipc.gyp:test_support_ipc', |
| 642 | '../../skia/skia.gyp:skia', |
| 643 | '../../testing/gtest.gyp:gtest', |
| 644 | '../ui.gyp:ui', |
| 645 | 'controls/webview/webview.gyp:webview', |
| 646 | 'views_test_support', |
| 647 | 'views', |
| 648 | ], |
| 649 | 'include_dirs': [ |
| 650 | '..', |
| 651 | ], |
| 652 | 'sources': [ |
| 653 | 'test/webview_test_helper.cc', |
| 654 | 'test/webview_test_helper.h', |
| 655 | ], |
| 656 | }, # target_name: views_with_content_test_support |
| 657 | { |
| 658 | 'target_name': 'views_unittests', |
| 659 | 'type': 'executable', |
| 660 | 'dependencies': [ |
| 661 | '../../base/base.gyp:base', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 662 | '../../base/base.gyp:base_i18n', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 663 | '../../base/base.gyp:test_support_base', |
| 664 | # TODO(jcivelli): ideally the resource needed by views would be |
| 665 | # factored out. (for some reason it pulls in a bunch |
| 666 | # unrelated things like v8, sqlite nss...). |
| 667 | '../../chrome/chrome_resources.gyp:packed_resources', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 668 | '../../skia/skia.gyp:skia', |
| 669 | '../../testing/gmock.gyp:gmock', |
| 670 | '../../testing/gtest.gyp:gtest', |
| 671 | '../../third_party/icu/icu.gyp:icui18n', |
| 672 | '../../third_party/icu/icu.gyp:icuuc', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 673 | '../../url/url.gyp:url_lib', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 674 | '../base/strings/ui_strings.gyp:ui_strings', |
| 675 | '../compositor/compositor.gyp:compositor', |
| 676 | '../compositor/compositor.gyp:compositor_test_support', |
| 677 | '../ui.gyp:ui', |
| 678 | '../ui.gyp:ui_resources', |
| 679 | '../ui.gyp:ui_test_support', |
| 680 | 'views', |
| 681 | 'views_test_support', |
| 682 | ], |
| 683 | 'include_dirs': [ |
| 684 | '..', |
| 685 | ], |
| 686 | 'sources': [ |
| 687 | 'accessible_pane_view_unittest.cc', |
| 688 | 'animation/bounds_animator_unittest.cc', |
| 689 | 'bubble/bubble_border_unittest.cc', |
| 690 | 'bubble/bubble_delegate_unittest.cc', |
| 691 | 'bubble/bubble_frame_view_unittest.cc', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 692 | 'controls/button/custom_button_unittest.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 693 | 'controls/button/image_button_unittest.cc', |
| 694 | 'controls/button/label_button_unittest.cc', |
| 695 | 'controls/combobox/native_combobox_views_unittest.cc', |
| 696 | 'controls/label_unittest.cc', |
| 697 | 'controls/menu/menu_model_adapter_unittest.cc', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 698 | 'controls/native/native_view_host_aura_unittest.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 699 | 'controls/native/native_view_host_unittest.cc', |
Ben Murdoch | fb25065 | 2013-07-31 11:42:55 +0100 | [diff] [blame] | 700 | 'controls/prefix_selector_unittest.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 701 | 'controls/progress_bar_unittest.cc', |
| 702 | 'controls/scrollbar/scrollbar_unittest.cc', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 703 | 'controls/scroll_view_unittest.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 704 | 'controls/single_split_view_unittest.cc', |
| 705 | 'controls/slider_unittest.cc', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 706 | 'controls/styled_label_unittest.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 707 | 'controls/tabbed_pane/tabbed_pane_unittest.cc', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 708 | 'controls/table/table_utils_unittest.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 709 | 'controls/table/table_view_unittest.cc', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 710 | 'controls/table/test_table_model.cc', |
| 711 | 'controls/table/test_table_model.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 712 | 'controls/textfield/native_textfield_views_unittest.cc', |
| 713 | 'controls/textfield/textfield_views_model_unittest.cc', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 714 | 'controls/tree/tree_view_unittest.cc', |
| 715 | 'corewm/compound_event_filter_unittest.cc', |
| 716 | 'corewm/cursor_manager_unittest.cc', |
| 717 | 'corewm/focus_controller_unittest.cc', |
| 718 | 'corewm/image_grid_unittest.cc', |
| 719 | 'corewm/input_method_event_filter_unittest.cc', |
| 720 | 'corewm/shadow_controller_unittest.cc', |
| 721 | 'corewm/tooltip_controller_unittest.cc', |
| 722 | 'corewm/visibility_controller_unittest.cc', |
| 723 | 'corewm/window_animations_unittest.cc', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 724 | 'corewm/window_util_unittest.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 725 | 'focus/focus_manager_test.h', |
| 726 | 'focus/focus_manager_test.cc', |
| 727 | 'focus/focus_manager_unittest.cc', |
| 728 | 'focus/focus_manager_unittest_win.cc', |
| 729 | 'focus/focus_traversal_unittest.cc', |
Ben Murdoch | 558790d | 2013-07-30 15:19:42 +0100 | [diff] [blame] | 730 | 'ime/input_method_bridge_unittest.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 731 | 'layout/box_layout_unittest.cc', |
| 732 | 'layout/grid_layout_unittest.cc', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 733 | 'touchui/touch_selection_controller_impl_unittest.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 734 | 'view_model_unittest.cc', |
| 735 | 'view_model_utils_unittest.cc', |
| 736 | 'view_unittest.cc', |
Torne (Richard Coles) | c2e0dbd | 2013-05-09 18:35:53 +0100 | [diff] [blame] | 737 | 'window/dialog_client_view_unittest.cc', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 738 | 'window/dialog_delegate_unittest.cc', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 739 | 'widget/desktop_aura/desktop_capture_client_unittest.cc', |
Ben Murdoch | 558790d | 2013-07-30 15:19:42 +0100 | [diff] [blame] | 740 | 'widget/desktop_aura/desktop_screen_position_client_unittest.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 741 | 'widget/native_widget_aura_unittest.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 742 | 'widget/native_widget_unittest.cc', |
| 743 | 'widget/native_widget_win_unittest.cc', |
| 744 | 'widget/widget_unittest.cc', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 745 | 'widget/window_reorderer_unittest.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 746 | 'run_all_unittests.cc', |
| 747 | ], |
| 748 | 'conditions': [ |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 749 | ['chromeos==0', { |
| 750 | 'sources!': [ |
| 751 | 'touchui/touch_selection_controller_impl_unittest.cc', |
| 752 | ], |
Ben Murdoch | 558790d | 2013-07-30 15:19:42 +0100 | [diff] [blame] | 753 | }, { # use_chromeos==1 |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 754 | 'sources/': [ |
Ben Murdoch | 558790d | 2013-07-30 15:19:42 +0100 | [diff] [blame] | 755 | ['exclude', 'ime/input_method_bridge_unittest.cc'], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 756 | ['exclude', 'widget/desktop_aura'], |
| 757 | ], |
| 758 | }], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 759 | ['OS=="win"', { |
| 760 | 'link_settings': { |
| 761 | 'libraries': [ |
| 762 | '-limm32.lib', |
| 763 | '-loleacc.lib', |
| 764 | ] |
| 765 | }, |
| 766 | 'include_dirs': [ |
| 767 | '../third_party/wtl/include', |
| 768 | ], |
| 769 | }], |
| 770 | ['OS=="win" and win_use_allocator_shim==1', { |
| 771 | 'dependencies': [ |
| 772 | '../../base/allocator/allocator.gyp:allocator', |
| 773 | ], |
| 774 | }], |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 775 | ['OS=="linux" and linux_use_tcmalloc==1', { |
| 776 | # See http://crbug.com/162998#c4 for why this is needed. |
| 777 | 'dependencies': [ |
| 778 | '../../base/allocator/allocator.gyp:allocator', |
| 779 | ], |
| 780 | }], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 781 | [ 'use_aura==1', { |
| 782 | 'dependencies': [ |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 783 | '../aura/aura.gyp:aura_test_support', |
| 784 | ], |
| 785 | 'sources!': [ |
| 786 | 'widget/native_widget_win_unittest.cc', |
| 787 | ], |
| 788 | }, { # use_aura==0 |
| 789 | 'sources!': [ |
| 790 | 'controls/native/native_view_host_aura_unittest.cc', |
| 791 | 'widget/native_widget_aura_unittest.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 792 | ], |
| 793 | 'sources/': [ |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 794 | ['exclude', 'corewm'], |
Ben Murdoch | 558790d | 2013-07-30 15:19:42 +0100 | [diff] [blame] | 795 | ['exclude', 'ime/input_method_bridge_unittest.cc'], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 796 | ['exclude', 'widget/desktop_aura'], |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 797 | ['exclude', 'widget/window_reorderer_unittest.cc'] |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 798 | ], |
| 799 | }], |
| 800 | ], |
| 801 | }, # target_name: views_unittests |
| 802 | { |
| 803 | 'target_name': 'views_examples_lib', |
| 804 | 'type': '<(component)', |
| 805 | 'dependencies': [ |
| 806 | '../../base/base.gyp:base', |
| 807 | '../../chrome/chrome_resources.gyp:packed_resources', |
| 808 | '../../skia/skia.gyp:skia', |
| 809 | '../../third_party/icu/icu.gyp:icui18n', |
| 810 | '../../third_party/icu/icu.gyp:icuuc', |
| 811 | '../ui.gyp:ui', |
| 812 | '../ui.gyp:ui_resources', |
| 813 | 'views', |
| 814 | ], |
| 815 | 'include_dirs': [ |
| 816 | '..', |
| 817 | ], |
| 818 | 'defines': [ |
| 819 | 'VIEWS_EXAMPLES_IMPLEMENTATION', |
| 820 | ], |
| 821 | 'sources': [ |
| 822 | 'examples/bubble_example.cc', |
| 823 | 'examples/bubble_example.h', |
| 824 | 'examples/button_example.cc', |
| 825 | 'examples/button_example.h', |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 826 | 'examples/checkbox_example.cc', |
| 827 | 'examples/checkbox_example.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 828 | 'examples/combobox_example.cc', |
| 829 | 'examples/combobox_example.h', |
| 830 | 'examples/double_split_view_example.cc', |
| 831 | 'examples/double_split_view_example.h', |
| 832 | 'examples/example_base.cc', |
| 833 | 'examples/example_base.h', |
| 834 | 'examples/example_combobox_model.cc', |
| 835 | 'examples/example_combobox_model.h', |
| 836 | 'examples/examples_window.cc', |
| 837 | 'examples/examples_window.h', |
| 838 | 'examples/label_example.cc', |
| 839 | 'examples/label_example.h', |
| 840 | 'examples/link_example.cc', |
| 841 | 'examples/link_example.h', |
| 842 | 'examples/message_box_example.cc', |
| 843 | 'examples/message_box_example.h', |
| 844 | 'examples/menu_example.cc', |
| 845 | 'examples/menu_example.h', |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 846 | 'examples/multiline_example.cc', |
| 847 | 'examples/multiline_example.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 848 | 'examples/progress_bar_example.cc', |
| 849 | 'examples/progress_bar_example.h', |
| 850 | 'examples/radio_button_example.cc', |
| 851 | 'examples/radio_button_example.h', |
| 852 | 'examples/scroll_view_example.cc', |
| 853 | 'examples/scroll_view_example.h', |
| 854 | 'examples/single_split_view_example.cc', |
| 855 | 'examples/single_split_view_example.h', |
| 856 | 'examples/slider_example.cc', |
| 857 | 'examples/slider_example.h', |
| 858 | 'examples/tabbed_pane_example.cc', |
| 859 | 'examples/tabbed_pane_example.h', |
| 860 | 'examples/table_example.cc', |
| 861 | 'examples/table_example.h', |
| 862 | 'examples/text_example.cc', |
| 863 | 'examples/text_example.h', |
| 864 | 'examples/textfield_example.cc', |
| 865 | 'examples/textfield_example.h', |
| 866 | 'examples/throbber_example.cc', |
| 867 | 'examples/throbber_example.h', |
| 868 | 'examples/tree_view_example.cc', |
| 869 | 'examples/tree_view_example.h', |
| 870 | 'examples/views_examples_export.h', |
| 871 | 'examples/widget_example.cc', |
| 872 | 'examples/widget_example.h', |
| 873 | ], |
| 874 | 'conditions': [ |
| 875 | ['OS=="win"', { |
| 876 | 'include_dirs': [ |
| 877 | '../third_party/wtl/include', |
| 878 | ], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 879 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 880 | 'msvs_disabled_warnings': [ 4267, ], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 881 | }], |
| 882 | ], |
| 883 | }, # target_name: views_examples_lib |
| 884 | { |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 885 | 'target_name': 'views_examples_exe', |
| 886 | 'type': 'executable', |
| 887 | 'sources': [ |
| 888 | 'examples/examples_main.cc', |
| 889 | ], |
| 890 | }, # target_name: views_examples_exe |
| 891 | { |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 892 | 'target_name': 'views_examples_with_content_lib', |
| 893 | 'type': '<(component)', |
| 894 | 'dependencies': [ |
| 895 | '../../base/base.gyp:base', |
| 896 | '../../base/base.gyp:base_i18n', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 897 | '../../chrome/chrome_resources.gyp:packed_resources', |
| 898 | '../../content/content.gyp:content', |
| 899 | '../../skia/skia.gyp:skia', |
| 900 | '../../third_party/icu/icu.gyp:icui18n', |
| 901 | '../../third_party/icu/icu.gyp:icuuc', |
Torne (Richard Coles) | 868fa2f | 2013-06-11 10:57:03 +0100 | [diff] [blame] | 902 | '../../url/url.gyp:url_lib', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 903 | '../ui.gyp:ui', |
| 904 | '../ui.gyp:ui_resources', |
| 905 | 'controls/webview/webview.gyp:webview', |
| 906 | 'views', |
| 907 | ], |
| 908 | 'include_dirs': [ |
| 909 | '..', |
| 910 | ], |
| 911 | 'defines': [ |
| 912 | 'VIEWS_EXAMPLES_WITH_CONTENT_IMPLEMENTATION', |
| 913 | ], |
| 914 | 'sources': [ |
| 915 | 'examples/bubble_example.cc', |
| 916 | 'examples/bubble_example.h', |
| 917 | 'examples/button_example.cc', |
| 918 | 'examples/button_example.h', |
Torne (Richard Coles) | 90dce4d | 2013-05-29 14:40:03 +0100 | [diff] [blame] | 919 | 'examples/checkbox_example.cc', |
| 920 | 'examples/checkbox_example.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 921 | 'examples/combobox_example.cc', |
| 922 | 'examples/combobox_example.h', |
| 923 | 'examples/double_split_view_example.cc', |
| 924 | 'examples/double_split_view_example.h', |
| 925 | 'examples/example_base.cc', |
| 926 | 'examples/example_base.h', |
| 927 | 'examples/example_combobox_model.cc', |
| 928 | 'examples/example_combobox_model.h', |
| 929 | 'examples/examples_window_with_content.cc', |
| 930 | 'examples/examples_window_with_content.h', |
| 931 | 'examples/label_example.cc', |
| 932 | 'examples/label_example.h', |
| 933 | 'examples/link_example.cc', |
| 934 | 'examples/link_example.h', |
| 935 | 'examples/message_box_example.cc', |
| 936 | 'examples/message_box_example.h', |
| 937 | 'examples/menu_example.cc', |
| 938 | 'examples/menu_example.h', |
Torne (Richard Coles) | 7d4cd47 | 2013-06-19 11:58:07 +0100 | [diff] [blame] | 939 | 'examples/multiline_example.cc', |
| 940 | 'examples/multiline_example.h', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 941 | 'examples/progress_bar_example.cc', |
| 942 | 'examples/progress_bar_example.h', |
| 943 | 'examples/radio_button_example.cc', |
| 944 | 'examples/radio_button_example.h', |
| 945 | 'examples/scroll_view_example.cc', |
| 946 | 'examples/scroll_view_example.h', |
| 947 | 'examples/single_split_view_example.cc', |
| 948 | 'examples/single_split_view_example.h', |
| 949 | 'examples/slider_example.cc', |
| 950 | 'examples/slider_example.h', |
| 951 | 'examples/tabbed_pane_example.cc', |
| 952 | 'examples/tabbed_pane_example.h', |
| 953 | 'examples/table_example.cc', |
| 954 | 'examples/table_example.h', |
| 955 | 'examples/text_example.cc', |
| 956 | 'examples/text_example.h', |
| 957 | 'examples/textfield_example.cc', |
| 958 | 'examples/textfield_example.h', |
| 959 | 'examples/throbber_example.cc', |
| 960 | 'examples/throbber_example.h', |
| 961 | 'examples/tree_view_example.cc', |
| 962 | 'examples/tree_view_example.h', |
| 963 | 'examples/views_examples_with_content_export.h', |
| 964 | 'examples/webview_example.cc', |
| 965 | 'examples/webview_example.h', |
| 966 | 'examples/widget_example.cc', |
| 967 | 'examples/widget_example.h', |
| 968 | ], |
| 969 | 'conditions': [ |
| 970 | ['OS=="win"', { |
| 971 | 'include_dirs': [ |
| 972 | '../third_party/wtl/include', |
| 973 | ], |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 974 | # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 975 | 'msvs_disabled_warnings': [ 4267, ], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 976 | }], |
| 977 | ], |
| 978 | }, # target_name: views_examples_with_content_lib |
| 979 | { |
| 980 | 'target_name': 'views_examples_with_content_exe', |
| 981 | 'type': 'executable', |
| 982 | 'dependencies': [ |
| 983 | '../../base/base.gyp:base', |
| 984 | '../../base/base.gyp:base_i18n', |
| 985 | '../../chrome/chrome_resources.gyp:packed_resources', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 986 | '../../content/content.gyp:content', |
Ben Murdoch | ca12bfa | 2013-07-23 11:17:05 +0100 | [diff] [blame] | 987 | '../../content/content.gyp:content_shell_lib', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 988 | '../../content/content.gyp:test_support_content', |
| 989 | '../../skia/skia.gyp:skia', |
| 990 | '../../third_party/icu/icu.gyp:icui18n', |
| 991 | '../../third_party/icu/icu.gyp:icuuc', |
| 992 | '../ui.gyp:ui', |
| 993 | '../ui.gyp:ui_resources', |
| 994 | 'views', |
| 995 | 'views_examples_with_content_lib', |
| 996 | 'views_test_support' |
| 997 | ], |
| 998 | 'include_dirs': [ |
| 999 | '../..', |
| 1000 | ], |
| 1001 | 'sources': [ |
| 1002 | '../../content/app/startup_helper_win.cc', |
| 1003 | 'examples/content_client/examples_browser_main_parts.cc', |
| 1004 | 'examples/content_client/examples_browser_main_parts.h', |
| 1005 | 'examples/content_client/examples_content_browser_client.cc', |
| 1006 | 'examples/content_client/examples_content_browser_client.h', |
| 1007 | 'examples/content_client/examples_main_delegate.cc', |
| 1008 | 'examples/content_client/examples_main_delegate.h', |
Torne (Richard Coles) | 2a99a7e | 2013-03-28 15:31:22 +0000 | [diff] [blame] | 1009 | 'examples/content_client/examples_main.cc', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 1010 | ], |
| 1011 | 'conditions': [ |
| 1012 | ['OS=="win"', { |
| 1013 | 'link_settings': { |
| 1014 | 'libraries': [ |
| 1015 | '-limm32.lib', |
| 1016 | '-loleacc.lib', |
| 1017 | ] |
| 1018 | }, |
| 1019 | 'msvs_settings': { |
| 1020 | 'VCManifestTool': { |
Ben Murdoch | fb25065 | 2013-07-31 11:42:55 +0100 | [diff] [blame] | 1021 | 'AdditionalManifestFiles': [ |
| 1022 | 'examples\\views_examples.exe.manifest', |
| 1023 | ], |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 1024 | }, |
| 1025 | 'VCLinkerTool': { |
| 1026 | 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS |
| 1027 | }, |
| 1028 | }, |
| 1029 | 'dependencies': [ |
| 1030 | '../../sandbox/sandbox.gyp:sandbox', |
| 1031 | ], |
| 1032 | }], |
| 1033 | ['use_aura==1', { |
| 1034 | 'dependencies': [ |
| 1035 | '../compositor/compositor.gyp:compositor', |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 1036 | ], |
| 1037 | }], |
| 1038 | ['OS=="win"', { |
| 1039 | 'sources/': [ |
| 1040 | # This is needed because the aura rule strips it from the default |
| 1041 | # sources list. |
| 1042 | ['include', '^../../content/app/startup_helper_win.cc'], |
| 1043 | ], |
| 1044 | }], |
| 1045 | ], |
| 1046 | }, # target_name: views_examples_with_content_exe |
| 1047 | ], |
| 1048 | } |