package { default_applicable_licenses: ["Android-Apache-2.0"], } android_test { name: "MicrodroidBenchmarkApp", test_suites: [ "general-tests", ], srcs: ["src/java/**/*.java"], static_libs: [ "MicrodroidDeviceTestHelper", "MicrodroidTestHelper", "androidx.test.runner", "androidx.test.ext.junit", "com.android.microdroid.testservice-java", "truth-prebuilt", ], libs: ["android.system.virtualmachine"], jni_libs: [ "MicrodroidBenchmarkNativeLib", "MicrodroidIdleNativeLib", "libiovsock_host_jni", ], platform_apis: true, use_embedded_native_libs: true, compile_multilib: "64", } cc_library_shared { name: "MicrodroidIdleNativeLib", srcs: ["src/native/idlebinary.cpp"], shared_libs: [ "libbase", ], } cc_library_shared { name: "MicrodroidBenchmarkNativeLib", srcs: ["src/native/benchmarkbinary.cpp"], static_libs: ["libiobenchmark"], shared_libs: [ "android.system.virtualmachineservice-ndk", "com.android.microdroid.testservice-ndk", "libbase", "libbinder_ndk", "libbinder_rpc_unstable", "liblog", "libvm_payload", ], } cc_library { name: "libiobenchmark", srcs: ["src/native/io_vsock.cpp"], export_include_dirs: ["src/native/include"], shared_libs: [ "libbase", ], }