aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2018-09-24 16:45:13 -0700
committerElliott Hughes <enh@google.com>2018-09-24 16:45:13 -0700
commit627329915acba5e6884d02af97a8486421f251e8 (patch)
treeb64a9cff7893d56b6e028b2cb926ac77c50e19b0 /benchmarks
parentce9d653b38868a73260d141acbf3ddd8c5d8e178 (diff)
downloadandroid_bionic-627329915acba5e6884d02af97a8486421f251e8.tar.gz
android_bionic-627329915acba5e6884d02af97a8486421f251e8.tar.bz2
android_bionic-627329915acba5e6884d02af97a8486421f251e8.zip
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
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/Android.bp4
1 files changed, 3 insertions, 1 deletions
diff --git a/benchmarks/Android.bp b/benchmarks/Android.bp
index 842f7cb92..bf8b10daf 100644
--- a/benchmarks/Android.bp
+++ b/benchmarks/Android.bp
@@ -40,11 +40,13 @@ cc_defaults {
"time_benchmark.cpp",
"unistd_benchmark.cpp",
],
- shared_libs: ["libtinyxml2"],
+ shared_libs: ["liblog"],
static_libs: [
"libbase",
"libBionicBenchmarksUtils",
+ "libtinyxml2",
],
+ stl: "libc++_static",
}
cc_defaults {