Add test for the terminal app

Bug: 375051310
Test: watch TH
Change-Id: I85f22d7ff66cffc8d40dc8186d1ba4e380e4ff77
diff --git a/tests/Terminal/Android.bp b/tests/Terminal/Android.bp
new file mode 100644
index 0000000..745a47c
--- /dev/null
+++ b/tests/Terminal/Android.bp
@@ -0,0 +1,22 @@
+package {
+    default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
+android_test {
+    name: "TerminalAppTests",
+    srcs: ["src/**/*.java"],
+    libs: [
+        "android.test.runner.stubs.system",
+        "android.test.base.stubs.system",
+        "android.test.mock.stubs.system",
+    ],
+    static_libs: [
+        "androidx.test.rules",
+        "androidx.test.core",
+        "androidx.test.ext.junit",
+        "junit",
+    ],
+    platform_apis: true,
+    test_suites: ["device-tests"],
+    instrumentation_for: "VmTerminalApp",
+}