Merge "Opt libhwui out of -fprofile-sample-accurate"

This commit is contained in:
Yi Kong
2023-04-05 07:00:16 +00:00
committed by Gerrit Code Review

View File

@@ -55,6 +55,10 @@ cc_defaults {
// GCC false-positives on this warning, and since we -Werror that's // GCC false-positives on this warning, and since we -Werror that's
// a problem // a problem
"-Wno-free-nonheap-object", "-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: [ include_dirs: [