diff options
author | Yi Kong <yikong@google.com> | 2022-01-06 18:35:08 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-01-06 18:35:08 +0000 |
commit | f1a0de519b83e4ac509cd0cfb7de882650536779 (patch) | |
tree | 947b44e42b58b98f065bc2a15cb99f3533db351c | |
parent | c9d5f08d4b9f442a37069779b3c7c969623b114e (diff) | |
parent | ca2e9d541f89b08bf3ddd49251be47a0f80aa954 (diff) | |
download | libhwbinder-f1a0de519b83e4ac509cd0cfb7de882650536779.tar.gz |
Remove PGO rules for libhwbinder am: a5210bff01 am: 75a2bb2d11 am: 2dcff07c54 am: ca2e9d541f
Original change: https://android-review.googlesource.com/c/platform/system/libhwbinder/+/1933187
Change-Id: Iae02e17fe0d9b69deb0c136e4a420aca8bda64c9
-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 |