OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 }, | 8 }, |
9 | 9 |
10 'target_defaults': { | 10 'target_defaults': { |
11 'conditions': [ | 11 'conditions': [ |
12 ['OS=="win"', {'sources/': [ | 12 ['OS=="win"', {'sources/': [ |
13 ['include', '_(win)\\.cc$'], | 13 ['include', '_(win)\\.cc$'], |
14 ['include', '/win/'], | 14 ['include', '/win/'], |
15 ['include', '/win_[^/]*\\.cc$'], | 15 ['include', '/win_[^/]*\\.cc$'], |
16 ['exclude', 'touchui/touch_factory.cc'], | 16 ['exclude', 'touchui/touch_factory.cc'], |
17 ]}], | 17 ]}], |
18 ['touchui==0', { | 18 ['touchui==0', { |
19 'sources/': [ | 19 'sources/': [ |
20 ['exclude', '_(touch)\\.cc$'], | 20 ['exclude', '_(touch)\\.cc$'], |
21 ], | 21 ], |
22 }], | 22 }], |
| 23 ['use_aura==1', { |
| 24 'sources/': [ ['exclude', '_win\\.(h|cc)$'], |
| 25 ['exclude', '_gtk\\.(h|cc)$'], |
| 26 ['exclude', '_x\\.(h|cc)$'] ], |
| 27 }], |
23 ], | 28 ], |
24 }, | 29 }, |
25 'targets': [ | 30 'targets': [ |
26 { | 31 { |
27 'target_name': 'views', | 32 'target_name': 'views', |
28 'type': '<(component)', | 33 'type': '<(component)', |
29 'dependencies': [ | 34 'dependencies': [ |
30 '../base/base.gyp:base', | 35 '../base/base.gyp:base', |
31 '../base/base.gyp:base_i18n', | 36 '../base/base.gyp:base_i18n', |
32 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 37 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 'controls/tree/tree_view.h', | 224 'controls/tree/tree_view.h', |
220 #'debug_utils.cc', | 225 #'debug_utils.cc', |
221 #'debug_utils.h', | 226 #'debug_utils.h', |
222 'drag_controller.h', | 227 'drag_controller.h', |
223 'drag_utils.cc', | 228 'drag_utils.cc', |
224 'drag_utils.h', | 229 'drag_utils.h', |
225 'drag_utils_gtk.cc', | 230 'drag_utils_gtk.cc', |
226 'drag_utils_win.cc', | 231 'drag_utils_win.cc', |
227 'events/event.cc', | 232 'events/event.cc', |
228 'events/event.h', | 233 'events/event.h', |
| 234 'events/event_aura.cc', |
229 'events/event_gtk.cc', | 235 'events/event_gtk.cc', |
230 'events/event_win.cc', | 236 'events/event_win.cc', |
231 'events/event_utils_win.cc', | 237 'events/event_utils_win.cc', |
232 'events/event_utils_win.h', | 238 'events/event_utils_win.h', |
233 'events/event_x.cc', | 239 'events/event_x.cc', |
234 'focus/accelerator_handler.h', | 240 'focus/accelerator_handler.h', |
235 'focus/accelerator_handler_gtk.cc', | 241 'focus/accelerator_handler_gtk.cc', |
236 'focus/accelerator_handler_touch.cc', | 242 'focus/accelerator_handler_touch.cc', |
237 'focus/accelerator_handler_win.cc', | 243 'focus/accelerator_handler_win.cc', |
238 'focus/external_focus_tracker.cc', | 244 'focus/external_focus_tracker.cc', |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 'widget/tooltip_manager_views.h', | 337 'widget/tooltip_manager_views.h', |
332 'widget/tooltip_manager_win.cc', | 338 'widget/tooltip_manager_win.cc', |
333 'widget/tooltip_manager_win.h', | 339 'widget/tooltip_manager_win.h', |
334 'widget/tooltip_manager.cc', | 340 'widget/tooltip_manager.cc', |
335 'widget/tooltip_manager.h', | 341 'widget/tooltip_manager.h', |
336 'widget/tooltip_window_gtk.cc', | 342 'widget/tooltip_window_gtk.cc', |
337 'widget/tooltip_window_gtk.h', | 343 'widget/tooltip_window_gtk.h', |
338 'widget/monitor_win.cc', | 344 'widget/monitor_win.cc', |
339 'widget/monitor_win.h', | 345 'widget/monitor_win.h', |
340 'widget/native_widget.h', | 346 'widget/native_widget.h', |
| 347 'widget/native_widget_aura.cc', |
| 348 'widget/native_widget_aura.h', |
341 'widget/native_widget_delegate.h', | 349 'widget/native_widget_delegate.h', |
342 'widget/native_widget_private.h', | 350 'widget/native_widget_private.h', |
343 'widget/native_widget_gtk.cc', | 351 'widget/native_widget_gtk.cc', |
344 'widget/native_widget_gtk.h', | 352 'widget/native_widget_gtk.h', |
345 'widget/native_widget_view.cc', | 353 'widget/native_widget_view.cc', |
346 'widget/native_widget_view.h', | 354 'widget/native_widget_view.h', |
347 'widget/native_widget_views.cc', | 355 'widget/native_widget_views.cc', |
348 'widget/native_widget_views.h', | 356 'widget/native_widget_views.h', |
349 'widget/native_widget_win.cc', | 357 'widget/native_widget_win.cc', |
350 'widget/native_widget_win.h', | 358 'widget/native_widget_win.h', |
(...skipping 16 matching lines...) Expand all Loading... |
367 'window/non_client_view.cc', | 375 'window/non_client_view.cc', |
368 'window/non_client_view.h', | 376 'window/non_client_view.h', |
369 'window/window_resources.h', | 377 'window/window_resources.h', |
370 'window/window_shape.cc', | 378 'window/window_shape.cc', |
371 'window/window_shape.h', | 379 'window/window_shape.h', |
372 ], | 380 ], |
373 'include_dirs': [ | 381 'include_dirs': [ |
374 '<(DEPTH)/third_party/wtl/include', | 382 '<(DEPTH)/third_party/wtl/include', |
375 ], | 383 ], |
376 'conditions': [ | 384 'conditions': [ |
| 385 ['use_aura==1', { |
| 386 'dependencies': [ |
| 387 '../aura/aura.gyp:aura', |
| 388 ], |
| 389 'sources!': [ |
| 390 'controls/native_control.cc', |
| 391 'widget/aero_tooltip_manager.cc', |
| 392 'widget/child_window_message_processor.cc', |
| 393 'widget/child_window_message_processor.h', |
| 394 ], |
| 395 }], |
377 ['toolkit_uses_gtk == 1', { | 396 ['toolkit_uses_gtk == 1', { |
378 'dependencies': [ | 397 'dependencies': [ |
379 '../build/linux/system.gyp:gtk', | 398 '../build/linux/system.gyp:gtk', |
380 '../build/linux/system.gyp:x11', | 399 '../build/linux/system.gyp:x11', |
381 '../build/linux/system.gyp:xext', | 400 '../build/linux/system.gyp:xext', |
382 ], | 401 ], |
383 'sources!': [ | 402 'sources!': [ |
384 'accessibility/native_view_accessibility_win.cc', | 403 'accessibility/native_view_accessibility_win.cc', |
385 'controls/scrollbar/bitmap_scroll_bar.cc', | 404 'controls/scrollbar/bitmap_scroll_bar.cc', |
386 'controls/native_control.cc', | 405 'controls/native_control.cc', |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
730 'include_dirs': [ | 749 'include_dirs': [ |
731 '<(DEPTH)/third_party/wtl/include', | 750 '<(DEPTH)/third_party/wtl/include', |
732 ], | 751 ], |
733 }], | 752 }], |
734 ], | 753 ], |
735 }, | 754 }, |
736 | 755 |
737 | 756 |
738 ], | 757 ], |
739 } | 758 } |
OLD | NEW |