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>
This commit is contained in:
@@ -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: [
|
||||||
|
|||||||
Reference in New Issue
Block a user