Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/chromecast_build.gni") | 5 import("//build/config/chromecast_build.gni") |
| 6 import("//build/config/crypto.gni") | 6 import("//build/config/crypto.gni") |
| 7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
| 8 import("//build/config/ui.gni") | 8 import("//build/config/ui.gni") |
| 9 import("//build/split_static_library.gni") | 9 import("//build/split_static_library.gni") |
| 10 import("//chrome/common/features.gni") | 10 import("//chrome/common/features.gni") |
| (...skipping 1528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1539 deps += [ "//extensions/components/native_app_window" ] | 1539 deps += [ "//extensions/components/native_app_window" ] |
| 1540 } | 1540 } |
| 1541 | 1541 |
| 1542 if (is_chromeos) { | 1542 if (is_chromeos) { |
| 1543 sources += [ | 1543 sources += [ |
| 1544 "views/apps/app_info_dialog/arc_app_info_links_panel.cc", | 1544 "views/apps/app_info_dialog/arc_app_info_links_panel.cc", |
| 1545 "views/apps/app_info_dialog/arc_app_info_links_panel.h", | 1545 "views/apps/app_info_dialog/arc_app_info_links_panel.h", |
| 1546 ] | 1546 ] |
| 1547 } else if (!is_mac || mac_views_browser) { | 1547 } else if (!is_mac || mac_views_browser) { |
| 1548 sources += [ | 1548 sources += [ |
| 1549 "external_protocol_dialog_delegate.cc", | |
| 1550 "external_protocol_dialog_delegate.h", | |
| 1551 "views/external_protocol_dialog.cc", | |
| 1552 "views/external_protocol_dialog.h", | |
| 1553 "views/frame/opaque_browser_frame_view.cc", | 1549 "views/frame/opaque_browser_frame_view.cc", |
| 1554 "views/frame/opaque_browser_frame_view.h", | 1550 "views/frame/opaque_browser_frame_view.h", |
| 1555 "views/frame/opaque_browser_frame_view_layout.cc", | 1551 "views/frame/opaque_browser_frame_view_layout.cc", |
| 1556 "views/frame/opaque_browser_frame_view_layout.h", | 1552 "views/frame/opaque_browser_frame_view_layout.h", |
| 1557 "views/frame/opaque_browser_frame_view_layout_delegate.h", | 1553 "views/frame/opaque_browser_frame_view_layout_delegate.h", |
| 1558 "views/frame/opaque_browser_frame_view_linux.cc", | 1554 "views/frame/opaque_browser_frame_view_linux.cc", |
| 1559 "views/frame/opaque_browser_frame_view_linux.h", | 1555 "views/frame/opaque_browser_frame_view_linux.h", |
| 1560 "views/frame/opaque_browser_frame_view_platform_specific.cc", | 1556 "views/frame/opaque_browser_frame_view_platform_specific.cc", |
| 1561 "views/frame/opaque_browser_frame_view_platform_specific.h", | 1557 "views/frame/opaque_browser_frame_view_platform_specific.h", |
| 1562 "views/profiles/profile_chooser_view.cc", | 1558 "views/profiles/profile_chooser_view.cc", |
| 1563 "views/profiles/profile_chooser_view.h", | 1559 "views/profiles/profile_chooser_view.h", |
| 1564 "views/screen_capture_notification_ui_views.cc", | 1560 "views/screen_capture_notification_ui_views.cc", |
| 1565 "views/sync/one_click_signin_dialog_view.cc", | 1561 "views/sync/one_click_signin_dialog_view.cc", |
| 1566 "views/sync/one_click_signin_dialog_view.h", | 1562 "views/sync/one_click_signin_dialog_view.h", |
| 1567 "views/sync/profile_signin_confirmation_dialog_views.cc", | 1563 "views/sync/profile_signin_confirmation_dialog_views.cc", |
| 1568 "views/sync/profile_signin_confirmation_dialog_views.h", | 1564 "views/sync/profile_signin_confirmation_dialog_views.h", |
| 1569 ] | 1565 ] |
| 1570 } | 1566 } |
| 1571 | 1567 |
| 1568 if (!is_chromeos) { | |
| 1569 sources += [ | |
| 1570 "external_protocol_dialog_delegate.cc", | |
| 1571 "external_protocol_dialog_delegate.h", | |
| 1572 "views/external_protocol_dialog.cc", | |
| 1573 "views/external_protocol_dialog.h", | |
| 1574 ] | |
| 1575 } | |
| 1576 | |
| 1572 # These files do Gtk+-based theming, but Gtk+ is not available on | 1577 # These files do Gtk+-based theming, but Gtk+ is not available on |
| 1573 # Ozone builds, or on common environments where Ozone will be used. | 1578 # Ozone builds, or on common environments where Ozone will be used. |
| 1574 # | 1579 # |
| 1575 # TODO(tonikitoo): It seems sensible to make it possible to opt-in | 1580 # TODO(tonikitoo): It seems sensible to make it possible to opt-in |
| 1576 # the use of these files in case Gtk is available with its Wayland. | 1581 # the use of these files in case Gtk is available with its Wayland. |
| 1577 if (use_aura && !use_ozone && is_desktop_linux) { | 1582 if (use_aura && !use_ozone && is_desktop_linux) { |
| 1578 sources += [ | 1583 sources += [ |
| 1579 "views/chrome_browser_main_extra_parts_views_linux.cc", | 1584 "views/chrome_browser_main_extra_parts_views_linux.cc", |
| 1580 "views/chrome_browser_main_extra_parts_views_linux.h", | 1585 "views/chrome_browser_main_extra_parts_views_linux.h", |
| 1581 ] | 1586 ] |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1948 ] | 1953 ] |
| 1949 } | 1954 } |
| 1950 } | 1955 } |
| 1951 if (use_gio) { | 1956 if (use_gio) { |
| 1952 deps += [ "//build/linux/libgio" ] | 1957 deps += [ "//build/linux/libgio" ] |
| 1953 } | 1958 } |
| 1954 if (use_aura && !use_ozone && is_desktop_linux) { | 1959 if (use_aura && !use_ozone && is_desktop_linux) { |
| 1955 # This is the only component that can interact with gtk. | 1960 # This is the only component that can interact with gtk. |
| 1956 deps += [ "//chrome/browser/ui/libgtkui" ] | 1961 deps += [ "//chrome/browser/ui/libgtkui" ] |
| 1957 } | 1962 } |
| 1958 if (is_win || is_mac || is_desktop_linux) { | 1963 if (is_win || is_mac || is_desktop_linux) { |
|
tapted
2017/01/24 04:02:43
I think this is the right place for the files. (th
karandeepb
2017/01/24 06:12:23
Done. Toolkit views is defined only on all desktop
| |
| 1959 sources += [ | 1964 sources += [ |
| 1960 "avatar_button_error_controller.cc", | 1965 "avatar_button_error_controller.cc", |
| 1961 "avatar_button_error_controller.h", | 1966 "avatar_button_error_controller.h", |
| 1962 "avatar_button_error_controller_delegate.h", | 1967 "avatar_button_error_controller_delegate.h", |
| 1963 "startup/default_browser_infobar_delegate.cc", | 1968 "startup/default_browser_infobar_delegate.cc", |
| 1964 "startup/default_browser_infobar_delegate.h", | 1969 "startup/default_browser_infobar_delegate.h", |
| 1965 "startup/default_browser_prompt.cc", | 1970 "startup/default_browser_prompt.cc", |
| 1966 "startup/default_browser_prompt.h", | 1971 "startup/default_browser_prompt.h", |
| 1967 "startup/default_browser_prompt_win.cc", | 1972 "startup/default_browser_prompt_win.cc", |
| 1968 "sync/one_click_signin_links_delegate.h", | 1973 "sync/one_click_signin_links_delegate.h", |
| (...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 2680 "cocoa/extensions/extension_view_mac.mm", | 2685 "cocoa/extensions/extension_view_mac.mm", |
| 2681 "cocoa/extensions/media_galleries_dialog_cocoa.h", | 2686 "cocoa/extensions/media_galleries_dialog_cocoa.h", |
| 2682 "cocoa/extensions/media_galleries_dialog_cocoa.mm", | 2687 "cocoa/extensions/media_galleries_dialog_cocoa.mm", |
| 2683 "cocoa/extensions/media_gallery_list_entry_view.h", | 2688 "cocoa/extensions/media_gallery_list_entry_view.h", |
| 2684 "cocoa/extensions/media_gallery_list_entry_view.mm", | 2689 "cocoa/extensions/media_gallery_list_entry_view.mm", |
| 2685 "cocoa/extensions/toolbar_actions_bar_bubble_mac.h", | 2690 "cocoa/extensions/toolbar_actions_bar_bubble_mac.h", |
| 2686 "cocoa/extensions/toolbar_actions_bar_bubble_mac.mm", | 2691 "cocoa/extensions/toolbar_actions_bar_bubble_mac.mm", |
| 2687 "cocoa/extensions/windowed_install_dialog_controller.h", | 2692 "cocoa/extensions/windowed_install_dialog_controller.h", |
| 2688 "cocoa/extensions/windowed_install_dialog_controller.mm", | 2693 "cocoa/extensions/windowed_install_dialog_controller.mm", |
| 2689 "cocoa/external_protocol_dialog.h", | 2694 "cocoa/external_protocol_dialog.h", |
| 2690 "cocoa/external_protocol_dialog.mm", | 2695 "cocoa/external_protocol_dialog_cocoa.mm", |
| 2696 "cocoa/external_protocol_dialog_views_mac.mm", | |
| 2691 "cocoa/fast_resize_view.h", | 2697 "cocoa/fast_resize_view.h", |
| 2692 "cocoa/fast_resize_view.mm", | 2698 "cocoa/fast_resize_view.mm", |
| 2693 "cocoa/find_bar/find_bar_bridge.h", | 2699 "cocoa/find_bar/find_bar_bridge.h", |
| 2694 "cocoa/find_bar/find_bar_bridge.mm", | 2700 "cocoa/find_bar/find_bar_bridge.mm", |
| 2695 "cocoa/find_bar/find_bar_cocoa_controller.h", | 2701 "cocoa/find_bar/find_bar_cocoa_controller.h", |
| 2696 "cocoa/find_bar/find_bar_cocoa_controller.mm", | 2702 "cocoa/find_bar/find_bar_cocoa_controller.mm", |
| 2697 "cocoa/find_bar/find_bar_text_field.h", | 2703 "cocoa/find_bar/find_bar_text_field.h", |
| 2698 "cocoa/find_bar/find_bar_text_field.mm", | 2704 "cocoa/find_bar/find_bar_text_field.mm", |
| 2699 "cocoa/find_bar/find_bar_text_field_cell.h", | 2705 "cocoa/find_bar/find_bar_text_field_cell.h", |
| 2700 "cocoa/find_bar/find_bar_text_field_cell.mm", | 2706 "cocoa/find_bar/find_bar_text_field_cell.mm", |
| (...skipping 796 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 3497 "test/test_confirm_bubble_model.cc", | 3503 "test/test_confirm_bubble_model.cc", |
| 3498 "test/test_confirm_bubble_model.h", | 3504 "test/test_confirm_bubble_model.h", |
| 3499 ] | 3505 ] |
| 3500 deps += [ "//chrome/test:test_support_ui" ] | 3506 deps += [ "//chrome/test:test_support_ui" ] |
| 3501 } | 3507 } |
| 3502 | 3508 |
| 3503 if (enable_extensions) { | 3509 if (enable_extensions) { |
| 3504 deps += [ "//extensions/browser" ] | 3510 deps += [ "//extensions/browser" ] |
| 3505 } | 3511 } |
| 3506 } | 3512 } |
| OLD | NEW |