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'], | |
17 ]}], | 16 ]}], |
18 ['touchui==0', { | 17 ['touchui==0', { |
19 'sources/': [ | 18 'sources/': [ |
20 ['exclude', '_(touch)\\.cc$'], | 19 ['exclude', '_(touch)\\.cc$'], |
21 ], | 20 ], |
22 }], | 21 }], |
23 ['use_aura==1', { | 22 ['use_aura==1', { |
24 'sources/': [ ['exclude', '_win\\.(h|cc)$'], | 23 'sources/': [ ['exclude', '_win\\.(h|cc)$'], |
25 ['exclude', '_gtk\\.(h|cc)$'], | 24 ['exclude', '_gtk\\.(h|cc)$'], |
26 ['exclude', '_x\\.(h|cc)$'] ], | 25 ['exclude', '_x\\.(h|cc)$'] ], |
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 'drag_utils.h', | 253 'drag_utils.h', |
255 'drag_utils_gtk.cc', | 254 'drag_utils_gtk.cc', |
256 'drag_utils_linux.cc', | 255 'drag_utils_linux.cc', |
257 'drag_utils_win.cc', | 256 'drag_utils_win.cc', |
258 'events/event.cc', | 257 'events/event.cc', |
259 'events/event.h', | 258 'events/event.h', |
260 'events/event_aura.cc', | 259 'events/event_aura.cc', |
261 'events/event_gtk.cc', | 260 'events/event_gtk.cc', |
262 'events/event_wayland.cc', | 261 'events/event_wayland.cc', |
263 'events/event_win.cc', | 262 'events/event_win.cc', |
264 'events/event_utils_win.cc', | |
265 'events/event_utils_win.h', | |
266 'events/event_x.cc', | 263 'events/event_x.cc', |
267 'focus/accelerator_handler.h', | 264 'focus/accelerator_handler.h', |
268 'focus/accelerator_handler_aura.cc', | 265 'focus/accelerator_handler_aura.cc', |
269 'focus/accelerator_handler_gtk.cc', | 266 'focus/accelerator_handler_gtk.cc', |
270 'focus/accelerator_handler_touch.cc', | 267 'focus/accelerator_handler_touch.cc', |
271 'focus/accelerator_handler_wayland.cc', | 268 'focus/accelerator_handler_wayland.cc', |
272 'focus/accelerator_handler_win.cc', | 269 'focus/accelerator_handler_win.cc', |
273 'focus/external_focus_tracker.cc', | 270 'focus/external_focus_tracker.cc', |
274 'focus/external_focus_tracker.h', | 271 'focus/external_focus_tracker.h', |
275 'focus/focus_manager.cc', | 272 'focus/focus_manager.cc', |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 'native_theme_painter.cc', | 323 'native_theme_painter.cc', |
327 'native_theme_painter.h', | 324 'native_theme_painter.h', |
328 'paint_lock.cc', | 325 'paint_lock.cc', |
329 'paint_lock.h', | 326 'paint_lock.h', |
330 'painter.cc', | 327 'painter.cc', |
331 'painter.h', | 328 'painter.h', |
332 'repeat_controller.cc', | 329 'repeat_controller.cc', |
333 'repeat_controller.h', | 330 'repeat_controller.h', |
334 'touchui/gesture_manager.cc', | 331 'touchui/gesture_manager.cc', |
335 'touchui/gesture_manager.h', | 332 'touchui/gesture_manager.h', |
336 'touchui/touch_factory.cc', | |
337 'touchui/touch_factory.h', | |
338 'touchui/touch_selection_controller.cc', | 333 'touchui/touch_selection_controller.cc', |
339 'touchui/touch_selection_controller.h', | 334 'touchui/touch_selection_controller.h', |
340 'touchui/touch_selection_controller_impl.cc', | 335 'touchui/touch_selection_controller_impl.cc', |
341 'touchui/touch_selection_controller_impl.h', | 336 'touchui/touch_selection_controller_impl.h', |
342 'view.cc', | 337 'view.cc', |
343 'view.h', | 338 'view.h', |
344 'view_aura.cc', | 339 'view_aura.cc', |
345 'view_constants.cc', | 340 'view_constants.cc', |
346 'view_constants.h', | 341 'view_constants.h', |
347 'view_gtk.cc', | 342 'view_gtk.cc', |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
420 ], | 415 ], |
421 'conditions': [ | 416 'conditions': [ |
422 ['use_wayland == 1', { | 417 ['use_wayland == 1', { |
423 'dependencies': [ | 418 'dependencies': [ |
424 '../ui/wayland/wayland.gyp:wayland', | 419 '../ui/wayland/wayland.gyp:wayland', |
425 ], | 420 ], |
426 'sources/': [ | 421 'sources/': [ |
427 ['exclude', '_(gtk|x)\\.cc$'], | 422 ['exclude', '_(gtk|x)\\.cc$'], |
428 ['exclude', '/(gtk|x)_[^/]*\\.cc$'], | 423 ['exclude', '/(gtk|x)_[^/]*\\.cc$'], |
429 ['exclude', 'focus/accelerator_handler_touch.cc'], | 424 ['exclude', 'focus/accelerator_handler_touch.cc'], |
430 ['exclude', 'touchui/touch_factory.cc'], | |
431 ['exclude', 'touchui/touch_factory.h'], | |
432 ['include', 'controls/menu/native_menu_linux.cc'], | 425 ['include', 'controls/menu/native_menu_linux.cc'], |
433 ['include', 'controls/menu/native_menu_linux.h'], | 426 ['include', 'controls/menu/native_menu_linux.h'], |
434 ['include', 'drag_utils_gtk.cc'], | 427 ['include', 'drag_utils_gtk.cc'], |
435 ['include', 'widget/tooltip_manager_views.cc'], | 428 ['include', 'widget/tooltip_manager_views.cc'], |
436 ], | 429 ], |
437 }], | 430 }], |
438 ['use_aura==1', { | 431 ['use_aura==1', { |
439 'dependencies': [ | 432 'dependencies': [ |
440 '../ui/aura/aura.gyp:aura', | 433 '../ui/aura/aura.gyp:aura', |
441 ], | 434 ], |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 ['exclude', 'ime/character_composer.h'], | 529 ['exclude', 'ime/character_composer.h'], |
537 ['exclude', 'ime/input_method_ibus.cc'], | 530 ['exclude', 'ime/input_method_ibus.cc'], |
538 ['exclude', 'ime/input_method_ibus.h'], | 531 ['exclude', 'ime/input_method_ibus.h'], |
539 ], | 532 ], |
540 }], | 533 }], |
541 ['OS=="win"', { | 534 ['OS=="win"', { |
542 'include_dirs': [ | 535 'include_dirs': [ |
543 '<(DEPTH)/third_party/wtl/include', | 536 '<(DEPTH)/third_party/wtl/include', |
544 ], | 537 ], |
545 }], | 538 }], |
| 539 ['use_x11==0', { |
| 540 'sources!': [ |
| 541 'events/event_x.cc', |
| 542 ], |
| 543 }], |
546 ], | 544 ], |
547 }, | 545 }, |
548 { | 546 { |
549 'target_name': 'views_unittests', | 547 'target_name': 'views_unittests', |
550 'type': 'executable', | 548 'type': 'executable', |
551 'dependencies': [ | 549 'dependencies': [ |
552 '../base/base.gyp:base', | 550 '../base/base.gyp:base', |
553 '../base/base.gyp:test_support_base', | 551 '../base/base.gyp:test_support_base', |
554 '../build/temp_gyp/googleurl.gyp:googleurl', | 552 '../build/temp_gyp/googleurl.gyp:googleurl', |
555 '../chrome/chrome.gyp:packed_resources', | 553 '../chrome/chrome.gyp:packed_resources', |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
914 'include_dirs': [ | 912 'include_dirs': [ |
915 '<(DEPTH)/third_party/wtl/include', | 913 '<(DEPTH)/third_party/wtl/include', |
916 ], | 914 ], |
917 }], | 915 }], |
918 ], | 916 ], |
919 }, | 917 }, |
920 ], | 918 ], |
921 }], | 919 }], |
922 ], | 920 ], |
923 } | 921 } |
OLD | NEW |