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

Issue 2196073002: Revert of Linux: Sync GetDesktopName in gtk2_util.cc (Closed)

Created:
4 years, 4 months ago by miu
Modified:
4 years, 4 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Linux: Sync GetDesktopName in gtk2_util.cc (patchset #2 id:20001 of https://codereview.chromium.org/2195063003/ ) Reason for revert: Broke Linux GN build on my desktop (linker error): obj/chrome/browser/ui/libgtk2ui/libgtk2ui/gtk2_util.o:../../chrome/browser/ui/libgtk2ui/gtk2_util.cc:function libgtk2ui::GetDesktopName(base::Environment*): error: undefined reference to 'chrome::GetChannel()' clang: error: linker command failed with exit code 1 (use -v to see invocation) Contents of my out/Release/args.gn: is_component_build = true is_debug = false is_chrome_branded = true dcheck_always_on = true use_goma = true Original issue's description: > Linux: Sync GetDesktopName in gtk2_util.cc > > BUG=632841 > > Committed: https://crrev.com/12d7c7f1f6a38f067803c676e5cac9cccc11dab2 > Cr-Commit-Position: refs/heads/master@{#408846} TBR=thestig@chromium.org,thomasanderson@google.com # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=632841 Committed: https://crrev.com/c0ca73870067f6f2c435e45eecb1b8a97cd48a78 Cr-Commit-Position: refs/heads/master@{#408880}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -17 lines) Patch
M chrome/browser/shell_integration_linux.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/ui/libgtk2ui/gtk2_util.cc View 2 chunks +4 lines, -16 lines 0 comments Download

Messages

Total messages: 11 (3 generated)
miu
Created Revert of Linux: Sync GetDesktopName in gtk2_util.cc
4 years, 4 months ago (2016-07-30 23:26:41 UTC) #2
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/2196073002/1
4 years, 4 months ago (2016-07-30 23:26:46 UTC) #3
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 4 months ago (2016-07-30 23:27:21 UTC) #5
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/c0ca73870067f6f2c435e45eecb1b8a97cd48a78 Cr-Commit-Position: refs/heads/master@{#408880}
4 years, 4 months ago (2016-07-30 23:29:24 UTC) #7
Lei Zhang
Are you doing a Chrome branded + shared_library build locally?
4 years, 4 months ago (2016-08-01 16:52:01 UTC) #8
miu
On 2016/08/01 16:52:01, Lei Zhang wrote: > Are you doing a Chrome branded + shared_library ...
4 years, 4 months ago (2016-08-01 18:21:11 UTC) #9
Lei Zhang
On 2016/08/01 18:21:11, miu wrote: > On 2016/08/01 16:52:01, Lei Zhang wrote: > > Are ...
4 years, 4 months ago (2016-08-01 19:12:03 UTC) #10
miu
4 years, 4 months ago (2016-08-01 21:01:01 UTC) #11
Message was sent while issue was closed.
On 2016/08/01 19:12:03, Lei Zhang wrote:
> On 2016/08/01 18:21:11, miu wrote:
> > On 2016/08/01 16:52:01, Lei Zhang wrote:
> > > Are you doing a Chrome branded + shared_library build locally?
> > 
> > Yes. I work on a number of browser features that require a Chrome-branded
> build.
> 
> Well, Tom and I were previously discussing how no bots build this
configuration,
> so we thought it was ok. I guess we'll have to find some other way to fix our
> bug.

FWIW, I do sympathize with the problem here: That you really don't want to have
to maintain 2 copies of chrome::GetChannel(). I'm wondering if there's a case
for moving chrome::GetChannel() up the dependency chain (even to src/base?!?) to
resolve the linking issues.

Powered by Google App Engine
This is Rietveld 408576698