ART: Refactor JVMTI run tests

In preparation for code deduplication with CTS.

Bug: 32072923
Test: m
Change-Id: Ibbe005c94252bd29eae7f88aad301b0b20ddb80d
diff --git a/test/Android.bp b/test/Android.bp
index ec40acf..2e8f5bb 100644
--- a/test/Android.bp
+++ b/test/Android.bp
@@ -249,6 +249,9 @@
         "common/runtime_state.cc",
         "ti-agent/common_load.cc",
         "ti-agent/common_helper.cc",
+        "ti-agent/jni_binder.cc",
+        "ti-agent/jvmti_helper.cc",
+        "ti-agent/test_env.cc",
         "901-hello-ti-agent/basics.cc",
         "903-hello-tagging/tagging.cc",
         "904-object-allocation/tracking.cc",
@@ -282,6 +285,7 @@
         "libbase",
     ],
     header_libs: ["libopenjdkjvmti_headers"],
+    include_dirs: ["art/test/ti-agent"],
 }
 
 art_cc_test_library {