Test the shared library with non-PIC tests
Test the shared library with non-PIC tests

This simplifies shared library testing, reducing the number of objects
we have to build.

It also avoids crashes on MIPS, when we use symbols from the non-PIC
static library to fill in for symbols hidden from the shared library.
(Rather than have a separate set of tests that only cover public
symbols, we link the shared library tests aginst the static library
too.)

Change-Id: I274815f076b158dbe684ef1e8d9c155b8fbc380c
Reviewed-on: https://code-review.googlesource.com/3960
Reviewed-by: Paul Wankadia <62d4e38bb1380f055ec4b899baa75e52af09c5f7@google.com>

google/re2,google/re2,google/re2,google/re2,google/re2