Only use NDK libraries in the benchmarks.
It should be possible to run the benchmarks on any device, including
past and future ones, and sticking to NDK libraries ensures that.
Bug: N/A
Test: `readelf -aW`
Change-Id: I15a7a4104fa30263136bc3033d2bd9022cd8ff7b
diff --git a/benchmarks/Android.bp b/benchmarks/Android.bp
index 842f7cb..bf8b10d 100644
--- a/benchmarks/Android.bp
+++ b/benchmarks/Android.bp
@@ -40,11 +40,13 @@
"time_benchmark.cpp",
"unistd_benchmark.cpp",
],
- shared_libs: ["libtinyxml2"],
+ shared_libs: ["liblog"],
static_libs: [
"libbase",
"libBionicBenchmarksUtils",
+ "libtinyxml2",
],
+ stl: "libc++_static",
}
cc_defaults {