This adds new scons targets for installing libraries and header files. The intent is that the SDK build procedures will switch to using these rather than extra_sdk_*.  Then we can continue with getting rid of all the extra_sdk stuff.
This adds new scons targets for installing libraries and header files.
The intent is that the SDK build procedures will switch to using these
rather than extra_sdk_*.  Then we can continue with getting rid of all
the extra_sdk stuff.

The target build_lib will build just the libraries that install_lib
or install would install.  Doing this first can ensure that everything
builds successfully before anything gets installed.

The targets require explicit scons arguments specifying the installation
destination directories.  A command line might look like:
	./scons install libdir=/somewhere/lib includedir=/somewhere/include

Note that this does not install any PPAPI header files.
Perhaps we will make it do so later if that eases the SDK procedures.
But this is already the status quo with extra_sdk_update_header, so
that can come later.

The initial implementation of this is rather kludgey.  Once the SDK
procedures have adapted to using this model, we will have a free hand
to clean all the scons details up along with removing extra_sdk stuff.

BUG=http://code.google.com/p/nativeclient/issues/detail?id=1856
TEST=hand tested

R=mball@google.com

Review URL: http://codereview.chromium.org/7273086

git-svn-id: 721b910a23eff8a86f00c8fd261a7587cddf18f8@5878 fcba33aa-ac0c-11dd-b9e7-8d5594d729c2

sbc100/native_client,sbc100/native_client,sbc100/native_client,sbc100/native_client,sbc100/native_client,sbc100/native_client,nacl-webkit/native_client,nacl-webkit/native_client,nacl-webkit/native_client,nacl-webkit/native_client,nacl-webkit/native_client