[libbinder] Disable Sampling PGO for x86, x86_64
Bug: http://b/189438896
Disable sampling PGO (aka AutoFDO) for x86, x86_64. This is done only
for S (by restricting merge).
Test: verify abi stability across partner and internal builds.
(arbitrary merged-in tag to restrict to sc-dev)
Merged-In: Iba9db702ca6f4a0e590e275bf80e770fb1c7361f
Change-Id: I53b4595c43ade6d068c9c53457cd7e287cec92be
diff --git a/libs/binder/Android.bp b/libs/binder/Android.bp
index 91cd90d..46b67b5 100644
--- a/libs/binder/Android.bp
+++ b/libs/binder/Android.bp
@@ -135,6 +135,20 @@
enabled: false,
},
},
+ android_arm64: {
+ // b/189438896 Sampling PGO restricted to arm64, arm32 in sc-dev
+ pgo: {
+ sampling: true,
+ profile_file: "libbinder/libbinder.profdata",
+ },
+ },
+ android_arm: {
+ // b/189438896 Sampling PGO restricted to arm64, arm32 in sc-dev
+ pgo: {
+ sampling: true,
+ profile_file: "libbinder/libbinder.profdata",
+ },
+ },
vendor: {
exclude_srcs: libbinder_device_interface_sources,
},
@@ -206,11 +220,6 @@
"performance*",
"portability*",
],
-
- pgo: {
- sampling: true,
- profile_file: "libbinder/libbinder.profdata",
- },
}
// AIDL interface between libbinder and framework.jar