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

Commit 5cb3bb67 authored by Yi Kong's avatar Yi Kong
Browse files

surfaceflinger: Move pgo rules to afdo

... and applied automated bpfix.

Test: presubmit
Change-Id: Iad2649ad6bc12e967f288ed80f6d85d30eadcd8b
parent 380dcef8
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,