Fold the C API tests into the regular libnative{bridge,loader} tests.

They only need to be compiled. This way we avoid separate tests that
need gtest:false and that atest doesn't handle well (although there are
other reasons it doesn't handle libnativebridge-tests).

Cherry-picked from https://r.android.com/1723996.

Test: art/libnativebridge/tests/runtests.sh
      atest libnativeloader_test
  with and without a planted syntax error in the .c files
Bug: 122710865
Change-Id: I3225bdb7c2dd268c2cf9353b7ce89819e6d396a5
Merged-In: I3225bdb7c2dd268c2cf9353b7ce89819e6d396a5
5 files changed