title: Easy building of Chromium base (libchrome) library
body: <p>I've been working with Chromium codebase for some time and get accustomed to its great <a href="http://www.chromium.org/chromium-os/packages/libchrome" rel="nofollow">base library (aka libchrome)</a>. The problem is that while great and versatile this library wasn't intended to be used outside of Chromium so it is really problematic to use it as a standalone library.</p>
  
  <p><a href="http://www.chromium.org/chromium-os/packages/libchrome" rel="nofollow">Library's page</a> states that for other Google's projects they either released some inner packages or used <a href="http://git.chromium.org/gitweb/?p=chromiumos/overlays/chromiumos-overlay.git;a=blob;f=chromeos-base/libchrome/files/SConstruct-125070;h=67e62718e16134e52c929a5dcda24224740616b2;hb=HEAD" rel="nofollow">scons build script</a> which can be used for building the library. Unfortunately neither this script nor its <a href="http://git.chromium.org/gitweb/?p=chromiumos/overlays/chromiumos-overlay.git;a=blob;f=chromeos-base/libchrome/files/SConstruct-180609;h=1e362302fb735d31684ef3ea2616ac0c7ce1cfd1;hb=refs/heads/master" rel="nofollow">more recent version</a> allowed me to compile it. I'v got some errors either about wrong flags or missing input files. Possibly some of patches placed in the same directory as script could help but there is not description which to use and in what order.</p>
  
  <p>On <a href="http://blog.dimitridiakopoulos.com/2014/05/14/building-the-chromiumbase-library/" rel="nofollow">some blog</a> I found suggestion that one could fetch whole Chromium instead, together with its toolchain and configure it to build just that one library. But that would be really slow and not very portable. If I were to develop something serious one day it would force people to download a lot of unnecessary stuff.</p>
  
  <p>Do any of you know some fast and reliable way to build that library? It might be more complicated as long as it could be automated by a script and don't make one setup <code>PATH</code> variables and download several GB of overhead data.</p>