Add a CTS test for shared libraries APEX.

The test checks that if an apex contains a symlink to a library in
/apex/sharedlibs, that library can be successfully located and loaded by
the linker.

Fix: 177213013
Test: atest CtsApexSharedLibrariesTestCases (also forcing 32-bit abi).
      (sideloaded a version of adbd and a dynamic common library apex
      referencing each other and verified that match is found by the
      test.)
Change-Id: Ia3773dcc7e710cdcd1de428bc7e7b85e05af109c
5 files changed