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

Issue 6912005: make: remove hacks used for shared-object builds (Closed)

Created:
9 years, 7 months ago by Evan Martin
Modified:
9 years, 7 months ago
CC:
gyp-developer_googlegroups.com
Visibility:
Public.

Description

make: remove hacks used for shared-object builds The previous rules made our shared objects include *every* other library they transitively depended on. Now that we're moving to a world where shared objects have well-defined APIs, instead assume the dependencies are correct for shared objects just like they are for static objects. Committed: http://code.google.com/p/gyp/source/detail?r=918

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -12 lines) Patch
M pylib/gyp/generator/make.py View 3 chunks +11 lines, -12 lines 1 comment Download

Messages

Total messages: 8 (0 generated)
Evan Martin
Note that this breaks the shared library build, but makes the componetns build work.
9 years, 7 months ago (2011-05-02 21:55:11 UTC) #1
Michael Moss
http://codereview.chromium.org/6912005/diff/2001/pylib/gyp/generator/make.py File pylib/gyp/generator/make.py (right): http://codereview.chromium.org/6912005/diff/2001/pylib/gyp/generator/make.py#newcode217 pylib/gyp/generator/make.py:217: cmd_solink = $(LINK.$(TOOLSET)) -shared $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -Wl,-soname=$(@F) -o $@ ...
9 years, 7 months ago (2011-05-02 22:39:28 UTC) #2
Evan Martin
On 2011/05/02 22:39:28, Michael Moss wrote: > http://codereview.chromium.org/6912005/diff/2001/pylib/gyp/generator/make.py#newcode217 > pylib/gyp/generator/make.py:217: cmd_solink = $(LINK.$(TOOLSET)) -shared > ...
9 years, 7 months ago (2011-05-02 22:55:52 UTC) #3
Michael Moss
On 2011/05/02 22:55:52, Evan Martin wrote: > On 2011/05/02 22:39:28, Michael Moss wrote: > The ...
9 years, 7 months ago (2011-05-02 23:09:12 UTC) #4
Evan Martin
On 2011/05/02 23:09:12, Michael Moss wrote: > On 2011/05/02 22:55:52, Evan Martin wrote: > > ...
9 years, 7 months ago (2011-05-02 23:55:23 UTC) #5
Michael Moss
> Two tests: one were foo.c referred to the big stuff, one where it didn't. ...
9 years, 7 months ago (2011-05-03 02:25:38 UTC) #6
Nico
Hi Evan, this breaks the linux build. See http://codereview.chromium.org/6987004/ : SOLINK(target) out/Debug/obj.target/ppapi/libppapi_example.so /usr/bin/ld: out/Debug/obj.target/native_client/src/trusted/platform_qualify/libplatform_qual_lib.a(out/Debug/obj.target/native_client/src/trusted/platform_qualify/../../../../platform_qual_lib/native_client/src/trusted/platform_qualify/arch/x86/nacl_cpuwhitelist.o): in ...
9 years, 7 months ago (2011-05-25 03:22:51 UTC) #7
Nico
9 years, 7 months ago (2011-05-25 20:02:13 UTC) #8
Doesn't look like it: http://codereview.chromium.org/7069020/ (this is with a
revision from ~1.5 h ago).

Who do I need to ping to get the fix in?

(replying here instead of in gmail where I can see your reply to this because
gmail 500s for me)

Powered by Google App Engine
This is Rietveld 408576698