Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(85)

Side by Side Diff: chrome/browser/ui/BUILD.gn

Issue 2408803002: Make it possible to launch chrome --mash with ozone_platform={wayland|x11}, chromeos=0 (Closed)
Patch Set: reverted changes in base/ime/ Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1499 matching lines...) Expand 10 before | Expand all | Expand 10 after
1510 1510
1511 if (is_chromeos) { 1511 if (is_chromeos) {
1512 sources += [ 1512 sources += [
1513 "views/apps/app_info_dialog/arc_app_info_links_panel.cc", 1513 "views/apps/app_info_dialog/arc_app_info_links_panel.cc",
1514 "views/apps/app_info_dialog/arc_app_info_links_panel.h", 1514 "views/apps/app_info_dialog/arc_app_info_links_panel.h",
1515 ] 1515 ]
1516 } else if (!is_mac || mac_views_browser) { 1516 } else if (!is_mac || mac_views_browser) {
1517 sources += [ 1517 sources += [
1518 "external_protocol_dialog_delegate.cc", 1518 "external_protocol_dialog_delegate.cc",
1519 "external_protocol_dialog_delegate.h", 1519 "external_protocol_dialog_delegate.h",
1520 "views/chrome_browser_main_extra_parts_views_linux.cc",
1521 "views/chrome_browser_main_extra_parts_views_linux.h",
1522 "views/external_protocol_dialog.cc", 1520 "views/external_protocol_dialog.cc",
1523 "views/external_protocol_dialog.h", 1521 "views/external_protocol_dialog.h",
1524 "views/frame/opaque_browser_frame_view.cc", 1522 "views/frame/opaque_browser_frame_view.cc",
1525 "views/frame/opaque_browser_frame_view.h", 1523 "views/frame/opaque_browser_frame_view.h",
1526 "views/frame/opaque_browser_frame_view_layout.cc", 1524 "views/frame/opaque_browser_frame_view_layout.cc",
1527 "views/frame/opaque_browser_frame_view_layout.h", 1525 "views/frame/opaque_browser_frame_view_layout.h",
1528 "views/frame/opaque_browser_frame_view_layout_delegate.h", 1526 "views/frame/opaque_browser_frame_view_layout_delegate.h",
1529 "views/frame/opaque_browser_frame_view_linux.cc", 1527 "views/frame/opaque_browser_frame_view_linux.cc",
1530 "views/frame/opaque_browser_frame_view_linux.h", 1528 "views/frame/opaque_browser_frame_view_linux.h",
1531 "views/frame/opaque_browser_frame_view_platform_specific.cc", 1529 "views/frame/opaque_browser_frame_view_platform_specific.cc",
1532 "views/frame/opaque_browser_frame_view_platform_specific.h", 1530 "views/frame/opaque_browser_frame_view_platform_specific.h",
1533 "views/profiles/profile_chooser_view.cc", 1531 "views/profiles/profile_chooser_view.cc",
1534 "views/profiles/profile_chooser_view.h", 1532 "views/profiles/profile_chooser_view.h",
1535 "views/screen_capture_notification_ui_views.cc", 1533 "views/screen_capture_notification_ui_views.cc",
1536 "views/sync/one_click_signin_dialog_view.cc", 1534 "views/sync/one_click_signin_dialog_view.cc",
1537 "views/sync/one_click_signin_dialog_view.h", 1535 "views/sync/one_click_signin_dialog_view.h",
1538 "views/sync/profile_signin_confirmation_dialog_views.cc", 1536 "views/sync/profile_signin_confirmation_dialog_views.cc",
1539 "views/sync/profile_signin_confirmation_dialog_views.h", 1537 "views/sync/profile_signin_confirmation_dialog_views.h",
1540 ] 1538 ]
1539
1540 # These files rely on Gtk+, which is not available on Ozone builds.
1541 if (!use_ozone) {
1542 sources += [
1543 "views/chrome_browser_main_extra_parts_views_linux.cc",
1544 "views/chrome_browser_main_extra_parts_views_linux.h",
1545 ]
1546 }
1541 } 1547 }
1542 if (enable_extensions && (!is_mac || mac_views_browser)) { 1548 if (enable_extensions && (!is_mac || mac_views_browser)) {
1543 sources += [ 1549 sources += [
1544 "views/extensions/bookmark_app_confirmation_view.cc", 1550 "views/extensions/bookmark_app_confirmation_view.cc",
1545 "views/extensions/bookmark_app_confirmation_view.h", 1551 "views/extensions/bookmark_app_confirmation_view.h",
1546 "views/extensions/browser_action_drag_data.cc", 1552 "views/extensions/browser_action_drag_data.cc",
1547 "views/extensions/browser_action_drag_data.h", 1553 "views/extensions/browser_action_drag_data.h",
1548 "views/extensions/extension_action_platform_delegate_views.cc", 1554 "views/extensions/extension_action_platform_delegate_views.cc",
1549 "views/extensions/extension_action_platform_delegate_views.h", 1555 "views/extensions/extension_action_platform_delegate_views.h",
1550 "views/extensions/extension_dialog.cc", 1556 "views/extensions/extension_dialog.cc",
(...skipping 1433 matching lines...) Expand 10 before | Expand all | Expand 10 after
2984 } 2990 }
2985 if (is_desktop_linux) { 2991 if (is_desktop_linux) {
2986 sources += [ 2992 sources += [
2987 "input_method/input_method_engine.cc", 2993 "input_method/input_method_engine.cc",
2988 "input_method/input_method_engine.h", 2994 "input_method/input_method_engine.h",
2989 "input_method/input_method_engine_base.cc", 2995 "input_method/input_method_engine_base.cc",
2990 "input_method/input_method_engine_base.h", 2996 "input_method/input_method_engine_base.h",
2991 "views/apps/chrome_app_window_client_views_linux.cc", 2997 "views/apps/chrome_app_window_client_views_linux.cc",
2992 "views/first_run_dialog.cc", 2998 "views/first_run_dialog.cc",
2993 "views/first_run_dialog.h", 2999 "views/first_run_dialog.h",
2994 "views/frame/browser_desktop_window_tree_host.h",
2995 "views/frame/desktop_browser_frame_auralinux.cc",
2996 "views/frame/desktop_browser_frame_auralinux.h",
2997 "views/frame/native_browser_frame_factory_auralinux.cc", 3000 "views/frame/native_browser_frame_factory_auralinux.cc",
2998 "views/status_icons/status_icon_linux_wrapper.cc", 3001 "views/status_icons/status_icon_linux_wrapper.cc",
2999 "views/status_icons/status_icon_linux_wrapper.h", 3002 "views/status_icons/status_icon_linux_wrapper.h",
3000 "webui/help/version_updater_basic.cc", 3003 "webui/help/version_updater_basic.cc",
3001 "webui/help/version_updater_basic.h", 3004 "webui/help/version_updater_basic.h",
3002 ] 3005 ]
3006
3007 if (!use_ozone) {
3008 sources += [
3009 "views/frame/browser_desktop_window_tree_host.h",
3010 "views/frame/desktop_browser_frame_auralinux.cc",
3011 "views/frame/desktop_browser_frame_auralinux.h",
3012 ]
3013 }
3014
3003 deps += [ 3015 deps += [
3004 "//ui/base/ime", 3016 "//ui/base/ime",
3005 "//ui/events:dom_keycode_converter", 3017 "//ui/events:dom_keycode_converter",
3006 ] 3018 ]
3007 3019
3008 if (use_x11) { 3020 if (use_x11) {
3009 sources += [ 3021 sources += [
3010 "views/frame/browser_desktop_window_tree_host_x11.cc", 3022 "views/frame/browser_desktop_window_tree_host_x11.cc",
3011 "views/frame/browser_desktop_window_tree_host_x11.h", 3023 "views/frame/browser_desktop_window_tree_host_x11.h",
3012 "views/frame/global_menu_bar_registrar_x11.cc", 3024 "views/frame/global_menu_bar_registrar_x11.cc",
(...skipping 28 matching lines...) Expand all
3041 ] 3053 ]
3042 configs += [ "//build/config/linux:x11" ] 3054 configs += [ "//build/config/linux:x11" ]
3043 deps += [ 3055 deps += [
3044 "//ui/events/devices", 3056 "//ui/events/devices",
3045 "//ui/events/devices/x11", 3057 "//ui/events/devices/x11",
3046 ] 3058 ]
3047 if (is_chromeos) { 3059 if (is_chromeos) {
3048 sources -= [ "views/tabs/window_finder_x11.cc" ] 3060 sources -= [ "views/tabs/window_finder_x11.cc" ]
3049 } 3061 }
3050 } 3062 }
3063
3064 if (use_ozone) {
3065 sources += [ "views/tabs/window_finder_ozone.cc" ]
3066 }
3051 } 3067 }
3052 3068
3053 if (use_udev) { 3069 if (use_udev) {
3054 deps += [ "//device/udev_linux" ] 3070 deps += [ "//device/udev_linux" ]
3055 } 3071 }
3056 3072
3057 if (enable_app_list) { 3073 if (enable_app_list) {
3058 sources += [ 3074 sources += [
3059 "app_list/app_context_menu.cc", 3075 "app_list/app_context_menu.cc",
3060 "app_list/app_context_menu.h", 3076 "app_list/app_context_menu.h",
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
3417 "test/test_confirm_bubble_model.cc", 3433 "test/test_confirm_bubble_model.cc",
3418 "test/test_confirm_bubble_model.h", 3434 "test/test_confirm_bubble_model.h",
3419 ] 3435 ]
3420 deps += [ "//chrome/test:test_support_ui" ] 3436 deps += [ "//chrome/test:test_support_ui" ]
3421 } 3437 }
3422 3438
3423 if (enable_extensions) { 3439 if (enable_extensions) {
3424 deps += [ "//extensions/browser" ] 3440 deps += [ "//extensions/browser" ]
3425 } 3441 }
3426 } 3442 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698