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

Issue 2449243002: Gtk3 ui: Add libgtk3ui as a separate build component (Closed)

Created:
4 years, 1 month ago by Tom (Use chromium acct)
Modified:
4 years, 1 month ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Gtk3 ui: Add libgtk3ui as a separate build component This CL adds libgtk3ui.so to supplement libgtk2ui.so so that the builders can build using gtk3 without having to link the chrome binary against it (or link against any component that links against it). The next step is to add the target libgtk3ui to gn_all. BUG=132847 R=erg@chromium.org,dpranke@chromium.org, sky@chromium.org TBR=brettw@chromium.org NOPRESUBMIT=true Committed: https://crrev.com/215681db8aa96912f9ce19f9e1fffe38681e1af9 Cr-Commit-Position: refs/heads/master@{#427927}

Patch Set 1 #

Total comments: 19

Patch Set 2 : libgtk2ui -> libgtkui #

Patch Set 3 : Fix gn gen --check failure #

Total comments: 2

Patch Set 4 : gn format #

Patch Set 5 : Add theme_properties dep to //chrome/browser/ui #

Unified diffs Side-by-side diffs Delta from patch set Stats (+403 lines, -8040 lines) Patch
M build/config/linux/gtk2/BUILD.gn View 1 2 chunks +2 lines, -2 lines 0 comments Download
M build/config/linux/gtk3/BUILD.gn View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 3 4 4 chunks +12 lines, -3 lines 0 comments Download
M chrome/browser/ui/BUILD.gn View 1 2 3 4 2 chunks +7 lines, -5 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/BUILD.gn View 1 1 chunk +0 lines, -134 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/OWNERS View 1 1 chunk +0 lines, -3 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/app_indicator_icon.h View 1 1 chunk +0 lines, -110 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/app_indicator_icon.cc View 1 1 chunk +0 lines, -397 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/app_indicator_icon_menu.h View 1 1 chunk +0 lines, -67 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/app_indicator_icon_menu.cc View 1 1 chunk +0 lines, -123 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/chrome_gtk_frame.h View 1 1 chunk +0 lines, -54 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/chrome_gtk_frame.cc View 1 1 chunk +0 lines, -155 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/chrome_gtk_menu_subclasses.h View 1 1 chunk +0 lines, -47 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/chrome_gtk_menu_subclasses.cc View 1 1 chunk +0 lines, -29 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/gconf_listener.h View 1 1 chunk +0 lines, -58 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/gconf_listener.cc View 1 1 chunk +0 lines, -188 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/gtk2_event_loop.h View 1 1 chunk +0 lines, -38 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/gtk2_event_loop.cc View 1 1 chunk +0 lines, -82 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.h View 1 1 chunk +0 lines, -149 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/gtk2_key_bindings_handler.cc View 1 1 chunk +0 lines, -439 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/gtk2_signal.h View 1 1 chunk +0 lines, -68 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/gtk2_status_icon.h View 1 1 chunk +0 lines, -62 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/gtk2_status_icon.cc View 1 1 chunk +0 lines, -78 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/gtk2_ui.h View 1 1 chunk +0 lines, -217 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/gtk2_ui.cc View 1 1 chunk +0 lines, -1091 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/gtk2_util.h View 1 1 chunk +0 lines, -58 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/gtk2_util.cc View 1 1 chunk +0 lines, -144 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/libgtk2ui_export.h View 1 1 chunk +0 lines, -28 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/menu_util.h View 1 1 chunk +0 lines, -56 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/menu_util.cc View 1 1 chunk +0 lines, -264 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/native_theme_gtk2.h View 1 1 chunk +0 lines, -60 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/native_theme_gtk2.cc View 1 1 chunk +0 lines, -574 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h View 1 1 chunk +0 lines, -92 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc View 1 1 chunk +0 lines, -565 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/printing_gtk2_util.h View 1 1 chunk +0 lines, -27 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/printing_gtk2_util.cc View 1 1 chunk +0 lines, -99 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/select_file_dialog_impl.h View 1 1 chunk +0 lines, -89 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/select_file_dialog_impl.cc View 1 1 chunk +0 lines, -93 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.h View 1 1 chunk +0 lines, -131 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/select_file_dialog_impl_gtk2.cc View 1 1 chunk +0 lines, -561 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc View 1 1 chunk +0 lines, -527 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/select_file_dialog_interactive_uitest.cc View 1 1 chunk +0 lines, -113 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/skia_utils_gtk2.h View 1 1 chunk +0 lines, -44 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/skia_utils_gtk2.cc View 1 1 chunk +0 lines, -133 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/unity_service.h View 1 1 chunk +0 lines, -23 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/unity_service.cc View 1 1 chunk +0 lines, -147 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.h View 1 1 chunk +0 lines, -94 lines 0 comments Download
D chrome/browser/ui/libgtk2ui/x11_input_method_context_impl_gtk2.cc View 1 1 chunk +0 lines, -316 lines 0 comments Download
A chrome/browser/ui/libgtkui/BUILD.gn View 1 2 3 1 chunk +149 lines, -0 lines 0 comments Download
A + chrome/browser/ui/libgtkui/OWNERS View 1 0 chunks +-1 lines, --1 lines 0 comments Download
A + chrome/browser/ui/libgtkui/app_indicator_icon.h View 1 4 chunks +6 lines, -6 lines 0 comments Download
A + chrome/browser/ui/libgtkui/app_indicator_icon.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download
A + chrome/browser/ui/libgtkui/app_indicator_icon_menu.h View 1 3 chunks +6 lines, -6 lines 0 comments Download
A + chrome/browser/ui/libgtkui/app_indicator_icon_menu.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
A + chrome/browser/ui/libgtkui/chrome_gtk_frame.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
A + chrome/browser/ui/libgtkui/chrome_gtk_frame.cc View 1 1 chunk +1 line, -1 line 0 comments Download
A + chrome/browser/ui/libgtkui/chrome_gtk_menu_subclasses.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
A + chrome/browser/ui/libgtkui/chrome_gtk_menu_subclasses.cc View 1 1 chunk +1 line, -1 line 0 comments Download
A + chrome/browser/ui/libgtkui/gconf_listener.h View 1 3 chunks +6 lines, -6 lines 0 comments Download
A + chrome/browser/ui/libgtkui/gconf_listener.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download
A + chrome/browser/ui/libgtkui/gtk2_event_loop.h View 1 3 chunks +5 lines, -5 lines 0 comments Download
A + chrome/browser/ui/libgtkui/gtk2_event_loop.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
A + chrome/browser/ui/libgtkui/gtk2_key_bindings_handler.h View 1 3 chunks +5 lines, -5 lines 0 comments Download
A + chrome/browser/ui/libgtkui/gtk2_key_bindings_handler.cc View 1 4 chunks +5 lines, -5 lines 0 comments Download
A + chrome/browser/ui/libgtkui/gtk2_signal.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
A + chrome/browser/ui/libgtkui/gtk2_status_icon.h View 1 3 chunks +6 lines, -6 lines 0 comments Download
A + chrome/browser/ui/libgtkui/gtk2_status_icon.cc View 1 2 chunks +5 lines, -5 lines 0 comments Download
A + chrome/browser/ui/libgtkui/gtk2_ui.h View 1 4 chunks +8 lines, -8 lines 0 comments Download
A + chrome/browser/ui/libgtkui/gtk2_ui.cc View 1 5 chunks +17 lines, -17 lines 0 comments Download
A + chrome/browser/ui/libgtkui/gtk2_util.h View 1 3 chunks +5 lines, -5 lines 0 comments Download
A + chrome/browser/ui/libgtkui/gtk2_util.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
A chrome/browser/ui/libgtkui/libgtkui_export.h View 1 1 chunk +28 lines, -0 lines 0 comments Download
A + chrome/browser/ui/libgtkui/menu_util.h View 1 3 chunks +5 lines, -5 lines 0 comments Download
A + chrome/browser/ui/libgtkui/menu_util.cc View 1 2 chunks +5 lines, -5 lines 0 comments Download
A + chrome/browser/ui/libgtkui/native_theme_gtk2.h View 1 3 chunks +5 lines, -5 lines 0 comments Download
A + chrome/browser/ui/libgtkui/native_theme_gtk2.cc View 1 3 chunks +8 lines, -8 lines 0 comments Download
A + chrome/browser/ui/libgtkui/print_dialog_gtk2.h View 1 3 chunks +4 lines, -4 lines 0 comments Download
A + chrome/browser/ui/libgtkui/print_dialog_gtk2.cc View 1 5 chunks +8 lines, -8 lines 0 comments Download
A + chrome/browser/ui/libgtkui/printing_gtk2_util.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
A + chrome/browser/ui/libgtkui/printing_gtk2_util.cc View 1 1 chunk +1 line, -1 line 0 comments Download
A + chrome/browser/ui/libgtkui/select_file_dialog_impl.h View 1 3 chunks +5 lines, -5 lines 0 comments Download
A + chrome/browser/ui/libgtkui/select_file_dialog_impl.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
A + chrome/browser/ui/libgtkui/select_file_dialog_impl_gtk2.h View 1 2 chunks +8 lines, -8 lines 0 comments Download
A + chrome/browser/ui/libgtkui/select_file_dialog_impl_gtk2.cc View 1 4 chunks +6 lines, -6 lines 0 comments Download
A + chrome/browser/ui/libgtkui/select_file_dialog_impl_kde.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
A + chrome/browser/ui/libgtkui/select_file_dialog_interactive_uitest.cc View 1 4 chunks +4 lines, -5 lines 0 comments Download
A + chrome/browser/ui/libgtkui/skia_utils_gtk2.h View 1 3 chunks +8 lines, -8 lines 0 comments Download
A + chrome/browser/ui/libgtkui/skia_utils_gtk2.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
A + chrome/browser/ui/libgtkui/unity_service.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
A + chrome/browser/ui/libgtkui/unity_service.cc View 1 3 chunks +3 lines, -4 lines 0 comments Download
A + chrome/browser/ui/libgtkui/x11_input_method_context_impl_gtk2.h View 1 3 chunks +5 lines, -5 lines 0 comments Download
A + chrome/browser/ui/libgtkui/x11_input_method_context_impl_gtk2.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/BUILD.gn View 1 2 chunks +6 lines, -2 lines 0 comments Download
M third_party/harfbuzz-ng/BUILD.gn View 1 1 chunk +1 line, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 48 (30 generated)
Tom (Use chromium acct)
From git cl owners: dpranke: build/config/linux/gtk2/BUILD.gn build/config/linux/gtk3/BUILD.gn erg: chrome/browser/ui/libgtk2ui/BUILD.gn chrome/browser/ui/libgtk2ui/gtk2_ui.cc chrome/browser/ui/libgtk2ui/unity_service.cc
4 years, 1 month ago (2016-10-25 21:34:20 UTC) #7
Elliot Glaysher
https://codereview.chromium.org/2449243002/diff/40001/chrome/browser/ui/libgtk2ui/gtk2_ui.cc File chrome/browser/ui/libgtk2ui/gtk2_ui.cc (right): https://codereview.chromium.org/2449243002/diff/40001/chrome/browser/ui/libgtk2ui/gtk2_ui.cc#newcode24 chrome/browser/ui/libgtk2ui/gtk2_ui.cc:24: #include "chrome/browser/themes/theme_properties.h" // nogncheck What's the nogncheck here for?
4 years, 1 month ago (2016-10-25 21:48:57 UTC) #8
Tom (Use chromium acct)
https://codereview.chromium.org/2449243002/diff/40001/chrome/browser/ui/libgtk2ui/gtk2_ui.cc File chrome/browser/ui/libgtk2ui/gtk2_ui.cc (right): https://codereview.chromium.org/2449243002/diff/40001/chrome/browser/ui/libgtk2ui/gtk2_ui.cc#newcode24 chrome/browser/ui/libgtk2ui/gtk2_ui.cc:24: #include "chrome/browser/themes/theme_properties.h" // nogncheck On 2016/10/25 21:48:57, Elliot Glaysher ...
4 years, 1 month ago (2016-10-25 22:00:23 UTC) #9
Tom (Use chromium acct)
https://codereview.chromium.org/2449243002/diff/40001/chrome/browser/ui/libgtk2ui/gtk2_ui.cc File chrome/browser/ui/libgtk2ui/gtk2_ui.cc (right): https://codereview.chromium.org/2449243002/diff/40001/chrome/browser/ui/libgtk2ui/gtk2_ui.cc#newcode24 chrome/browser/ui/libgtk2ui/gtk2_ui.cc:24: #include "chrome/browser/themes/theme_properties.h" // nogncheck On 2016/10/25 22:00:23, Tom Anderson ...
4 years, 1 month ago (2016-10-25 22:41:47 UTC) #10
Dirk Pranke
https://codereview.chromium.org/2449243002/diff/40001/build/config/linux/gtk3/BUILD.gn File build/config/linux/gtk3/BUILD.gn (right): https://codereview.chromium.org/2449243002/diff/40001/build/config/linux/gtk3/BUILD.gn#newcode28 build/config/linux/gtk3/BUILD.gn:28: "//chrome/browser/ui/libgtk2ui:libgtk3ui", You're not really creating a target called libgtk3ui ...
4 years, 1 month ago (2016-10-25 23:56:10 UTC) #13
Tom (Use chromium acct)
+sky for chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc third_party/harfbuzz-ng/BUILD.gn NOPRESUBMIT=true to fix: Banned functions were used. chrome/browser/ui/libgtkui/select_file_dialog_impl.cc:89: New code should ...
4 years, 1 month ago (2016-10-26 18:20:02 UTC) #16
Dirk Pranke
lgtm. On 2016/10/26 18:20:02, Tom Anderson wrote: > +sky for > chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc > third_party/harfbuzz-ng/BUILD.gn > ...
4 years, 1 month ago (2016-10-26 19:07:24 UTC) #23
Dirk Pranke
https://codereview.chromium.org/2449243002/diff/80001/chrome/browser/BUILD.gn File chrome/browser/BUILD.gn (right): https://codereview.chromium.org/2449243002/diff/80001/chrome/browser/BUILD.gn#newcode3969 chrome/browser/BUILD.gn:3969: source_set("theme_properties") { Is libgtkui the only thing that depends ...
4 years, 1 month ago (2016-10-26 19:09:43 UTC) #24
sky
chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc LGTM I am not a good owner for the harbuzz change. Please use a ...
4 years, 1 month ago (2016-10-26 19:58:50 UTC) #25
Elliot Glaysher
directory rename (and minor cleanup in libgtkui) lgtm
4 years, 1 month ago (2016-10-26 20:38:09 UTC) #28
Tom (Use chromium acct)
On 2016/10/26 19:58:50, sky wrote: > chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc LGTM > > I am not a good ...
4 years, 1 month ago (2016-10-26 22:10:57 UTC) #29
Dirk Pranke
lgtm. I'd R= or TBR= brettw@ for the trivial harfbuzz change.
4 years, 1 month ago (2016-10-26 22:15:19 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2449243002/100001
4 years, 1 month ago (2016-10-26 22:35:09 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/249474) chromeos_amd64-generic_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_FAILED, ...
4 years, 1 month ago (2016-10-26 22:40:51 UTC) #36
sky
On 2016/10/26 22:10:57, Tom Anderson wrote: > On 2016/10/26 19:58:50, sky wrote: > > chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.cc ...
4 years, 1 month ago (2016-10-26 23:38:16 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2449243002/120001
4 years, 1 month ago (2016-10-27 03:28:45 UTC) #44
commit-bot: I haz the power
Committed patchset #5 (id:120001)
4 years, 1 month ago (2016-10-27 03:30:50 UTC) #46
commit-bot: I haz the power
4 years, 1 month ago (2016-10-27 03:35:26 UTC) #48
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/215681db8aa96912f9ce19f9e1fffe38681e1af9
Cr-Commit-Position: refs/heads/master@{#427927}

Powered by Google App Engine
This is Rietveld 408576698