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

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

Issue 2462423002: Condition the use of ChromeBrowserMainExtraPartsViewsLinux to !use_ozone (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 1498 matching lines...) Expand 10 before | Expand all | Expand 10 after
1509 1509
1510 if (is_chromeos) { 1510 if (is_chromeos) {
1511 sources += [ 1511 sources += [
1512 "views/apps/app_info_dialog/arc_app_info_links_panel.cc", 1512 "views/apps/app_info_dialog/arc_app_info_links_panel.cc",
1513 "views/apps/app_info_dialog/arc_app_info_links_panel.h", 1513 "views/apps/app_info_dialog/arc_app_info_links_panel.h",
1514 ] 1514 ]
1515 } else if (!is_mac || mac_views_browser) { 1515 } else if (!is_mac || mac_views_browser) {
1516 sources += [ 1516 sources += [
1517 "external_protocol_dialog_delegate.cc", 1517 "external_protocol_dialog_delegate.cc",
1518 "external_protocol_dialog_delegate.h", 1518 "external_protocol_dialog_delegate.h",
1519 "views/chrome_browser_main_extra_parts_views_linux.cc",
1520 "views/chrome_browser_main_extra_parts_views_linux.h",
1521 "views/external_protocol_dialog.cc", 1519 "views/external_protocol_dialog.cc",
1522 "views/external_protocol_dialog.h", 1520 "views/external_protocol_dialog.h",
1523 "views/frame/opaque_browser_frame_view.cc", 1521 "views/frame/opaque_browser_frame_view.cc",
1524 "views/frame/opaque_browser_frame_view.h", 1522 "views/frame/opaque_browser_frame_view.h",
1525 "views/frame/opaque_browser_frame_view_layout.cc", 1523 "views/frame/opaque_browser_frame_view_layout.cc",
1526 "views/frame/opaque_browser_frame_view_layout.h", 1524 "views/frame/opaque_browser_frame_view_layout.h",
1527 "views/frame/opaque_browser_frame_view_layout_delegate.h", 1525 "views/frame/opaque_browser_frame_view_layout_delegate.h",
1528 "views/frame/opaque_browser_frame_view_linux.cc", 1526 "views/frame/opaque_browser_frame_view_linux.cc",
1529 "views/frame/opaque_browser_frame_view_linux.h", 1527 "views/frame/opaque_browser_frame_view_linux.h",
1530 "views/frame/opaque_browser_frame_view_platform_specific.cc", 1528 "views/frame/opaque_browser_frame_view_platform_specific.cc",
1531 "views/frame/opaque_browser_frame_view_platform_specific.h", 1529 "views/frame/opaque_browser_frame_view_platform_specific.h",
1532 "views/profiles/profile_chooser_view.cc", 1530 "views/profiles/profile_chooser_view.cc",
1533 "views/profiles/profile_chooser_view.h", 1531 "views/profiles/profile_chooser_view.h",
1534 "views/screen_capture_notification_ui_views.cc", 1532 "views/screen_capture_notification_ui_views.cc",
1535 "views/sync/one_click_signin_dialog_view.cc", 1533 "views/sync/one_click_signin_dialog_view.cc",
1536 "views/sync/one_click_signin_dialog_view.h", 1534 "views/sync/one_click_signin_dialog_view.h",
1537 "views/sync/profile_signin_confirmation_dialog_views.cc", 1535 "views/sync/profile_signin_confirmation_dialog_views.cc",
1538 "views/sync/profile_signin_confirmation_dialog_views.h", 1536 "views/sync/profile_signin_confirmation_dialog_views.h",
1539 ] 1537 ]
1538
1539 # These files do Gtk+-based theming, but Gtk+ is not available on
1540 # Ozone builds, or on common environments where Ozone will be used.
1541 #
1542 # TODO(tonikitoo): It seems sensible to make it possible to opt-in
1543 # the use of this files in case Gtk is available with its Wayland
fwang 2016/11/01 17:47:20 *these* files
1544 # backend. An extra GN vaiable to control it would be safer.
fwang 2016/11/01 17:47:20 *variable*
1545 if (!use_ozone) {
1546 sources += [
1547 "views/chrome_browser_main_extra_parts_views_linux.cc",
1548 "views/chrome_browser_main_extra_parts_views_linux.h",
1549 ]
1550 }
1540 } 1551 }
1541 if (enable_extensions && (!is_mac || mac_views_browser)) { 1552 if (enable_extensions && (!is_mac || mac_views_browser)) {
1542 sources += [ 1553 sources += [
1543 "views/extensions/bookmark_app_confirmation_view.cc", 1554 "views/extensions/bookmark_app_confirmation_view.cc",
1544 "views/extensions/bookmark_app_confirmation_view.h", 1555 "views/extensions/bookmark_app_confirmation_view.h",
1545 "views/extensions/browser_action_drag_data.cc", 1556 "views/extensions/browser_action_drag_data.cc",
1546 "views/extensions/browser_action_drag_data.h", 1557 "views/extensions/browser_action_drag_data.h",
1547 "views/extensions/extension_action_platform_delegate_views.cc", 1558 "views/extensions/extension_action_platform_delegate_views.cc",
1548 "views/extensions/extension_action_platform_delegate_views.h", 1559 "views/extensions/extension_action_platform_delegate_views.h",
1549 "views/extensions/extension_dialog.cc", 1560 "views/extensions/extension_dialog.cc",
(...skipping 1869 matching lines...) Expand 10 before | Expand all | Expand 10 after
3419 "test/test_confirm_bubble_model.cc", 3430 "test/test_confirm_bubble_model.cc",
3420 "test/test_confirm_bubble_model.h", 3431 "test/test_confirm_bubble_model.h",
3421 ] 3432 ]
3422 deps += [ "//chrome/test:test_support_ui" ] 3433 deps += [ "//chrome/test:test_support_ui" ]
3423 } 3434 }
3424 3435
3425 if (enable_extensions) { 3436 if (enable_extensions) {
3426 deps += [ "//extensions/browser" ] 3437 deps += [ "//extensions/browser" ]
3427 } 3438 }
3428 } 3439 }
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698