diff options
| author | 2023-04-05 08:33:32 +0000 | |
|---|---|---|
| committer | 2023-04-05 08:33:32 +0000 | |
| commit | db46763eab6c74211f46196954606d34cbd7df52 (patch) | |
| tree | 770fb95817ac4b71fb2629cac42090332a024ea5 | |
| parent | 362ca09afc3a2a827b297d3e3aa40ea9dfd685fa (diff) | |
| parent | 7210c9158dcee617a4020e71044914c89261fabc (diff) | |
Merge "Opt libhwui out of -fprofile-sample-accurate" am: 3661b1baf9 am: 686c948ce8 am: 7210c9158d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2500818
Change-Id: Ifc45719cea28847872f6f331b4d853c8bdbe4e1f
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 5d79104200d9..70c36a5803ee 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: [ |