diff options
| author | 2023-04-05 08:01:43 +0000 | |
|---|---|---|
| committer | 2023-04-05 08:01:43 +0000 | |
| commit | 7210c9158dcee617a4020e71044914c89261fabc (patch) | |
| tree | c871685de2eba71becacf2636d7c81583ee55841 | |
| parent | cb9649cbbe921cdc0c676142e0f8d9640d2c0957 (diff) | |
| parent | 686c948ce812748a4fd2c1c838141dedd7485b93 (diff) | |
Merge "Opt libhwui out of -fprofile-sample-accurate" am: 3661b1baf9 am: 686c948ce8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2500818
Change-Id: I0c70be2316a953bd573726fb40941968a0897af0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -rw-r--r-- | libs/hwui/Android.bp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/hwui/Android.bp b/libs/hwui/Android.bp index 60f77359bded..8f022accaccb 100644 --- a/libs/hwui/Android.bp +++ b/libs/hwui/Android.bp @@ -55,6 +55,10 @@ cc_defaults { // GCC false-positives on this warning, and since we -Werror that's // a problem "-Wno-free-nonheap-object", + + // Do not de-optimise cold code paths in AFDO. + // Some code paths might be infrequently executed but critical to latency. + "-fno-profile-sample-accurate", ], include_dirs: [ |