Move libsigchain out of static/shared properties

Using the static/shared properties causes Soong to skip the
optimization that reuses .o files between the static and shared
variants of a library.  libart uses static.static_libs and
shared.shared_libs to select between libsigchain and
libsigchain_dummy.  This doesn't actually do anything, because
dependencies from the static variant are only used to import
includes.  Always use libsigchain in shared_libs, the final
binary that links against static libart will pull in the
correct libsigchain_dummy dependency through
libart_static_base_defaults.  This halves the number of times
that the code in art/runtime is compiled.

Also make libsigchain and libsigchain_dummy export their includes
so that libart doesn't need to manually specify include_dirs.

Test: m libart
Change-Id: I83b02001d698bb9c9e26fd1467283116356b5bf1
3 files changed