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

Issue 378123002: GN: Put static libs next to .ninja files in output dir (Closed)

Created:
6 years, 5 months ago by jamesr
Modified:
6 years, 5 months ago
Reviewers:
brettw, Nico
CC:
chromium-reviews, tfarina
Project:
chromium
Visibility:
Public.

Description

GN: Put static libs next to .ninja files in output dir This puts static libraries on mac next to their ninja files, i.e. in locations like out/Debug/obj/base/libbase_static.a instead of directly in the output directory. This matches what we do on other platforms and avoids the need to give every static library a unique name in the GN build. https://codereview.chromium.org/376773002/ has some discussion of the history of why this is different in GYP. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=282156

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -4 lines) Patch
M tools/gn/ninja_helper.cc View 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
jamesr
6 years, 5 months ago (2014-07-09 01:58:25 UTC) #1
brettw
lgtm
6 years, 5 months ago (2014-07-09 05:07:46 UTC) #2
jamesr
The CQ bit was checked by jamesr@chromium.org
6 years, 5 months ago (2014-07-09 15:42:34 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamesr@chromium.org/378123002/1
6 years, 5 months ago (2014-07-09 15:43:43 UTC) #4
Nico
Out of interest, why isn't this done on linux? (At least that's how it looks ...
6 years, 5 months ago (2014-07-09 15:50:27 UTC) #5
jamesr
It is. This only change behaviour on Mac which was the outlier here. On Jul ...
6 years, 5 months ago (2014-07-09 16:02:09 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-09 20:19:30 UTC) #7
commit-bot: I haz the power
Change committed as 282156
6 years, 5 months ago (2014-07-09 22:52:37 UTC) #8
chromium-reviews
6 years, 5 months ago (2014-07-10 06:47:13 UTC) #9
Oh - if you're asking why this branch isn't hit on linux it's because linux
puts shared_libraries (but not loadable_modules) into out/Foo/lib/..., not
out/Foo/.., in a branch slightly further down:

https://code.google.com/p/chromium/codesearch#chromium/src/tools/gn/ninja_hel...

...this could be simplified.


On Wed, Jul 9, 2014 at 8:50 AM, Nico Weber <thakis@chromium.org> wrote:

> Out of interest, why isn't this done on linux? (At least that's how it
> looks in the snippet in this mail)
>
>
> On Wed, Jul 9, 2014 at 8:43 AM, <commit-bot@chromium.org> wrote:
>
>> CQ is trying da patch. Follow status at
>>  https://chromium-status.appspot.com/cq/jamesr@chromium.org/378123002/1
>>
>>
>> https://codereview.chromium.org/378123002/
>>
>
>

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