Migrate pkvm_perf_test.py test_compilation_in_vm function to AOSP

testCompilationInVM will find the elapsed time when executing
compliation in CompOS. The result will be collected as a metric.

Bug: 236799228
Test: atest ComposBenchmarkApp
Change-Id: If76171617ff645c2fbcc6957251103f7da72810a
diff --git a/compos/benchmark/Android.bp b/compos/benchmark/Android.bp
new file mode 100644
index 0000000..10f8015
--- /dev/null
+++ b/compos/benchmark/Android.bp
@@ -0,0 +1,19 @@
+package {
+    default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
+android_test {
+    name: "ComposBenchmarkApp",
+    test_suites: [
+        "general-tests",
+    ],
+    srcs: ["src/java/**/*.java"],
+    static_libs: [
+        "androidx.test.runner",
+        "androidx.test.ext.junit",
+        "truth-prebuilt",
+    ],
+    platform_apis: true,
+    use_embedded_native_libs: true,
+    compile_multilib: "64",
+}