Add test for linker namespaces

This test makes sure that NDK libraries are accessible
for jni code and internal platform libraries are not.

Bug: http://b/26894351
Change-Id: I0ddc31b09e9478fc9aacb4e68f2a3cee5c56efec
(cherry picked from commit 2973ee98092683e15d37ef21f5c6a21f2f2e0576)
4 files changed