benchmark: Add jni benchmarks for use in golem
Also adds libartbenchmark.so as a build dependency for golem targets
Test: make build-art-host-golem build-art-target-golem
Bug: 31401609
Change-Id: I3f6b11f93684cc8eb3534bb02bf2d3eb05e39dcf
diff --git a/benchmark/Android.bp b/benchmark/Android.bp
index 617f5b0..94ad015 100644
--- a/benchmark/Android.bp
+++ b/benchmark/Android.bp
@@ -19,8 +19,10 @@
host_supported: true,
defaults: ["art_defaults", "art_debug_defaults"],
srcs: [
+ "jni_loader.cc",
"jobject-benchmark/jobject_benchmark.cc",
"jni-perf/perf_jni.cc",
+ "micro-native/micro_native.cc",
"scoped-primitive-array/scoped_primitive_array.cc",
],
shared_libs: [