OLD | NEW |
| (Empty) |
1 # Copyright (c) 2011 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 }, | |
8 | |
9 'target_defaults': { | |
10 'conditions': [ | |
11 ['OS=="win"', {'sources/': [ | |
12 ['include', '_(win)\\.cc$'], | |
13 ['include', '/win/'], | |
14 ['include', '/win_[^/]*\\.cc$'], | |
15 ]}], | |
16 ['use_aura==1', { | |
17 'sources/': [ ['exclude', '_win\\.(h|cc)$'], | |
18 ['exclude', '_gtk\\.(h|cc)$'], | |
19 ['exclude', '_x\\.(h|cc)$'] ], | |
20 'dependencies': [ '../ui/aura/aura.gyp:aura', ], | |
21 }], | |
22 ], | |
23 }, | |
24 'targets': [ | |
25 { | |
26 'target_name': 'views', | |
27 'type': '<(component)', | |
28 'dependencies': [ | |
29 '../base/base.gyp:base', | |
30 '../base/base.gyp:base_i18n', | |
31 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | |
32 '../build/temp_gyp/googleurl.gyp:googleurl', | |
33 '../net/net.gyp:net', | |
34 '../skia/skia.gyp:skia', | |
35 '../third_party/icu/icu.gyp:icui18n', | |
36 '../third_party/icu/icu.gyp:icuuc', | |
37 '../ui/base/strings/ui_strings.gyp:ui_strings', | |
38 '../ui/gfx/compositor/compositor.gyp:compositor', | |
39 '../ui/ui.gyp:ui', | |
40 '../ui/ui.gyp:ui_resources', | |
41 '../ui/ui.gyp:ui_resources_standard', | |
42 ], | |
43 'defines': [ | |
44 'VIEWS_IMPLEMENTATION', | |
45 ], | |
46 'sources': [ | |
47 # All .cc, .h under views, except unittests | |
48 '../ui/views/accessibility/native_view_accessibility_win.cc', | |
49 '../ui/views/accessibility/native_view_accessibility_win.h', | |
50 '../ui/views/accessible_pane_view.cc', | |
51 '../ui/views/accessible_pane_view.h', | |
52 '../ui/views/animation/bounds_animator.cc', | |
53 '../ui/views/animation/bounds_animator.h', | |
54 '../ui/views/background.cc', | |
55 '../ui/views/background.h', | |
56 '../ui/views/border.cc', | |
57 '../ui/views/border.h', | |
58 '../ui/views/bubble/border_contents_view.cc', | |
59 '../ui/views/bubble/border_contents_view.h', | |
60 '../ui/views/bubble/bubble_border.cc', | |
61 '../ui/views/bubble/bubble_border.h', | |
62 '../ui/views/bubble/bubble_delegate.cc', | |
63 '../ui/views/bubble/bubble_delegate.h', | |
64 '../ui/views/bubble/bubble_frame_view.cc', | |
65 '../ui/views/bubble/bubble_frame_view.h', | |
66 '../ui/views/context_menu_controller.h', | |
67 '../ui/views/controls/button/button.cc', | |
68 '../ui/views/controls/button/button.h', | |
69 '../ui/views/controls/button/button_dropdown.cc', | |
70 '../ui/views/controls/button/button_dropdown.h', | |
71 '../ui/views/controls/button/checkbox.cc', | |
72 '../ui/views/controls/button/checkbox.h', | |
73 '../ui/views/controls/button/custom_button.cc', | |
74 '../ui/views/controls/button/custom_button.h', | |
75 '../ui/views/controls/button/image_button.cc', | |
76 '../ui/views/controls/button/image_button.h', | |
77 '../ui/views/controls/button/menu_button.cc', | |
78 '../ui/views/controls/button/menu_button.h', | |
79 '../ui/views/controls/button/radio_button.cc', | |
80 '../ui/views/controls/button/radio_button.h', | |
81 '../ui/views/controls/button/text_button.cc', | |
82 '../ui/views/controls/button/text_button.h', | |
83 '../ui/views/controls/combobox/combobox.cc', | |
84 '../ui/views/controls/combobox/combobox.h', | |
85 '../ui/views/controls/combobox/combobox_listener.h', | |
86 '../ui/views/controls/combobox/native_combobox_gtk.cc', | |
87 '../ui/views/controls/combobox/native_combobox_gtk.h', | |
88 '../ui/views/controls/combobox/native_combobox_views.cc', | |
89 '../ui/views/controls/combobox/native_combobox_views.h', | |
90 '../ui/views/controls/combobox/native_combobox_win.cc', | |
91 '../ui/views/controls/combobox/native_combobox_win.h', | |
92 '../ui/views/controls/combobox/native_combobox_wrapper.h', | |
93 '../ui/views/controls/focusable_border.cc', | |
94 '../ui/views/controls/focusable_border.h', | |
95 '../ui/views/controls/image_view.cc', | |
96 '../ui/views/controls/image_view.h', | |
97 '../ui/views/controls/label.cc', | |
98 '../ui/views/controls/label.h', | |
99 '../ui/views/controls/link.cc', | |
100 '../ui/views/controls/link.h', | |
101 '../ui/views/controls/link_listener.h', | |
102 '../ui/views/controls/menu/menu.cc', | |
103 '../ui/views/controls/menu/menu.h', | |
104 '../ui/views/controls/menu/menu_2.cc', | |
105 '../ui/views/controls/menu/menu_2.h', | |
106 '../ui/views/controls/menu/menu_config.cc', | |
107 '../ui/views/controls/menu/menu_config.h', | |
108 '../ui/views/controls/menu/menu_config_aura.cc', | |
109 '../ui/views/controls/menu/menu_config_linux.cc', | |
110 '../ui/views/controls/menu/menu_config_win.cc', | |
111 '../ui/views/controls/menu/menu_controller.cc', | |
112 '../ui/views/controls/menu/menu_controller.h', | |
113 '../ui/views/controls/menu/menu_controller_delegate.h', | |
114 '../ui/views/controls/menu/menu_delegate.cc', | |
115 '../ui/views/controls/menu/menu_delegate.h', | |
116 '../ui/views/controls/menu/menu_gtk.cc', | |
117 '../ui/views/controls/menu/menu_gtk.h', | |
118 '../ui/views/controls/menu/menu_host.cc', | |
119 '../ui/views/controls/menu/menu_host.h', | |
120 '../ui/views/controls/menu/menu_host_root_view.cc', | |
121 '../ui/views/controls/menu/menu_host_root_view.h', | |
122 '../ui/views/controls/menu/menu_item_view.cc', | |
123 '../ui/views/controls/menu/menu_item_view.h', | |
124 '../ui/views/controls/menu/menu_item_view_aura.cc', | |
125 '../ui/views/controls/menu/menu_item_view_linux.cc', | |
126 '../ui/views/controls/menu/menu_item_view_win.cc', | |
127 '../ui/views/controls/menu/menu_listener.h', | |
128 '../ui/views/controls/menu/menu_model_adapter.cc', | |
129 '../ui/views/controls/menu/menu_model_adapter.h', | |
130 '../ui/views/controls/menu/menu_runner.cc', | |
131 '../ui/views/controls/menu/menu_runner.h', | |
132 '../ui/views/controls/menu/menu_scroll_view_container.cc', | |
133 '../ui/views/controls/menu/menu_scroll_view_container.h', | |
134 '../ui/views/controls/menu/menu_separator.h', | |
135 '../ui/views/controls/menu/menu_separator_aura.cc', | |
136 '../ui/views/controls/menu/menu_separator_linux.cc', | |
137 '../ui/views/controls/menu/menu_separator_win.cc', | |
138 '../ui/views/controls/menu/menu_win.cc', | |
139 '../ui/views/controls/menu/menu_win.h', | |
140 '../ui/views/controls/menu/menu_wrapper.h', | |
141 '../ui/views/controls/menu/native_menu_gtk.cc', | |
142 '../ui/views/controls/menu/native_menu_gtk.h', | |
143 '../ui/views/controls/menu/native_menu_host.h', | |
144 '../ui/views/controls/menu/native_menu_host_delegate.h', | |
145 '../ui/views/controls/menu/native_menu_views.cc', | |
146 '../ui/views/controls/menu/native_menu_views.h', | |
147 '../ui/views/controls/menu/native_menu_win.cc', | |
148 '../ui/views/controls/menu/native_menu_win.h', | |
149 '../ui/views/controls/menu/nested_dispatcher_gtk.cc', | |
150 '../ui/views/controls/menu/nested_dispatcher_gtk.h', | |
151 '../ui/views/controls/menu/menu_image_util.cc', | |
152 '../ui/views/controls/menu/menu_image_util.h', | |
153 '../ui/views/controls/menu/submenu_view.cc', | |
154 '../ui/views/controls/menu/submenu_view.h', | |
155 '../ui/views/controls/menu/view_menu_delegate.h', | |
156 '../ui/views/controls/message_box_view.cc', | |
157 '../ui/views/controls/message_box_view.h', | |
158 '../ui/views/controls/native_control.cc', | |
159 '../ui/views/controls/native_control.h', | |
160 '../ui/views/controls/native_control_gtk.cc', | |
161 '../ui/views/controls/native_control_gtk.h', | |
162 '../ui/views/controls/native_control_win.cc', | |
163 '../ui/views/controls/native_control_win.h', | |
164 '../ui/views/controls/native/native_view_host.cc', | |
165 '../ui/views/controls/native/native_view_host.h', | |
166 '../ui/views/controls/native/native_view_host_aura.cc', | |
167 '../ui/views/controls/native/native_view_host_aura.h', | |
168 '../ui/views/controls/native/native_view_host_gtk.cc', | |
169 '../ui/views/controls/native/native_view_host_gtk.h', | |
170 '../ui/views/controls/native/native_view_host_win.cc', | |
171 '../ui/views/controls/native/native_view_host_win.h', | |
172 '../ui/views/controls/progress_bar.cc', | |
173 '../ui/views/controls/progress_bar.h', | |
174 '../ui/views/controls/resize_area.cc', | |
175 '../ui/views/controls/resize_area.h', | |
176 '../ui/views/controls/resize_area_delegate.h', | |
177 '../ui/views/controls/scroll_view.cc', | |
178 '../ui/views/controls/scroll_view.h', | |
179 '../ui/views/controls/scrollbar/base_scroll_bar.cc', | |
180 '../ui/views/controls/scrollbar/base_scroll_bar.h', | |
181 '../ui/views/controls/scrollbar/base_scroll_bar_button.cc', | |
182 '../ui/views/controls/scrollbar/base_scroll_bar_button.h', | |
183 '../ui/views/controls/scrollbar/base_scroll_bar_thumb.cc', | |
184 '../ui/views/controls/scrollbar/base_scroll_bar_thumb.h', | |
185 '../ui/views/controls/scrollbar/bitmap_scroll_bar.cc', | |
186 '../ui/views/controls/scrollbar/bitmap_scroll_bar.h', | |
187 '../ui/views/controls/scrollbar/native_scroll_bar_gtk.cc', | |
188 '../ui/views/controls/scrollbar/native_scroll_bar_gtk.h', | |
189 '../ui/views/controls/scrollbar/native_scroll_bar_views.cc', | |
190 '../ui/views/controls/scrollbar/native_scroll_bar_views.h', | |
191 '../ui/views/controls/scrollbar/native_scroll_bar_win.cc', | |
192 '../ui/views/controls/scrollbar/native_scroll_bar_win.h', | |
193 '../ui/views/controls/scrollbar/native_scroll_bar_wrapper.h', | |
194 '../ui/views/controls/scrollbar/native_scroll_bar.cc', | |
195 '../ui/views/controls/scrollbar/native_scroll_bar.h', | |
196 '../ui/views/controls/scrollbar/scroll_bar.cc', | |
197 '../ui/views/controls/scrollbar/scroll_bar.h', | |
198 '../ui/views/controls/separator.cc', | |
199 '../ui/views/controls/separator.h', | |
200 '../ui/views/controls/single_split_view.cc', | |
201 '../ui/views/controls/single_split_view.h', | |
202 '../ui/views/controls/single_split_view_listener.h', | |
203 '../ui/views/controls/tabbed_pane/native_tabbed_pane_gtk.cc', | |
204 '../ui/views/controls/tabbed_pane/native_tabbed_pane_gtk.h', | |
205 '../ui/views/controls/tabbed_pane/native_tabbed_pane_views.cc', | |
206 '../ui/views/controls/tabbed_pane/native_tabbed_pane_views.h', | |
207 '../ui/views/controls/tabbed_pane/native_tabbed_pane_win.cc', | |
208 '../ui/views/controls/tabbed_pane/native_tabbed_pane_win.h', | |
209 '../ui/views/controls/tabbed_pane/native_tabbed_pane_wrapper.h', | |
210 '../ui/views/controls/tabbed_pane/tabbed_pane.cc', | |
211 '../ui/views/controls/tabbed_pane/tabbed_pane.h', | |
212 '../ui/views/controls/tabbed_pane/tabbed_pane_listener.h', | |
213 '../ui/views/controls/table/native_table_wrapper.h', | |
214 '../ui/views/controls/table/native_table_gtk.cc', | |
215 '../ui/views/controls/table/native_table_gtk.h', | |
216 '../ui/views/controls/table/native_table_win.cc', | |
217 '../ui/views/controls/table/native_table_win.h', | |
218 '../ui/views/controls/table/group_table_view.cc', | |
219 '../ui/views/controls/table/group_table_view.h', | |
220 '../ui/views/controls/table/table_view.cc', | |
221 '../ui/views/controls/table/table_view.h', | |
222 '../ui/views/controls/table/table_view2.cc', | |
223 '../ui/views/controls/table/table_view2.h', | |
224 '../ui/views/controls/table/table_view_observer.h', | |
225 '../ui/views/controls/textfield/gtk_views_entry.cc', | |
226 '../ui/views/controls/textfield/gtk_views_entry.h', | |
227 '../ui/views/controls/textfield/gtk_views_textview.cc', | |
228 '../ui/views/controls/textfield/gtk_views_textview.h', | |
229 '../ui/views/controls/textfield/native_textfield_gtk.cc', | |
230 '../ui/views/controls/textfield/native_textfield_gtk.h', | |
231 '../ui/views/controls/textfield/native_textfield_views.cc', | |
232 '../ui/views/controls/textfield/native_textfield_views.h', | |
233 '../ui/views/controls/textfield/native_textfield_win.cc', | |
234 '../ui/views/controls/textfield/native_textfield_win.h', | |
235 '../ui/views/controls/textfield/native_textfield_wrapper.h', | |
236 '../ui/views/controls/textfield/textfield.cc', | |
237 '../ui/views/controls/textfield/textfield.h', | |
238 '../ui/views/controls/textfield/textfield_controller.h', | |
239 '../ui/views/controls/textfield/textfield_views_model.cc', | |
240 '../ui/views/controls/textfield/textfield_views_model.h', | |
241 '../ui/views/controls/throbber.cc', | |
242 '../ui/views/controls/throbber.h', | |
243 '../ui/views/controls/tree/tree_view.cc', | |
244 '../ui/views/controls/tree/tree_view.h', | |
245 #'../ui/views/debug_utils.cc', | |
246 #'../ui/views/debug_utils.h', | |
247 '../ui/views/drag_controller.h', | |
248 '../ui/views/drag_utils.cc', | |
249 '../ui/views/drag_utils.h', | |
250 '../ui/views/drag_utils_aura.cc', | |
251 '../ui/views/drag_utils_gtk.cc', | |
252 '../ui/views/drag_utils_win.cc', | |
253 '../ui/views/events/event.cc', | |
254 '../ui/views/events/event.h', | |
255 '../ui/views/events/event_aura.cc', | |
256 '../ui/views/events/event_gtk.cc', | |
257 '../ui/views/events/event_win.cc', | |
258 '../ui/views/events/event_x.cc', | |
259 '../ui/views/focus/accelerator_handler.h', | |
260 '../ui/views/focus/accelerator_handler_aura.cc', | |
261 '../ui/views/focus/accelerator_handler_gtk.cc', | |
262 '../ui/views/focus/accelerator_handler_win.cc', | |
263 '../ui/views/focus/external_focus_tracker.cc', | |
264 '../ui/views/focus/external_focus_tracker.h', | |
265 '../ui/views/focus/focus_manager.cc', | |
266 '../ui/views/focus/focus_manager.h', | |
267 '../ui/views/focus/focus_manager_factory.cc', | |
268 '../ui/views/focus/focus_manager_factory.h', | |
269 '../ui/views/focus/focus_search.cc', | |
270 '../ui/views/focus/focus_search.h', | |
271 '../ui/views/focus/view_storage.cc', | |
272 '../ui/views/focus/view_storage.h', | |
273 '../ui/views/focus/widget_focus_manager.cc', | |
274 '../ui/views/focus/widget_focus_manager.h', | |
275 '../ui/views/ime/input_method_base.cc', | |
276 '../ui/views/ime/input_method_base.h', | |
277 '../ui/views/ime/input_method_delegate.h', | |
278 '../ui/views/ime/input_method_gtk.cc', | |
279 '../ui/views/ime/input_method_gtk.h', | |
280 '../ui/views/ime/input_method.h', | |
281 '../ui/views/ime/input_method_ibus.cc', | |
282 '../ui/views/ime/input_method_ibus.h', | |
283 '../ui/views/ime/input_method_win.cc', | |
284 '../ui/views/ime/input_method_win.h', | |
285 '../ui/views/ime/mock_input_method.cc', | |
286 '../ui/views/ime/mock_input_method.h', | |
287 '../ui/views/ime/text_input_type_tracker.cc', | |
288 '../ui/views/ime/text_input_type_tracker.h', | |
289 '../ui/views/layout/box_layout.cc', | |
290 '../ui/views/layout/box_layout.h', | |
291 '../ui/views/layout/fill_layout.cc', | |
292 '../ui/views/layout/fill_layout.h', | |
293 '../ui/views/layout/grid_layout.cc', | |
294 '../ui/views/layout/grid_layout.h', | |
295 '../ui/views/layout/layout_constants.h', | |
296 '../ui/views/layout/layout_manager.cc', | |
297 '../ui/views/layout/layout_manager.h', | |
298 '../ui/views/metrics.cc', | |
299 '../ui/views/metrics.h', | |
300 '../ui/views/metrics_aura.cc', | |
301 '../ui/views/metrics_gtk.cc', | |
302 '../ui/views/metrics_win.cc', | |
303 '../ui/views/mouse_watcher.cc', | |
304 '../ui/views/mouse_watcher.h', | |
305 '../ui/views/native_theme_delegate.h', | |
306 '../ui/views/native_theme_painter.cc', | |
307 '../ui/views/native_theme_painter.h', | |
308 '../ui/views/paint_lock.cc', | |
309 '../ui/views/paint_lock.h', | |
310 '../ui/views/painter.cc', | |
311 '../ui/views/painter.h', | |
312 '../ui/views/repeat_controller.cc', | |
313 '../ui/views/repeat_controller.h', | |
314 '../ui/views/touchui/gesture_manager.cc', | |
315 '../ui/views/touchui/gesture_manager.h', | |
316 '../ui/views/touchui/touch_selection_controller.cc', | |
317 '../ui/views/touchui/touch_selection_controller.h', | |
318 '../ui/views/view.cc', | |
319 '../ui/views/view.h', | |
320 '../ui/views/view_constants.cc', | |
321 '../ui/views/view_constants.h', | |
322 '../ui/views/view_aura.cc', | |
323 '../ui/views/view_gtk.cc', | |
324 '../ui/views/view_text_utils.cc', | |
325 '../ui/views/view_text_utils.h', | |
326 '../ui/views/view_win.cc', | |
327 '../ui/views/views_delegate.h', | |
328 '../ui/views/widget/aero_tooltip_manager.cc', | |
329 '../ui/views/widget/aero_tooltip_manager.h', | |
330 '../ui/views/widget/child_window_message_processor.cc', | |
331 '../ui/views/widget/child_window_message_processor.h', | |
332 '../ui/views/widget/default_theme_provider.cc', | |
333 '../ui/views/widget/default_theme_provider.h', | |
334 '../ui/views/widget/drop_helper.cc', | |
335 '../ui/views/widget/drop_helper.h', | |
336 '../ui/views/widget/drop_target_gtk.cc', | |
337 '../ui/views/widget/drop_target_gtk.h', | |
338 '../ui/views/widget/drop_target_win.cc', | |
339 '../ui/views/widget/drop_target_win.h', | |
340 '../ui/views/widget/gtk_views_fixed.cc', | |
341 '../ui/views/widget/gtk_views_fixed.h', | |
342 '../ui/views/widget/gtk_views_window.cc', | |
343 '../ui/views/widget/gtk_views_window.h', | |
344 '../ui/views/widget/root_view.cc', | |
345 '../ui/views/widget/root_view.h', | |
346 '../ui/views/widget/tooltip_manager_aura.cc', | |
347 '../ui/views/widget/tooltip_manager_aura.h', | |
348 '../ui/views/widget/tooltip_manager_gtk.cc', | |
349 '../ui/views/widget/tooltip_manager_gtk.h', | |
350 '../ui/views/widget/tooltip_manager_win.cc', | |
351 '../ui/views/widget/tooltip_manager_win.h', | |
352 '../ui/views/widget/tooltip_manager.cc', | |
353 '../ui/views/widget/tooltip_manager.h', | |
354 '../ui/views/widget/monitor_win.cc', | |
355 '../ui/views/widget/monitor_win.h', | |
356 '../ui/views/widget/native_widget.h', | |
357 '../ui/views/widget/native_widget_aura.cc', | |
358 '../ui/views/widget/native_widget_aura.h', | |
359 '../ui/views/widget/native_widget_delegate.h', | |
360 '../ui/views/widget/native_widget_private.h', | |
361 '../ui/views/widget/native_widget_gtk.cc', | |
362 '../ui/views/widget/native_widget_gtk.h', | |
363 '../ui/views/widget/native_widget_win.cc', | |
364 '../ui/views/widget/native_widget_win.h', | |
365 '../ui/views/widget/widget.cc', | |
366 '../ui/views/widget/widget.h', | |
367 '../ui/views/widget/widget_delegate.cc', | |
368 '../ui/views/widget/widget_delegate.h', | |
369 '../ui/views/widget/window_manager.cc', | |
370 '../ui/views/widget/window_manager.h', | |
371 '../ui/views/window/client_view.cc', | |
372 '../ui/views/window/client_view.h', | |
373 '../ui/views/window/custom_frame_view.cc', | |
374 '../ui/views/window/window/custom_frame_view.h', | |
375 '../ui/views/window/dialog_client_view.cc', | |
376 '../ui/views/window/window/dialog_client_view.h', | |
377 '../ui/views/window/dialog_delegate.cc', | |
378 '../ui/views/window/dialog_delegate.h', | |
379 '../ui/views/window/native_frame_view.cc', | |
380 '../ui/views/window/native_frame_view.h', | |
381 '../ui/views/window/non_client_view.cc', | |
382 '../ui/views/window/non_client_view.h', | |
383 '../ui/views/window/window_resources.h', | |
384 '../ui/views/window/window_shape.cc', | |
385 '../ui/views/window/window_shape.h', | |
386 ], | |
387 'include_dirs': [ | |
388 '../third_party/wtl/include', | |
389 ], | |
390 'conditions': [ | |
391 ['use_aura==1', { | |
392 'sources/': [ | |
393 ['exclude', '_(gtk|x)\\.cc$'], | |
394 ['exclude', '/(gtk|x)_[^/]*\\.cc$'], | |
395 ['exclude', '../ui/views/controls/menu/menu_2.*'], | |
396 ], | |
397 'sources!': [ | |
398 '../ui/views/controls/menu/menu_config_linux.cc', | |
399 '../ui/views/controls/menu/menu_item_view_linux.cc', | |
400 '../ui/views/controls/menu/menu_separator_linux.cc', | |
401 '../ui/views/controls/native_control.cc', | |
402 '../ui/views/controls/native_control.h', | |
403 '../ui/views/controls/scrollbar/bitmap_scroll_bar.cc', | |
404 '../ui/views/controls/scrollbar/bitmap_scroll_bar.h', | |
405 '../ui/views/controls/table/group_table_view.cc', | |
406 '../ui/views/controls/table/group_table_view.h', | |
407 '../ui/views/controls/table/native_table_wrapper.h', | |
408 '../ui/views/controls/table/table_view.cc', | |
409 '../ui/views/controls/table/table_view.h', | |
410 '../ui/views/controls/table/table_view2.cc', | |
411 '../ui/views/controls/table/table_view2.h', | |
412 '../ui/views/controls/table/table_view_observer.h', | |
413 '../ui/views/controls/tree/tree_view.cc', | |
414 '../ui/views/controls/tree/tree_view.h', | |
415 '../ui/views/drag_utils_win.cc', | |
416 '../ui/views/widget/aero_tooltip_manager.cc', | |
417 '../ui/views/widget/aero_tooltip_manager.h', | |
418 '../ui/views/widget/child_window_message_processor.cc', | |
419 '../ui/views/widget/child_window_message_processor.h', | |
420 ], | |
421 }], | |
422 ['toolkit_uses_gtk == 1', { | |
423 'dependencies': [ | |
424 '../build/linux/system.gyp:gtk', | |
425 '../build/linux/system.gyp:x11', | |
426 '../build/linux/system.gyp:xext', | |
427 ], | |
428 'sources!': [ | |
429 '../ui/views/accessibility/native_view_accessibility_win.cc', | |
430 '../ui/views/controls/native_control.cc', | |
431 '../ui/views/controls/scrollbar/bitmap_scroll_bar.cc', | |
432 '../ui/views/controls/table/group_table_view.cc', | |
433 '../ui/views/controls/table/table_view.cc', | |
434 '../ui/views/controls/tree/tree_view.cc', | |
435 '../ui/views/events/event_win.cc', | |
436 '../ui/views/widget/aero_tooltip_manager.cc', | |
437 '../ui/views/widget/child_window_message_processor.cc', | |
438 '../ui/views/widget/child_window_message_processor.h', | |
439 '../ui/views/widget/native_widget_win.cc', | |
440 ], | |
441 }], | |
442 ['use_aura==0', { | |
443 'sources!': [ | |
444 '../ui/views/controls/menu/native_menu_views.cc', | |
445 '../ui/views/controls/menu/native_menu_views.h', | |
446 '../ui/views/controls/tabbed_pane/native_tabbed_pane_views.cc', | |
447 '../ui/views/controls/tabbed_pane/native_tabbed_pane_views.h', | |
448 '../ui/views/widget/tooltip_manager_views.cc', | |
449 ], | |
450 }], | |
451 ['use_ibus==1', { | |
452 'dependencies': [ | |
453 '../build/linux/system.gyp:ibus', | |
454 ], | |
455 'sources/': [ | |
456 ['exclude', '../ui/views/ime/mock_input_method.cc'], | |
457 ['exclude', '../ui/views/ime/mock_input_method.h'], | |
458 ], | |
459 }, { # else: use_ibus != 1 | |
460 'sources/': [ | |
461 ['exclude', '../ui/views/ime/input_method_ibus.cc'], | |
462 ['exclude', '../ui/views/ime/input_method_ibus.h'], | |
463 ], | |
464 }], | |
465 ['OS=="win"', { | |
466 'dependencies': [ | |
467 # For accessibility | |
468 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2', | |
469 ], | |
470 'include_dirs': [ | |
471 '../third_party/wtl/include', | |
472 ], | |
473 }], | |
474 ['use_x11==0', { | |
475 'sources!': [ | |
476 '../ui/views/events/event_x.cc', | |
477 ], | |
478 }], | |
479 ], | |
480 }, # target_name: views | |
481 { | |
482 'target_name': 'views_unittests', | |
483 'type': 'executable', | |
484 'dependencies': [ | |
485 '../base/base.gyp:base', | |
486 '../base/base.gyp:test_support_base', | |
487 # TODO(jcivelli): ideally the resource needed by views would be | |
488 # factored out. (for some reason it pulls in a bunch | |
489 # unrelated things like v8, sqlite nss...). | |
490 '../chrome/chrome_resources.gyp:packed_resources', | |
491 '../build/temp_gyp/googleurl.gyp:googleurl', | |
492 '../skia/skia.gyp:skia', | |
493 '../testing/gmock.gyp:gmock', | |
494 '../testing/gtest.gyp:gtest', | |
495 '../third_party/icu/icu.gyp:icui18n', | |
496 '../third_party/icu/icu.gyp:icuuc', | |
497 '../ui/base/strings/ui_strings.gyp:ui_strings', | |
498 '../ui/gfx/compositor/compositor.gyp:compositor_test_support', | |
499 '../ui/gfx/compositor/compositor.gyp:test_compositor', | |
500 '../ui/ui.gyp:gfx_resources', | |
501 '../ui/ui.gyp:ui', | |
502 '../ui/ui.gyp:ui_resources', | |
503 '../ui/ui.gyp:ui_resources_standard', | |
504 'views', | |
505 ], | |
506 'include_dirs': [ | |
507 '..', | |
508 ], | |
509 'sources': [ | |
510 '../ui/views/accessible_pane_view_unittest.cc', | |
511 '../ui/views/animation/bounds_animator_unittest.cc', | |
512 '../ui/views/bubble/border_contents_unittest.cc', | |
513 '../ui/views/bubble/bubble_delegate_unittest.cc', | |
514 '../ui/views/bubble/bubble_frame_view_unittest.cc', | |
515 '../ui/views/controls/combobox/native_combobox_views_unittest.cc', | |
516 '../ui/views/controls/label_unittest.cc', | |
517 '../ui/views/controls/menu/menu_model_adapter_unittest.cc', | |
518 '../ui/views/controls/progress_bar_unittest.cc', | |
519 '../ui/views/controls/scrollbar/scrollbar_unittest.cc', | |
520 '../ui/views/controls/single_split_view_unittest.cc', | |
521 '../ui/views/controls/tabbed_pane/tabbed_pane_unittest.cc', | |
522 '../ui/views/controls/table/table_view_unittest.cc', | |
523 '../ui/views/controls/textfield/native_textfield_views_unittest.cc', | |
524 '../ui/views/controls/textfield/textfield_views_model_unittest.cc', | |
525 '../ui/views/events/event_unittest.cc', | |
526 '../ui/views/focus/accelerator_handler_gtk_unittest.cc', | |
527 '../ui/views/focus/focus_manager_test.h', | |
528 '../ui/views/focus/focus_manager_test.cc', | |
529 '../ui/views/focus/focus_manager_unittest.cc', | |
530 '../ui/views/focus/focus_manager_unittest_win.cc', | |
531 '../ui/views/focus/focus_traversal_unittest.cc', | |
532 '../ui/views/layout/box_layout_unittest.cc', | |
533 '../ui/views/layout/grid_layout_unittest.cc', | |
534 '../ui/views/test/test_tooltip_client.cc', | |
535 '../ui/views/test/test_tooltip_client.h', | |
536 '../ui/views/test/test_views_delegate.cc', | |
537 '../ui/views/test/test_views_delegate.h', | |
538 '../ui/views/test/views_test_base.cc', | |
539 '../ui/views/test/views_test_base.h', | |
540 '../ui/views/view_unittest.cc', | |
541 '../ui/views/widget/native_widget_test_utils.h', | |
542 '../ui/views/widget/native_widget_test_utils_aura.cc', | |
543 '../ui/views/widget/native_widget_test_utils_gtk.cc', | |
544 '../ui/views/widget/native_widget_test_utils_win.cc', | |
545 '../ui/views/widget/native_widget_unittest.cc', | |
546 '../ui/views/widget/native_widget_win_unittest.cc', | |
547 '../ui/views/widget/widget_unittest.cc', | |
548 '../ui/views/run_all_unittests.cc', | |
549 | |
550 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc', | |
551 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc', | |
552 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standa
rd.rc', | |
553 ], | |
554 'conditions': [ | |
555 ['toolkit_uses_gtk == 1', { | |
556 'dependencies': [ | |
557 '../build/linux/system.gyp:gtk', | |
558 ], | |
559 'conditions': [ | |
560 ['linux_use_tcmalloc==1', { | |
561 'dependencies': [ | |
562 '../base/allocator/allocator.gyp:allocator', | |
563 ], | |
564 }], | |
565 ], | |
566 }], | |
567 ['OS=="win"', { | |
568 'link_settings': { | |
569 'libraries': [ | |
570 '-limm32.lib', | |
571 '-loleacc.lib', | |
572 ] | |
573 }, | |
574 'include_dirs': [ | |
575 '../third_party/wtl/include', | |
576 ], | |
577 }], | |
578 [ 'use_aura==1', { | |
579 'dependencies': [ | |
580 '../ui/aura/aura.gyp:test_support_aura', | |
581 ], | |
582 'sources/': [ | |
583 ['exclude', '../ui/views/controls/combobox/native_combobox_views_uni
ttest.cc'], | |
584 ['exclude', '../ui/views/controls/tabbed_pane/tabbed_pane_unittest.c
c'], | |
585 ['exclude', '../ui/views/controls/table/table_view_unittest.cc'], | |
586 ['exclude', '../ui/views/widget/native_widget_win_unittest.cc'], | |
587 ], | |
588 }, { | |
589 'sources/': [ | |
590 ['exclude', '../ui/aura/test/test_desktop_delegate.cc'], | |
591 ['exclude', '../ui/aura/test/test_desktop_delegate.h'], | |
592 ['exclude', '../ui/views/test/test_tooltip_client.cc'], | |
593 ], | |
594 }], | |
595 ], | |
596 }, # target_name: views_unittests | |
597 { | |
598 'target_name': 'views_examples_lib', | |
599 'type': 'static_library', | |
600 'dependencies': [ | |
601 '../base/base.gyp:base', | |
602 '../base/base.gyp:base_i18n', | |
603 '../chrome/chrome_resources.gyp:packed_resources', | |
604 '../skia/skia.gyp:skia', | |
605 '../third_party/icu/icu.gyp:icui18n', | |
606 '../third_party/icu/icu.gyp:icuuc', | |
607 '../ui/ui.gyp:ui', | |
608 '../ui/ui.gyp:gfx_resources', | |
609 '../ui/ui.gyp:ui_resources', | |
610 '../ui/ui.gyp:ui_resources_standard', | |
611 'views', | |
612 ], | |
613 'include_dirs': [ | |
614 '..', | |
615 ], | |
616 'defines': [ | |
617 'VIEWS_EXAMPLES_IMPLEMENTATION', | |
618 ], | |
619 'sources': [ | |
620 '../ui/views/examples/bubble_example.cc', | |
621 '../ui/views/examples/bubble_example.h', | |
622 '../ui/views/examples/button_example.cc', | |
623 '../ui/views/examples/button_example.h', | |
624 '../ui/views/examples/combobox_example.cc', | |
625 '../ui/views/examples/combobox_example.h', | |
626 '../ui/views/examples/double_split_view_example.cc', | |
627 '../ui/views/examples/double_split_view_example.h', | |
628 '../ui/views/examples/example_base.cc', | |
629 '../ui/views/examples/example_base.h', | |
630 '../ui/views/examples/example_combobox_model.cc', | |
631 '../ui/views/examples/example_combobox_model.h', | |
632 '../ui/views/examples/examples_window.cc', | |
633 '../ui/views/examples/examples_window.h', | |
634 '../ui/views/examples/link_example.cc', | |
635 '../ui/views/examples/link_example.h', | |
636 '../ui/views/examples/message_box_example.cc', | |
637 '../ui/views/examples/message_box_example.h', | |
638 '../ui/views/examples/menu_example.cc', | |
639 '../ui/views/examples/menu_example.h', | |
640 '../ui/views/examples/native_theme_button_example.cc', | |
641 '../ui/views/examples/native_theme_button_example.h', | |
642 '../ui/views/examples/native_theme_checkbox_example.cc', | |
643 '../ui/views/examples/native_theme_checkbox_example.h', | |
644 '../ui/views/examples/progress_bar_example.cc', | |
645 '../ui/views/examples/progress_bar_example.h', | |
646 '../ui/views/examples/radio_button_example.cc', | |
647 '../ui/views/examples/radio_button_example.h', | |
648 '../ui/views/examples/scroll_view_example.cc', | |
649 '../ui/views/examples/scroll_view_example.h', | |
650 '../ui/views/examples/single_split_view_example.cc', | |
651 '../ui/views/examples/single_split_view_example.h', | |
652 '../ui/views/examples/tabbed_pane_example.cc', | |
653 '../ui/views/examples/tabbed_pane_example.h', | |
654 '../ui/views/examples/table_example.cc', | |
655 '../ui/views/examples/table_example.h', | |
656 '../ui/views/examples/table2_example.cc', | |
657 '../ui/views/examples/table2_example.h', | |
658 '../ui/views/examples/text_example.cc', | |
659 '../ui/views/examples/text_example.h', | |
660 '../ui/views/examples/textfield_example.cc', | |
661 '../ui/views/examples/textfield_example.h', | |
662 '../ui/views/examples/throbber_example.cc', | |
663 '../ui/views/examples/throbber_example.h', | |
664 '../ui/views/examples/widget_example.cc', | |
665 '../ui/views/examples/widget_example.h', | |
666 ], | |
667 'conditions': [ | |
668 ['OS=="win"', { | |
669 'include_dirs': [ | |
670 '../third_party/wtl/include', | |
671 ], | |
672 }, { # OS!="win" | |
673 'sources/': [ | |
674 ['exclude', '../ui/views/examples/table_example.cc'], | |
675 ['exclude', '../ui/views/examples/table_example.h'], | |
676 ], | |
677 }], | |
678 ['use_aura==1', { | |
679 'sources/': [ | |
680 ['exclude', '../ui/views/examples/table_example.cc'], | |
681 ['exclude', '../ui/views/examples/table_example.h'], | |
682 ['exclude', '../ui/views/examples/table2_example.cc'], | |
683 ['exclude', '../ui/views/examples/table2_example.h'], | |
684 ], | |
685 }], | |
686 ], | |
687 }, # target_name: views_examples_lib | |
688 { | |
689 'target_name': 'views_examples_exe', | |
690 'type': 'executable', | |
691 'dependencies': [ | |
692 '../base/base.gyp:base', | |
693 '../base/base.gyp:base_i18n', | |
694 '../chrome/chrome_resources.gyp:packed_resources', | |
695 '../skia/skia.gyp:skia', | |
696 '../third_party/icu/icu.gyp:icui18n', | |
697 '../third_party/icu/icu.gyp:icuuc', | |
698 '../ui/ui.gyp:ui', | |
699 '../ui/ui.gyp:gfx_resources', | |
700 '../ui/ui.gyp:ui_resources', | |
701 '../ui/ui.gyp:ui_resources_standard', | |
702 'views_examples_lib', | |
703 ], | |
704 'include_dirs': [ | |
705 '..', | |
706 ], | |
707 'sources': [ | |
708 '../ui/views/examples/examples_main.cc', | |
709 '../ui/views/test/test_views_delegate.cc', | |
710 '../ui/views/test/test_views_delegate.h', | |
711 '<(SHARED_INTERMEDIATE_DIR)/ui/gfx/gfx_resources.rc', | |
712 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc', | |
713 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standa
rd.rc', | |
714 ], | |
715 'conditions': [ | |
716 ['toolkit_uses_gtk == 1', { | |
717 'dependencies': [ | |
718 '../build/linux/system.gyp:gtk', | |
719 ], | |
720 'conditions': [ | |
721 ['linux_use_tcmalloc==1', { | |
722 'dependencies': [ | |
723 '../base/allocator/allocator.gyp:allocator', | |
724 ], | |
725 }], | |
726 ], | |
727 }, | |
728 ], | |
729 ['OS=="win"', { | |
730 'link_settings': { | |
731 'libraries': [ | |
732 '-limm32.lib', | |
733 '-loleacc.lib', | |
734 ] | |
735 }, | |
736 'msvs_settings': { | |
737 'VCManifestTool': { | |
738 'AdditionalManifestFiles': '..\\ui\\views\\examples\\views_example
s.exe.manifest', | |
739 }, | |
740 }, | |
741 }], | |
742 ], | |
743 }, # target_name: views_examples_lib | |
744 | |
745 ], | |
746 } | |
OLD | NEW |