Merge "surfaceflinger: Move pgo rules to afdo" am: eb2e914f78 am: 5edd6a2308 am: 4e75302ba1 am: edf7038fee
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1937146
Change-Id: I4e787453637599ea131079f3fde5ce9085dec7b7
diff --git a/services/surfaceflinger/Android.bp b/services/surfaceflinger/Android.bp
index 5560ed7..3e6d49f 100644
--- a/services/surfaceflinger/Android.bp
+++ b/services/surfaceflinger/Android.bp
@@ -125,10 +125,7 @@
thin: true,
},
whole_program_vtables: true, // Requires ThinLTO
- pgo: {
- sampling: true,
- profile_file: "surfaceflinger/surfaceflinger.profdata",
- },
+ afdo: true,
// TODO(b/131771163): Fix broken fuzzer support with LTO.
sanitize: {
fuzzer: false,