Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5edd6a23 authored by Yi Kong's avatar Yi Kong Committed by Automerger Merge Worker
Browse files

Merge "surfaceflinger: Move pgo rules to afdo" am: eb2e914f

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1937146

Change-Id: I440dadae18a6bd7e95aa95aa868882965ffea0b8
parents 8b1c1d7f eb2e914f
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -101,7 +101,7 @@ cc_defaults {
    // TODO (marissaw): this library is not used by surfaceflinger. This is here so
    // the library compiled in a way that is accessible to system partition when running
    // IMapper's VTS.
    required: ["libgralloctypes"]
    required: ["libgralloctypes"],
}

cc_defaults {
@@ -114,10 +114,7 @@ cc_defaults {
        thin: true,
    },
    whole_program_vtables: true, // Requires ThinLTO
    pgo: {
        sampling: true,
        profile_file: "surfaceflinger/surfaceflinger.profdata",
    },
    afdo: true,
    // TODO(b/131771163): Fix broken fuzzer support with LTO.
    sanitize: {
        fuzzer: false,