Statically link libhidlbase_pgo into libhwbinder_benchmark am: cc7e550c63 am: 8c07ecabfb Change-Id: I04ca7bd887a8a2d8263945546c727bf0a23f8de7
diff --git a/vts/performance/Android.bp b/vts/performance/Android.bp index 675d157..49a730f 100644 --- a/vts/performance/Android.bp +++ b/vts/performance/Android.bp
@@ -16,19 +16,25 @@ cc_defaults { name: "libhwbinder_test_defaults", + defaults: ["hwbinder_benchmark_pgo",], cflags: [ "-Wall", "-Werror", ], shared_libs: [ - "libhidlbase_pgo", + "libbase", "liblog", "libutils", "libcutils", ], - static_libs: ["android.hardware.tests.libhwbinder@1.0"], + static_libs: [ + "android.hardware.tests.libhwbinder@1.0", + "libbinderthreadstate", + "libvndksupport", + "libhidlbase_pgo", + ], // Allow dlsym'ing self for statically linked passthrough implementations ldflags: ["-rdynamic"],