suriab / gyp

Automatically exported from code.google.com/p/gyp
0 stars 0 forks source link

Need a way to exclude dredged in dependencies #46

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be nice to be able to build libraries like base without having to 
drag in icu. Unfortunately, when you depend on another library, there's no 
easy way to do so without dragging in all the link dependencies associated 
with it. A global variable could gate things out project wide, but what if 
you want to build one way in some places but not others in the same build?

Original issue reported on code.google.com by bradnel...@google.com on 13 Jul 2009 at 6:24

GoogleCodeExporter commented 9 years ago
Seems like this starts flying in the face of gyp's componentization model.  If 
some 
targets want to use parts of base but "know" they're not using the parts of 
base that 
need icu, well, then base should probably be split up to isolate the part(s) 
that do need 
icu.

Original comment by sgk@chromium.org on 6 Aug 2009 at 7:25