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

Issue 10661019: Remove the linux-only CR_SOURCE_ROOT environment variable override of base::DIR_SOURCE_ROOT. (Closed)

Created:
8 years, 6 months ago by M-A Ruel
Modified:
8 years, 5 months ago
CC:
chromium-reviews, erikwright (departed), brettw-cc_chromium.org
Visibility:
Public.

Description

Remove the linux-only CR_SOURCE_ROOT environment variable override of base::DIR_SOURCE_ROOT. The environment variable overidde was only implemented on linux and not on the other OSes. So it was not coherent across platforms. I searched for usage and didn't find anything compelling. If this change causes any breakage, simply revert it. If is is needed, it should be made coherent between platforms. Note that this trick is not compatible with test isolation, where test should find their data file at deterministic relative location, hence the removal of this override. R=willchan@chromium.org BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=144460

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -17 lines) Patch
M base/base_paths_posix.cc View 1 chunk +0 lines, -14 lines 0 comments Download
M testing/test_env.py View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
M-A Ruel
8 years, 6 months ago (2012-06-23 00:39:26 UTC) #1
M-A Ruel
ping
8 years, 6 months ago (2012-06-26 20:16:15 UTC) #2
willchan no longer on Chromium
My bad, at a conference. LGTM On Tue, Jun 26, 2012 at 1:16 PM, <maruel@chromium.org> ...
8 years, 6 months ago (2012-06-26 21:14:09 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maruel@chromium.org/10661019/1
8 years, 6 months ago (2012-06-27 00:30:48 UTC) #4
commit-bot: I haz the power
Try job failure for 10661019-1 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 5 months ago (2012-06-27 01:05:48 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maruel@chromium.org/10661019/1
8 years, 5 months ago (2012-06-27 13:15:58 UTC) #6
commit-bot: I haz the power
Change committed as 144460
8 years, 5 months ago (2012-06-27 15:04:16 UTC) #7
piman
This makes me sad. My output dir is 3 levels down instead of 2 (I ...
8 years, 5 months ago (2012-07-02 20:28:52 UTC) #8
M-A Ruel
8 years, 5 months ago (2012-07-02 20:58:29 UTC) #9
On 2012/07/02 20:28:52, piman wrote:
> This makes me sad.
> My output dir is 3 levels down instead of 2 (I bind-mount an output root from
> another disk, below which I have an indirection fro the configuration linux vs
> aura vs chrome os etc., below which I have Debug vs Release), and I was
relying
> on CR_SOURCE_ROOT to correctly execute unit tests. Now I don't have that hook
> any more, is there an alternative?

There's no alternative AFAIK but I'm open to put it back. The main reason I
removed it was that I didn't know if this "feature" got any usage. Now at least
I know it's being used. But I prefer to first make it consistent across
platforms. I'll send a CL within the next few days.

Powered by Google App Engine
This is Rietveld 408576698