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 1502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1513 | 1513 |
1514 if (is_chromeos) { | 1514 if (is_chromeos) { |
1515 sources += [ | 1515 sources += [ |
1516 "views/apps/app_info_dialog/arc_app_info_links_panel.cc", | 1516 "views/apps/app_info_dialog/arc_app_info_links_panel.cc", |
1517 "views/apps/app_info_dialog/arc_app_info_links_panel.h", | 1517 "views/apps/app_info_dialog/arc_app_info_links_panel.h", |
1518 ] | 1518 ] |
1519 } else if (!is_mac || mac_views_browser) { | 1519 } else if (!is_mac || mac_views_browser) { |
1520 sources += [ | 1520 sources += [ |
1521 "external_protocol_dialog_delegate.cc", | 1521 "external_protocol_dialog_delegate.cc", |
1522 "external_protocol_dialog_delegate.h", | 1522 "external_protocol_dialog_delegate.h", |
1523 "views/chrome_browser_main_extra_parts_views_linux.cc", | |
1524 "views/chrome_browser_main_extra_parts_views_linux.h", | |
1525 "views/external_protocol_dialog.cc", | 1523 "views/external_protocol_dialog.cc", |
1526 "views/external_protocol_dialog.h", | 1524 "views/external_protocol_dialog.h", |
1527 "views/frame/opaque_browser_frame_view.cc", | 1525 "views/frame/opaque_browser_frame_view.cc", |
1528 "views/frame/opaque_browser_frame_view.h", | 1526 "views/frame/opaque_browser_frame_view.h", |
1529 "views/frame/opaque_browser_frame_view_layout.cc", | 1527 "views/frame/opaque_browser_frame_view_layout.cc", |
1530 "views/frame/opaque_browser_frame_view_layout.h", | 1528 "views/frame/opaque_browser_frame_view_layout.h", |
1531 "views/frame/opaque_browser_frame_view_layout_delegate.h", | 1529 "views/frame/opaque_browser_frame_view_layout_delegate.h", |
1532 "views/frame/opaque_browser_frame_view_linux.cc", | 1530 "views/frame/opaque_browser_frame_view_linux.cc", |
1533 "views/frame/opaque_browser_frame_view_linux.h", | 1531 "views/frame/opaque_browser_frame_view_linux.h", |
1534 "views/frame/opaque_browser_frame_view_platform_specific.cc", | 1532 "views/frame/opaque_browser_frame_view_platform_specific.cc", |
1535 "views/frame/opaque_browser_frame_view_platform_specific.h", | 1533 "views/frame/opaque_browser_frame_view_platform_specific.h", |
1536 "views/profiles/profile_chooser_view.cc", | 1534 "views/profiles/profile_chooser_view.cc", |
1537 "views/profiles/profile_chooser_view.h", | 1535 "views/profiles/profile_chooser_view.h", |
1538 "views/screen_capture_notification_ui_views.cc", | 1536 "views/screen_capture_notification_ui_views.cc", |
1539 "views/sync/one_click_signin_dialog_view.cc", | 1537 "views/sync/one_click_signin_dialog_view.cc", |
1540 "views/sync/one_click_signin_dialog_view.h", | 1538 "views/sync/one_click_signin_dialog_view.h", |
1541 "views/sync/profile_signin_confirmation_dialog_views.cc", | 1539 "views/sync/profile_signin_confirmation_dialog_views.cc", |
1542 "views/sync/profile_signin_confirmation_dialog_views.h", | 1540 "views/sync/profile_signin_confirmation_dialog_views.h", |
1543 ] | 1541 ] |
| 1542 |
| 1543 # These files rely on Gtk+, which is not available on Ozone builds. |
| 1544 if (!use_ozone) { |
| 1545 sources += [ |
| 1546 "views/chrome_browser_main_extra_parts_views_linux.cc", |
| 1547 "views/chrome_browser_main_extra_parts_views_linux.h", |
| 1548 ] |
| 1549 } |
1544 } | 1550 } |
1545 if (enable_extensions && (!is_mac || mac_views_browser)) { | 1551 if (enable_extensions && (!is_mac || mac_views_browser)) { |
1546 sources += [ | 1552 sources += [ |
1547 "views/extensions/bookmark_app_confirmation_view.cc", | 1553 "views/extensions/bookmark_app_confirmation_view.cc", |
1548 "views/extensions/bookmark_app_confirmation_view.h", | 1554 "views/extensions/bookmark_app_confirmation_view.h", |
1549 "views/extensions/browser_action_drag_data.cc", | 1555 "views/extensions/browser_action_drag_data.cc", |
1550 "views/extensions/browser_action_drag_data.h", | 1556 "views/extensions/browser_action_drag_data.h", |
1551 "views/extensions/extension_action_platform_delegate_views.cc", | 1557 "views/extensions/extension_action_platform_delegate_views.cc", |
1552 "views/extensions/extension_action_platform_delegate_views.h", | 1558 "views/extensions/extension_action_platform_delegate_views.h", |
1553 "views/extensions/extension_dialog.cc", | 1559 "views/extensions/extension_dialog.cc", |
(...skipping 1436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2990 } | 2996 } |
2991 if (is_desktop_linux) { | 2997 if (is_desktop_linux) { |
2992 sources += [ | 2998 sources += [ |
2993 "input_method/input_method_engine.cc", | 2999 "input_method/input_method_engine.cc", |
2994 "input_method/input_method_engine.h", | 3000 "input_method/input_method_engine.h", |
2995 "input_method/input_method_engine_base.cc", | 3001 "input_method/input_method_engine_base.cc", |
2996 "input_method/input_method_engine_base.h", | 3002 "input_method/input_method_engine_base.h", |
2997 "views/apps/chrome_app_window_client_views_linux.cc", | 3003 "views/apps/chrome_app_window_client_views_linux.cc", |
2998 "views/first_run_dialog.cc", | 3004 "views/first_run_dialog.cc", |
2999 "views/first_run_dialog.h", | 3005 "views/first_run_dialog.h", |
3000 "views/frame/browser_desktop_window_tree_host.h", | |
3001 "views/frame/desktop_browser_frame_auralinux.cc", | |
3002 "views/frame/desktop_browser_frame_auralinux.h", | |
3003 "views/frame/native_browser_frame_factory_auralinux.cc", | 3006 "views/frame/native_browser_frame_factory_auralinux.cc", |
3004 "views/status_icons/status_icon_linux_wrapper.cc", | 3007 "views/status_icons/status_icon_linux_wrapper.cc", |
3005 "views/status_icons/status_icon_linux_wrapper.h", | 3008 "views/status_icons/status_icon_linux_wrapper.h", |
3006 "webui/help/version_updater_basic.cc", | 3009 "webui/help/version_updater_basic.cc", |
3007 "webui/help/version_updater_basic.h", | 3010 "webui/help/version_updater_basic.h", |
3008 ] | 3011 ] |
| 3012 |
| 3013 if (!use_ozone) { |
| 3014 sources += [ |
| 3015 "views/frame/browser_desktop_window_tree_host.h", |
| 3016 "views/frame/desktop_browser_frame_auralinux.cc", |
| 3017 "views/frame/desktop_browser_frame_auralinux.h", |
| 3018 ] |
| 3019 } |
| 3020 |
3009 deps += [ | 3021 deps += [ |
3010 "//ui/base/ime", | 3022 "//ui/base/ime", |
3011 "//ui/events:dom_keycode_converter", | 3023 "//ui/events:dom_keycode_converter", |
3012 ] | 3024 ] |
3013 | 3025 |
3014 if (use_x11) { | 3026 if (use_x11) { |
3015 sources += [ | 3027 sources += [ |
3016 "views/frame/browser_desktop_window_tree_host_x11.cc", | 3028 "views/frame/browser_desktop_window_tree_host_x11.cc", |
3017 "views/frame/browser_desktop_window_tree_host_x11.h", | 3029 "views/frame/browser_desktop_window_tree_host_x11.h", |
3018 "views/frame/global_menu_bar_registrar_x11.cc", | 3030 "views/frame/global_menu_bar_registrar_x11.cc", |
(...skipping 28 matching lines...) Expand all Loading... |
3047 ] | 3059 ] |
3048 configs += [ "//build/config/linux:x11" ] | 3060 configs += [ "//build/config/linux:x11" ] |
3049 deps += [ | 3061 deps += [ |
3050 "//ui/events/devices", | 3062 "//ui/events/devices", |
3051 "//ui/events/devices/x11", | 3063 "//ui/events/devices/x11", |
3052 ] | 3064 ] |
3053 if (is_chromeos) { | 3065 if (is_chromeos) { |
3054 sources -= [ "views/tabs/window_finder_x11.cc" ] | 3066 sources -= [ "views/tabs/window_finder_x11.cc" ] |
3055 } | 3067 } |
3056 } | 3068 } |
| 3069 |
| 3070 if (use_ozone) { |
| 3071 sources += [ "views/tabs/window_finder_ozone.cc" ] |
| 3072 } |
3057 } | 3073 } |
3058 | 3074 |
3059 if (use_udev) { | 3075 if (use_udev) { |
3060 deps += [ "//device/udev_linux" ] | 3076 deps += [ "//device/udev_linux" ] |
3061 } | 3077 } |
3062 | 3078 |
3063 if (enable_app_list) { | 3079 if (enable_app_list) { |
3064 sources += [ | 3080 sources += [ |
3065 "app_list/app_context_menu.cc", | 3081 "app_list/app_context_menu.cc", |
3066 "app_list/app_context_menu.h", | 3082 "app_list/app_context_menu.h", |
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3423 "test/test_confirm_bubble_model.cc", | 3439 "test/test_confirm_bubble_model.cc", |
3424 "test/test_confirm_bubble_model.h", | 3440 "test/test_confirm_bubble_model.h", |
3425 ] | 3441 ] |
3426 deps += [ "//chrome/test:test_support_ui" ] | 3442 deps += [ "//chrome/test:test_support_ui" ] |
3427 } | 3443 } |
3428 | 3444 |
3429 if (enable_extensions) { | 3445 if (enable_extensions) { |
3430 deps += [ "//extensions/browser" ] | 3446 deps += [ "//extensions/browser" ] |
3431 } | 3447 } |
3432 } | 3448 } |
OLD | NEW |