| 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 | 8 |
| 9 'target_defaults': { | 9 'target_defaults': { |
| 10 'conditions': [ | 10 'conditions': [ |
| 11 ['OS=="win"', {'sources/': [ | 11 ['OS=="win"', {'sources/': [ |
| 12 ['include', '_(win)\\.cc$'], | 12 ['include', '_(win)\\.cc$'], |
| 13 ['include', '/win/'], | 13 ['include', '/win/'], |
| 14 ['include', '/win_[^/]*\\.cc$'], | 14 ['include', '/win_[^/]*\\.cc$'], |
| 15 ]}], | 15 ]}], |
| 16 ['use_aura==1', { | 16 ['use_aura==1', { |
| 17 'sources/': [ ['exclude', '_win\\.(h|cc)$'], | 17 'sources/': [ ['exclude', '_win\\.(h|cc)$'], |
| 18 ['exclude', '_x\\.(h|cc)$'] ], | 18 ['exclude', '_x\\.(h|cc)$'] ], |
| 19 'dependencies': [ '../aura/aura.gyp:aura', ], | 19 'dependencies': [ '../aura/aura.gyp:aura', ], |
| 20 }], | 20 }], |
| 21 ['OS!="linux" or chromeos==1', { |
| 22 'sources/': [ ['exclude', '_linux\\.(h|cc)$'] ], |
| 23 }], |
| 21 ], | 24 ], |
| 22 }, | 25 }, |
| 23 'targets': [ | 26 'targets': [ |
| 24 { | 27 { |
| 25 'target_name': 'views', | 28 'target_name': 'views', |
| 26 'type': '<(component)', | 29 'type': '<(component)', |
| 27 'dependencies': [ | 30 'dependencies': [ |
| 28 '../../base/base.gyp:base', | 31 '../../base/base.gyp:base', |
| 29 '../../base/base.gyp:base_i18n', | 32 '../../base/base.gyp:base_i18n', |
| 30 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', | 33 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', |
| (...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 'view_text_utils.cc', | 306 'view_text_utils.cc', |
| 304 'view_text_utils.h', | 307 'view_text_utils.h', |
| 305 'view_win.cc', | 308 'view_win.cc', |
| 306 'views_delegate.h', | 309 'views_delegate.h', |
| 307 'widget/aero_tooltip_manager.cc', | 310 'widget/aero_tooltip_manager.cc', |
| 308 'widget/aero_tooltip_manager.h', | 311 'widget/aero_tooltip_manager.h', |
| 309 'widget/child_window_message_processor.cc', | 312 'widget/child_window_message_processor.cc', |
| 310 'widget/child_window_message_processor.h', | 313 'widget/child_window_message_processor.h', |
| 311 'widget/default_theme_provider.cc', | 314 'widget/default_theme_provider.cc', |
| 312 'widget/default_theme_provider.h', | 315 'widget/default_theme_provider.h', |
| 316 'widget/desktop_native_widget_aura.cc', |
| 317 'widget/desktop_native_widget_aura.h', |
| 313 'widget/desktop_native_widget_helper_aura.cc', | 318 'widget/desktop_native_widget_helper_aura.cc', |
| 314 'widget/desktop_native_widget_helper_aura.h', | 319 'widget/desktop_native_widget_helper_aura.h', |
| 320 'widget/desktop_root_window_host.h', |
| 321 'widget/desktop_root_window_host_linux.cc', |
| 322 'widget/desktop_root_window_host_linux.h', |
| 323 'widget/desktop_root_window_host_win.cc', |
| 324 'widget/desktop_root_window_host_win.h', |
| 315 'widget/drop_helper.cc', | 325 'widget/drop_helper.cc', |
| 316 'widget/drop_helper.h', | 326 'widget/drop_helper.h', |
| 317 'widget/drop_target_win.cc', | 327 'widget/drop_target_win.cc', |
| 318 'widget/drop_target_win.h', | 328 'widget/drop_target_win.h', |
| 319 'widget/root_view.cc', | 329 'widget/root_view.cc', |
| 320 'widget/root_view.h', | 330 'widget/root_view.h', |
| 321 'widget/tooltip_manager_aura.cc', | 331 'widget/tooltip_manager_aura.cc', |
| 322 'widget/tooltip_manager_aura.h', | 332 'widget/tooltip_manager_aura.h', |
| 323 'widget/tooltip_manager_win.cc', | 333 'widget/tooltip_manager_win.cc', |
| 324 'widget/tooltip_manager_win.h', | 334 'widget/tooltip_manager_win.h', |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 401 'conditions': [ | 411 'conditions': [ |
| 402 ['OS=="mac"', { | 412 ['OS=="mac"', { |
| 403 'sources/': [ | 413 'sources/': [ |
| 404 ['exclude', 'mouse_watcher.cc'], | 414 ['exclude', 'mouse_watcher.cc'], |
| 405 ['exclude', 'controls/menu/*'], | 415 ['exclude', 'controls/menu/*'], |
| 406 ['exclude', 'controls/scrollbar/*'], | 416 ['exclude', 'controls/scrollbar/*'], |
| 407 ['exclude', 'focus/accelerator_handler_aura.cc'], | 417 ['exclude', 'focus/accelerator_handler_aura.cc'], |
| 408 ['exclude', 'widget/tooltip_manager_views.cc'], | 418 ['exclude', 'widget/tooltip_manager_views.cc'], |
| 409 ], | 419 ], |
| 410 }], | 420 }], |
| 421 ['OS=="win"', { |
| 422 'sources/': [ |
| 423 ['include', 'widget/desktop_root_window_host_win.cc'], |
| 424 ['include', 'widget/desktop_root_window_host_win.h'], |
| 425 ], |
| 426 }], |
| 427 ], |
| 428 }], |
| 429 ['chromeos==1', { |
| 430 'sources!': [ |
| 431 'widget/desktop_root_window_host.h', |
| 432 'widget/desktop_root_window_host_linux.cc', |
| 433 'widget/desktop_root_window_host_linux.h', |
| 434 'widget/desktop_native_widget_aura.cc', |
| 435 'widget/desktop_native_widget_aura.h', |
| 411 ], | 436 ], |
| 412 }], | 437 }], |
| 413 ['use_aura==0', { | 438 ['use_aura==0', { |
| 414 'sources!': [ | 439 'sources!': [ |
| 415 'widget/tooltip_manager_views.cc', | 440 'widget/tooltip_manager_views.cc', |
| 441 'widget/desktop_root_window_host.h', |
| 442 'widget/desktop_root_window_host_linux.cc', |
| 443 'widget/desktop_root_window_host_linux.h', |
| 444 'widget/desktop_root_window_host_win.cc', |
| 445 'widget/desktop_root_window_host_win.h', |
| 446 'widget/desktop_native_widget_aura.cc', |
| 447 'widget/desktop_native_widget_aura.h', |
| 416 ], | 448 ], |
| 417 }], | 449 }], |
| 418 ['use_aura==0 and OS=="win"', { | 450 ['use_aura==0 and OS=="win"', { |
| 419 'sources!': [ | 451 'sources!': [ |
| 420 'controls/menu/menu_config_views.cc', | 452 'controls/menu/menu_config_views.cc', |
| 421 'controls/menu/menu_item_view_views.cc', | 453 'controls/menu/menu_item_view_views.cc', |
| 422 'controls/menu/menu_separator_views.cc', | 454 'controls/menu/menu_separator_views.cc', |
| 423 'controls/table/group_table_view_views.cc', | 455 'controls/table/group_table_view_views.cc', |
| 424 'controls/table/group_table_view_views.h', | 456 'controls/table/group_table_view_views.h', |
| 425 'controls/table/table_view_views.cc', | 457 'controls/table/table_view_views.cc', |
| (...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 818 'sources/': [ | 850 'sources/': [ |
| 819 # This is needed because the aura rule strips it from the default | 851 # This is needed because the aura rule strips it from the default |
| 820 # sources list. | 852 # sources list. |
| 821 ['include', '^../../content/app/startup_helper_win.cc'], | 853 ['include', '^../../content/app/startup_helper_win.cc'], |
| 822 ], | 854 ], |
| 823 }], | 855 }], |
| 824 ], | 856 ], |
| 825 }, # target_name: views_examples_with_content_exe | 857 }, # target_name: views_examples_with_content_exe |
| 826 ], | 858 ], |
| 827 } | 859 } |
| OLD | NEW |