summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libs/binder/Android.bp5
-rw-r--r--libs/gui/Android.bp5
-rw-r--r--libs/ui/Android.bp5
-rw-r--r--services/sensorservice/Android.bp5
4 files changed, 4 insertions, 16 deletions
diff --git a/libs/binder/Android.bp b/libs/binder/Android.bp
index d8101fad4c..f60b32e3ba 100644
--- a/libs/binder/Android.bp
+++ b/libs/binder/Android.bp
@@ -225,10 +225,7 @@ cc_library {
"portability*",
],
- pgo: {
- sampling: true,
- profile_file: "libbinder/libbinder.profdata",
- },
+ afdo: true,
}
cc_defaults {
diff --git a/libs/gui/Android.bp b/libs/gui/Android.bp
index c5dec19582..e5dcdea278 100644
--- a/libs/gui/Android.bp
+++ b/libs/gui/Android.bp
@@ -248,10 +248,7 @@ cc_library_shared {
"libpdx_headers",
],
- pgo: {
- sampling: true,
- profile_file: "libgui/libgui.profdata",
- },
+ afdo: true,
lto: {
thin: true,
diff --git a/libs/ui/Android.bp b/libs/ui/Android.bp
index 936e653e94..006c4780ad 100644
--- a/libs/ui/Android.bp
+++ b/libs/ui/Android.bp
@@ -227,10 +227,7 @@ cc_library_shared {
],
min_sdk_version: "29",
- pgo: {
- sampling: true,
- profile_file: "libui/libui.profdata",
- },
+ afdo: true,
}
cc_library_headers {
diff --git a/services/sensorservice/Android.bp b/services/sensorservice/Android.bp
index dccbeb0e5c..f8d9dc2a9d 100644
--- a/services/sensorservice/Android.bp
+++ b/services/sensorservice/Android.bp
@@ -80,10 +80,7 @@ cc_library_shared {
"libpermission",
],
- pgo: {
- sampling: true,
- profile_file: "sensorservice/libsensorservice.profdata",
- },
+ afdo: true,
}
cc_binary {