| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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 'variables': { | 5 'variables': { |
| 6 'chromium_code': 1, | 6 'chromium_code': 1, |
| 7 }, | 7 }, |
| 8 'target_defaults': { | 8 'target_defaults': { |
| 9 'conditions': [ | 9 'conditions': [ |
| 10 ['use_aura==1', { | 10 ['use_aura==1', { |
| 11 'dependencies': [ | 11 'dependencies': [ |
| 12 '../aura/aura.gyp:aura', | 12 '../aura/aura.gyp:aura', |
| 13 '../wm/wm.gyp:wm', | 13 '../wm/wm.gyp:wm', |
| 14 ], | 14 ], |
| 15 }, { # use_aura==0 |
| 16 'sources/': [ |
| 17 ['exclude', '^corewm/'], |
| 18 ['exclude', '^touchui/'], |
| 19 ['exclude', '^widget/desktop_aura/'] |
| 20 ] |
| 15 }], | 21 }], |
| 16 ], | 22 ], |
| 17 }, | 23 }, |
| 18 'targets': [ | 24 'targets': [ |
| 19 { | 25 { |
| 20 'target_name': 'views', | 26 'target_name': 'views', |
| 21 'type': '<(component)', | 27 'type': '<(component)', |
| 22 'dependencies': [ | 28 'dependencies': [ |
| 23 '../../base/base.gyp:base', | 29 '../../base/base.gyp:base', |
| 24 '../../base/base.gyp:base_i18n', | 30 '../../base/base.gyp:base_i18n', |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 'controls/menu/menu_image_util.cc', | 181 'controls/menu/menu_image_util.cc', |
| 176 'controls/menu/menu_image_util.h', | 182 'controls/menu/menu_image_util.h', |
| 177 'controls/menu/submenu_view.cc', | 183 'controls/menu/submenu_view.cc', |
| 178 'controls/menu/submenu_view.h', | 184 'controls/menu/submenu_view.h', |
| 179 'controls/message_box_view.cc', | 185 'controls/message_box_view.cc', |
| 180 'controls/message_box_view.h', | 186 'controls/message_box_view.h', |
| 181 'controls/native/native_view_host.cc', | 187 'controls/native/native_view_host.cc', |
| 182 'controls/native/native_view_host.h', | 188 'controls/native/native_view_host.h', |
| 183 'controls/native/native_view_host_aura.cc', | 189 'controls/native/native_view_host_aura.cc', |
| 184 'controls/native/native_view_host_aura.h', | 190 'controls/native/native_view_host_aura.h', |
| 191 'controls/native/native_view_host_mac.cc', |
| 185 'controls/prefix_delegate.h', | 192 'controls/prefix_delegate.h', |
| 186 'controls/prefix_selector.cc', | 193 'controls/prefix_selector.cc', |
| 187 'controls/prefix_selector.h', | 194 'controls/prefix_selector.h', |
| 188 'controls/progress_bar.cc', | 195 'controls/progress_bar.cc', |
| 189 'controls/progress_bar.h', | 196 'controls/progress_bar.h', |
| 190 'controls/resize_area.cc', | 197 'controls/resize_area.cc', |
| 191 'controls/resize_area.h', | 198 'controls/resize_area.h', |
| 192 'controls/resize_area_delegate.h', | 199 'controls/resize_area_delegate.h', |
| 193 'controls/scroll_view.cc', | 200 'controls/scroll_view.cc', |
| 194 'controls/scroll_view.h', | 201 'controls/scroll_view.h', |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 'widget/drop_helper.cc', | 403 'widget/drop_helper.cc', |
| 397 'widget/drop_helper.h', | 404 'widget/drop_helper.h', |
| 398 'widget/root_view.cc', | 405 'widget/root_view.cc', |
| 399 'widget/root_view.h', | 406 'widget/root_view.h', |
| 400 'widget/monitor_win.cc', | 407 'widget/monitor_win.cc', |
| 401 'widget/monitor_win.h', | 408 'widget/monitor_win.h', |
| 402 'widget/native_widget.h', | 409 'widget/native_widget.h', |
| 403 'widget/native_widget_aura.cc', | 410 'widget/native_widget_aura.cc', |
| 404 'widget/native_widget_aura.h', | 411 'widget/native_widget_aura.h', |
| 405 'widget/native_widget_delegate.h', | 412 'widget/native_widget_delegate.h', |
| 413 'widget/native_widget_mac.h', |
| 414 'widget/native_widget_mac.mm', |
| 406 'widget/native_widget_private.h', | 415 'widget/native_widget_private.h', |
| 407 'widget/tooltip_manager_aura.cc', | 416 'widget/tooltip_manager_aura.cc', |
| 408 'widget/tooltip_manager_aura.h', | 417 'widget/tooltip_manager_aura.h', |
| 409 'widget/tooltip_manager.cc', | 418 'widget/tooltip_manager.cc', |
| 410 'widget/tooltip_manager.h', | 419 'widget/tooltip_manager.h', |
| 411 'widget/widget.cc', | 420 'widget/widget.cc', |
| 412 'widget/widget.h', | 421 'widget/widget.h', |
| 413 'widget/widget_aura_utils.cc', | 422 'widget/widget_aura_utils.cc', |
| 414 'widget/widget_aura_utils.h', | 423 'widget/widget_aura_utils.h', |
| 415 'widget/widget_delegate.cc', | 424 'widget/widget_delegate.cc', |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 '../../third_party/wtl/include', | 463 '../../third_party/wtl/include', |
| 455 ], | 464 ], |
| 456 'conditions': [ | 465 'conditions': [ |
| 457 ['chromeos==1', { | 466 ['chromeos==1', { |
| 458 'sources/': [ | 467 'sources/': [ |
| 459 ['exclude', 'widget/desktop_aura'], | 468 ['exclude', 'widget/desktop_aura'], |
| 460 ], | 469 ], |
| 461 }], | 470 }], |
| 462 ['use_ash==0', { | 471 ['use_ash==0', { |
| 463 'sources!': [ | 472 'sources!': [ |
| 473 'accessibility/ax_aura_obj_cache.cc', |
| 474 'accessibility/ax_aura_obj_cache.h', |
| 475 'accessibility/ax_aura_obj_wrapper.h', |
| 476 'accessibility/ax_view_obj_wrapper.cc', |
| 477 'accessibility/ax_view_obj_wrapper.h', |
| 478 'accessibility/ax_widget_obj_wrapper.cc', |
| 479 'accessibility/ax_widget_obj_wrapper.h', |
| 480 'accessibility/ax_window_obj_wrapper.cc', |
| 481 'accessibility/ax_window_obj_wrapper.h', |
| 464 'bubble/tray_bubble_view.cc', | 482 'bubble/tray_bubble_view.cc', |
| 465 'bubble/tray_bubble_view.h', | 483 'bubble/tray_bubble_view.h', |
| 466 ], | 484 ], |
| 467 }], | 485 }], |
| 468 ['chromeos==0 and use_x11==1', { | 486 ['chromeos==0 and use_x11==1', { |
| 469 'dependencies': [ | 487 'dependencies': [ |
| 470 '../display/display.gyp:display_util', | 488 '../display/display.gyp:display_util', |
| 471 ], | 489 ], |
| 472 }], | 490 }], |
| 473 ['OS=="linux" and chromeos==0', { | 491 ['OS=="linux" and chromeos==0', { |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 524 '../ozone/ozone.gyp:ozone', | 542 '../ozone/ozone.gyp:ozone', |
| 525 ], | 543 ], |
| 526 }], | 544 }], |
| 527 ['use_x11==1', { | 545 ['use_x11==1', { |
| 528 'dependencies': [ | 546 'dependencies': [ |
| 529 '../../build/linux/system.gyp:x11', | 547 '../../build/linux/system.gyp:x11', |
| 530 '../../build/linux/system.gyp:xrandr', | 548 '../../build/linux/system.gyp:xrandr', |
| 531 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform'
, | 549 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform'
, |
| 532 ], | 550 ], |
| 533 }], | 551 }], |
| 552 ['use_aura==0', { |
| 553 'sources!': [ |
| 554 'bubble/bubble_window_targeter.cc', |
| 555 'bubble/bubble_window_targeter.h', |
| 556 'bubble/tray_bubble_view.cc', |
| 557 'bubble/tray_bubble_view.h', |
| 558 'mouse_watcher_view_host.cc', |
| 559 'mouse_watcher_view_host.h', |
| 560 'widget/window_reorderer.cc', |
| 561 'widget/window_reorderer.h', |
| 562 ], |
| 563 }], |
| 534 ], | 564 ], |
| 535 }, # target_name: views | 565 }, # target_name: views |
| 536 { | 566 { |
| 537 'target_name': 'views_test_support', | 567 'target_name': 'views_test_support', |
| 538 'type': 'static_library', | 568 'type': 'static_library', |
| 539 'dependencies': [ | 569 'dependencies': [ |
| 540 '../../base/base.gyp:base', | 570 '../../base/base.gyp:base', |
| 541 '../../ipc/ipc.gyp:test_support_ipc', | 571 '../../ipc/ipc.gyp:test_support_ipc', |
| 542 '../../skia/skia.gyp:skia', | 572 '../../skia/skia.gyp:skia', |
| 543 '../../testing/gtest.gyp:gtest', | 573 '../../testing/gtest.gyp:gtest', |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 750 }], | 780 }], |
| 751 ['use_x11==1', { | 781 ['use_x11==1', { |
| 752 'dependencies': [ | 782 'dependencies': [ |
| 753 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform'
, | 783 '../events/platform/x11/x11_events_platform.gyp:x11_events_platform'
, |
| 754 ], | 784 ], |
| 755 }], | 785 }], |
| 756 ], | 786 ], |
| 757 }, # target_name: views_unittests | 787 }, # target_name: views_unittests |
| 758 ], | 788 ], |
| 759 } | 789 } |
| OLD | NEW |