Fix JNI Loading for BuildTest

Bug 2814482

BuildTest uses native code to check the CPU's features. When using
runtest.py, the library is put into /system/lib, so the library is
loaded without problems. However, running the test in CTS causes
the library not to be found, because it is not installed into the
system directory anymore. The CTS runner's classloader is used for
tests, so the native code must be compiled into the runner's jar
in order for it to be found.

Change-Id: I1922d3d2e95753fb0e1dad741178e514695dc1e3
7 files changed
tree: 2e552c4204c39f9825fcb6b4e58f405cd4cd00ed
  1. tests/
  2. tools/
  3. .gitignore
  4. Android.mk
  5. CleanSpec.mk