Disable pre-submit host unit-testing for `libnativebridge-tests`.

Test module `libnativebridge-tests` is not compatible with TradeFed
(because of its use of the `test_per_src` feature) and is meant to be
executed with the `tests/runtests.sh` script instead.

Test: Execute `m host-unit-tests` and check that the generated
      `host-unit-tests.zip` test suite does not contain any
      `libnativebridge-tests` test case.
Test: art/libnativebridge/tests/runtests.sh
Bug: 241124414
Change-Id: Id10e844adf9f2ef3ca24082f0fc501b5e911481b
diff --git a/libnativebridge/tests/Android.bp b/libnativebridge/tests/Android.bp
index a42f3d9..603f97a 100644
--- a/libnativebridge/tests/Android.bp
+++ b/libnativebridge/tests/Android.bp
@@ -110,6 +110,14 @@
     // unloading, so each test needs to be its own process.
     test_per_src: true,
 
+    // Disable pre-submit host unit-testing for this test module, as
+    // it is not compatible with TradeFed (because of the use of the
+    // `test_per_src` feature above) and meant to be executed with the
+    // `runtests.sh` script instead.
+    test_options: {
+        unit_test: false,
+    },
+
     srcs: [
         "NativeBridgeApi.c",
         "CodeCacheCreate_test.cpp",