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