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

Issue 1293073006: Make gtk2/gtk3 compile time switchable. (Closed)

Created:
5 years, 4 months ago by Elliot Glaysher
Modified:
5 years, 3 months ago
Reviewers:
Lambros, knthzh, Nico, piman
CC:
chromium-reviews, piman+watch_chromium.org, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Make gtk2/gtk3 compile time switchable. This adds a "use_gtk3" gyp/gn flag, along with a separate gtk2/gtk3 targets in system.gyp and //build/config/linux/gtk[23] in gn. BUG=132847 Committed: https://crrev.com/b8f8f682a82bce992edb35c3030214ede236d3ba Cr-Commit-Position: refs/heads/master@{#346742}

Patch Set 1 #

Patch Set 2 : Hide gkt3 targets when use_gtk3==0. #

Total comments: 10

Patch Set 3 : Remove deprecation warning. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+126 lines, -80 lines) Patch
M build/common.gypi View 1 2 2 chunks +4 lines, -0 lines 0 comments Download
D build/config/linux/gtk/BUILD.gn View 1 chunk +0 lines, -45 lines 0 comments Download
A + build/config/linux/gtk2/BUILD.gn View 3 chunks +7 lines, -7 lines 0 comments Download
A + build/config/linux/gtk3/BUILD.gn View 2 chunks +9 lines, -9 lines 0 comments Download
M build/config/ui.gni View 1 chunk +3 lines, -0 lines 0 comments Download
M build/linux/system.gyp View 1 3 chunks +70 lines, -2 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/BUILD.gn View 1 2 4 chunks +15 lines, -8 lines 0 comments Download
M chrome/browser/ui/libgtk2ui/libgtk2ui.gyp View 2 chunks +11 lines, -2 lines 0 comments Download
M gpu/gles2_conform_support/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M gpu/gles2_conform_support/gles2_conform_test.gyp View 1 chunk +1 line, -1 line 0 comments Download
M remoting/host/BUILD.gn View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M remoting/host/it2me/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download
M remoting/remoting_host.gypi View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (6 generated)
Elliot Glaysher
The libgtkui code doesn't compile with GTK3 in this patch. That would require something like ...
5 years, 4 months ago (2015-08-20 20:55:45 UTC) #2
knthzh
On 2015/08/20 20:55:45, Elliot Glaysher wrote: > knthzh: FYI. I spent some time trying to ...
5 years, 4 months ago (2015-08-24 20:52:01 UTC) #3
Nico
https://codereview.chromium.org/1293073006/diff/20001/build/linux/system.gyp File build/linux/system.gyp (right): https://codereview.chromium.org/1293073006/diff/20001/build/linux/system.gyp#newcode427 build/linux/system.gyp:427: # Hide GTK3 and related dependencies when use_gtk3==0 because ...
5 years, 4 months ago (2015-08-25 00:23:53 UTC) #4
Lambros
https://codereview.chromium.org/1293073006/diff/20001/gpu/gles2_conform_support/gles2_conform_test.gyp File gpu/gles2_conform_support/gles2_conform_test.gyp (right): https://codereview.chromium.org/1293073006/diff/20001/gpu/gles2_conform_support/gles2_conform_test.gyp#newcode111 gpu/gles2_conform_support/gles2_conform_test.gyp:111: 'dependencies': ['../../build/linux/system.gyp:gtk2'] On 2015/08/25 00:23:52, Nico wrote: > Does ...
5 years, 4 months ago (2015-08-25 19:01:17 UTC) #6
Elliot Glaysher
https://codereview.chromium.org/1293073006/diff/20001/build/linux/system.gyp File build/linux/system.gyp (right): https://codereview.chromium.org/1293073006/diff/20001/build/linux/system.gyp#newcode427 build/linux/system.gyp:427: # Hide GTK3 and related dependencies when use_gtk3==0 because ...
5 years, 3 months ago (2015-08-27 19:07:32 UTC) #7
Elliot Glaysher
friendly ping
5 years, 3 months ago (2015-08-31 21:04:50 UTC) #8
Nico
lgtm (sorry, i thought i had lgtm'd with my comments and didn't realize this was ...
5 years, 3 months ago (2015-08-31 21:33:44 UTC) #9
Elliot Glaysher
On 2015/08/31 21:33:44, Nico wrote: > (sorry, i thought i had lgtm'd with my comments ...
5 years, 3 months ago (2015-08-31 21:38:48 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1293073006/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1293073006/40001
5 years, 3 months ago (2015-08-31 21:40:22 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/94911)
5 years, 3 months ago (2015-08-31 22:15:20 UTC) #14
Elliot Glaysher
lambros, piman: owners stamps please
5 years, 3 months ago (2015-08-31 22:22:26 UTC) #16
Lambros
remoting/ lgtm
5 years, 3 months ago (2015-08-31 23:16:28 UTC) #17
piman
lgtm
5 years, 3 months ago (2015-09-01 20:33:17 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1293073006/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1293073006/40001
5 years, 3 months ago (2015-09-01 20:34:08 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 3 months ago (2015-09-01 21:39:09 UTC) #21
commit-bot: I haz the power
5 years, 3 months ago (2015-09-01 21:39:57 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/b8f8f682a82bce992edb35c3030214ede236d3ba
Cr-Commit-Position: refs/heads/master@{#346742}

Powered by Google App Engine
This is Rietveld 408576698