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

Issue 1156773004: Honor 'sysroot' setting when running cups-config (Closed)

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

Description

Honor 'sysroot' setting when running cups-config This mimic the existing behavior of build/linux/pkg-config-wrapper. Committed: https://crrev.com/05ac52d4344270b0253d0b789e8621966d3af130 Cr-Commit-Position: refs/heads/master@{#331207}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -7 lines) Patch
M printing/cups_config_helper.py View 4 chunks +15 lines, -5 lines 0 comments Download
M printing/printing.gyp View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
Sam Clegg
5 years, 7 months ago (2015-05-22 20:21:56 UTC) #2
Vitaly Buka (NO REVIEWS)
lgtm
5 years, 7 months ago (2015-05-22 22:12:30 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1156773004/1
5 years, 7 months ago (2015-05-22 22:13:53 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years, 7 months ago (2015-05-22 23:51:35 UTC) #7
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/05ac52d4344270b0253d0b789e8621966d3af130 Cr-Commit-Position: refs/heads/master@{#331207}
5 years, 7 months ago (2015-05-22 23:52:29 UTC) #8
Evan Stade
On 2015/05/22 23:52:29, commit-bot: I haz the power wrote: > Patchset 1 (id:??) landed as ...
5 years, 4 months ago (2015-08-06 17:55:28 UTC) #9
Sam Clegg
On 2015/08/06 17:55:28, Evan Stade wrote: > On 2015/05/22 23:52:29, commit-bot: I haz the power ...
5 years, 4 months ago (2015-08-06 18:00:51 UTC) #10
Evan Stade
On 2015/08/06 17:55:28, Evan Stade wrote: > On 2015/05/22 23:52:29, commit-bot: I haz the power ...
5 years, 4 months ago (2015-08-06 18:03:41 UTC) #11
Sam Clegg
5 years, 4 months ago (2015-08-06 18:06:26 UTC) #12
Message was sent while issue was closed.
On 2015/08/06 18:03:41, Evan Stade wrote:
> On 2015/08/06 17:55:28, Evan Stade wrote:
> > On 2015/05/22 23:52:29, commit-bot: I haz the power wrote:
> > > Patchset 1 (id:??) landed as
> > > https://crrev.com/05ac52d4344270b0253d0b789e8621966d3af130
> > > Cr-Commit-Position: refs/heads/master@{#331207}
> > 
> > this seems to have broken local branded builds for me on my linux
workstation.
> > When running gclient runhooks I get 
> > 
> > python printing/cups_config_helper.py --libs
> > /usr/local/google/chrome/src/build/linux/debian_wheezy_amd64-sysroot
> > cups-config not found:
> >
>
/usr/local/google/chrome/src/build/linux/debian_wheezy_amd64-sysroot/usr/bin/cups-config
> > 
> > and it resolves when I revert this patch.
> 
> false alarm --- oddly this happens only when I add branding=Chrome
> buildtype=Official to chromium.gyp_env but if I use GYP_DEFINES="..." it works
> fine.

Yes, sadly the runhooks which installs the system, peeks into GYP_DEFINES to
figure out for example which target_arch you are building for.  Its a bit of a
hack.. but we've yet to come up with a better way to do conditional stuff in the
hooks.

Powered by Google App Engine
This is Rietveld 408576698