diff options
-rw-r--r-- | Android.bp | 36 | ||||
-rw-r--r-- | vts/performance/Android.bp | 3 |
2 files changed, 1 insertions, 38 deletions
@@ -121,7 +121,6 @@ cc_library_static { defaults: [ "libhwbinder_defaults", "libhwbinder-impl-shared-libs", - "hwbinder_pgo", "hwbinder_lto", ], host_supported: true, @@ -141,41 +140,6 @@ cc_library_static { min_sdk_version: "29", } -// Only libhwbinder_benchmark needs to have pgo enabled. When all places -// support having PGO selectively enabled, all places can use libhwbinder. -// -// http://b/77320844 -cc_library_static { - name: "libhwbinder_pgo-impl-internal", - defaults: [ - "libhwbinder_defaults", - "libhwbinder-impl-shared-libs", - "hwbinder_benchmark_pgo", - "hwbinder_lto", - ], -} - -// Provide pgo property to build hwbinder with PGO -cc_defaults { - name: "hwbinder_pgo", - pgo: { - instrumentation: true, - profile_file: "hwbinder/hwbinder.profdata", - benchmarks: ["hwbinder"], - enable_profile_use: true, - }, -} - -cc_defaults { - name: "hwbinder_benchmark_pgo", - pgo: { - instrumentation: true, - profile_file: "hwbinder/hwbinder.profdata", - benchmarks: ["hwbinder_benchmark"], - enable_profile_use: true, - }, -} - // Provide lto property to build hwbinder with LTO cc_defaults { name: "hwbinder_lto", diff --git a/vts/performance/Android.bp b/vts/performance/Android.bp index 9508c83..fbb9f34 100644 --- a/vts/performance/Android.bp +++ b/vts/performance/Android.bp @@ -24,7 +24,6 @@ package { cc_defaults { name: "libhwbinder_test_defaults", - defaults: ["hwbinder_benchmark_pgo",], cflags: [ "-Wall", @@ -40,7 +39,7 @@ cc_defaults { static_libs: [ "android.hardware.tests.libhwbinder@1.0", - "libhidlbase_pgo", + "libhidlbase", ], // Allow dlsym'ing self for statically linked passthrough implementations |