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

Issue 83673002: Pass the gold binary to the linker using only absolute paths. (Closed)

Created:
7 years, 1 month ago by Raphael Kubo da Costa (rakuco)
Modified:
7 years ago
CC:
chromium-reviews
Visibility:
Public.

Description

Pass the gold binary to the linker using only absolute paths. The previous expansion using <(PRODUCT_DIR)/../.. did not work correctly if one was using a different build directory layout (out-of-source builds, or some build directory with a different number of subdirectories). Solve this by doing the same as the sysroot variables: stop using relative paths from the build directory and extract absolute paths using DEPTH. TEST=./build/gyp_chromium -Goutput_dir=/somewhere/else R=phajdan.jr@chromium.org,thakis@chromium.org,dpranke@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=236822

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M build/common.gypi View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 21 (0 generated)
Raphael Kubo da Costa (rakuco)
7 years, 1 month ago (2013-11-22 15:30:09 UTC) #1
Paweł Hajdan Jr.
LGTM, indeed we already use similar technique for sysroots.
7 years, 1 month ago (2013-11-22 18:19:43 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/raphael.kubo.da.costa@intel.com/83673002/1
7 years, 1 month ago (2013-11-22 18:21:20 UTC) #3
commit-bot: I haz the power
Change committed as 236822
7 years, 1 month ago (2013-11-22 20:46:59 UTC) #4
Nico
not lgtm This breaks moving the output directory without regypping. Several places in the code ...
7 years, 1 month ago (2013-11-23 05:14:55 UTC) #5
Raphael Kubo da Costa (rakuco)
> This breaks moving the output directory without regypping. Sorry, can you explain how? If ...
7 years, 1 month ago (2013-11-23 10:38:03 UTC) #6
Nico
On Sat, Nov 23, 2013 at 7:38 PM, <raphael.kubo.da.costa@intel.com> wrote: > This breaks moving the ...
7 years, 1 month ago (2013-11-23 10:41:37 UTC) #7
Raphael Kubo da Costa (rakuco)
>>> This breaks moving the output directory without regypping. >> Sorry, can you explain how? ...
7 years, 1 month ago (2013-11-23 11:02:36 UTC) #8
Nico
On Sat, Nov 23, 2013 at 3:03 AM, Raphael Kubo da Costa < raphael.kubo.da.costa@intel.com> wrote: ...
7 years ago (2013-11-27 03:00:03 UTC) #9
Raphael Kubo da Costa (rakuco)
> This looks like an unrelated bug I apparently introduced when I > reimplemented the ...
7 years ago (2013-11-27 11:10:19 UTC) #10
Nico
On Wed, Nov 27, 2013 at 8:11 PM, Raphael Kubo da Costa < raphael.kubo.da.costa@intel.com> wrote: ...
7 years ago (2013-11-27 17:42:14 UTC) #11
Raphael Kubo da Costa (rakuco)
>> That's a design decision I was completely unaware of. Is there more >> documentation ...
7 years ago (2013-11-27 17:46:41 UTC) #12
Nico
On Wed, Nov 27, 2013 at 9:47 AM, Raphael Kubo da Costa < raphael.kubo.da.costa@intel.com> wrote: ...
7 years ago (2013-11-27 17:55:03 UTC) #13
Raphael Kubo da Costa (rakuco)
> I've noticed this before. From what I can tell, it isn't used in a ...
7 years ago (2013-11-27 18:47:29 UTC) #14
Nico
On Thu, Nov 28, 2013 at 3:48 AM, Raphael Kubo da Costa < raphael.kubo.da.costa@intel.com> wrote: ...
7 years ago (2013-11-27 19:04:47 UTC) #15
Raphael Kubo da Costa (rakuco)
Nico Weber <thakis@chromium.org> writes: > So you're not interested in running tests, only in building ...
7 years ago (2013-11-27 19:08:30 UTC) #16
Nico
Could you keep this around as a local diff? On Wed, Nov 27, 2013 at ...
7 years ago (2013-11-28 00:07:20 UTC) #17
Nico
On Wed, Nov 27, 2013 at 4:07 PM, Nico Weber <thakis@chromium.org> wrote: > Could you ...
7 years ago (2013-12-03 01:21:54 UTC) #18
Nico
On Mon, Dec 2, 2013 at 5:21 PM, Nico Weber <thakis@chromium.org> wrote: > On Wed, ...
7 years ago (2013-12-03 19:39:52 UTC) #19
Nico
On Tue, Dec 3, 2013 at 11:39 AM, Nico Weber <thakis@chromium.org> wrote: > On Mon, ...
7 years ago (2013-12-05 05:12:06 UTC) #20
Raphael Kubo da Costa (rakuco)
7 years ago (2013-12-09 20:21:19 UTC) #21
Nico Weber <thakis@chromium.org> writes:

> On Tue, Dec 3, 2013 at 11:39 AM, Nico Weber <thakis@chromium.org> wrote:
>
>> On Mon, Dec 2, 2013 at 5:21 PM, Nico Weber <thakis@chromium.org> wrote:
>>
>>> On Wed, Nov 27, 2013 at 4:07 PM, Nico Weber <thakis@chromium.org> wrote:
>>>
>>>> Could you keep this around as a local diff?
>>>
>>> ^ ping
>>>
>>
>> ^ ping^2
>
> last ping

I was on vacation last week. I certainly can keep this as a local diff;
we just try to deviate as little as possible from upstream, but
unfortunately this doesn't seem to be possible in this situation.

Feel free to revert this then, in the future I may try to give the gyp's
make generator some love and make the whole thing work there.

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698