The variable name is actually just 'library'.  The default is set in
build/common.gypi.  You can either change the default variable right in
build/common.gypi or set the environment variable
GYP_DEFINES=library=shared_library to get a shared library build.
(I have it modified locally in one of my checked-out Linux trees for
periodic sanity checks that Linux at least nominally builds with shared
libraries.  IIRC, a lot of the Linux folks use shared library builds
regularly, for the much faster link times.)
        --SK

On Mon, Oct 5, 2009 at 9:00 AM, Mark Mentovai <m...@chromium.org> wrote:

>
> If anyone want to work on this, we've left some breadcrumbs behind by
> declaring libraries that could be built as either static or shared as
> a GYP variable named library_type.  It expands to static_library by
> default, but the intention was to make it easy to switch to a shared
> library build by flipping it to shared_library.  I'm sure there's a
> bunch of work to be done even with that switch flipped, but it might
> be a good start if anyone's interested.
>
> Mark
>
> Evan Martin wrote:
> > On Fri, Oct 2, 2009 at 8:26 AM, Marc-Antoine Ruel <mar...@chromium.org>
> wrote:
> >> is linking. To give you an idea, here's a truncated dir list:
> >> (...)
> >> 10,223,616 dump_cache.exe
> >> 10,309,632 fetch_client.exe
> >> 10,600,448 net_perftests.exe
> >> 12,406,784 sync_unit_tests.exe
> >> 14,966,784 net_unittests.exe
> >> 22,118,400 mini_installer.exe
> >> 55,029,760 tab_switching_test.exe
> >
> > Does anyone (not necessarily you :P) have building a web of .dlls in
> > their plans?
> > I've seen a number of patches from mmoss to get that working on Linux
> > with the intent of using it on buildbots...
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
    http://groups.google.com/group/chromium-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to