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

Commit 990735ee authored by Zhizhou Yang's avatar Zhizhou Yang Committed by Android (Google) Code Review
Browse files

Merge "Enable PGO for hwui"

parents 13dccdbb 17371ecf
Loading
Loading
Loading
Loading
+11 −1
Original line number Diff line number Diff line
@@ -251,6 +251,16 @@ cc_library {
        // Has moderate overhead
        "hwui_enable_opengl_validation",
    ],

    // Build libhwui with PGO by default.
    // Location of PGO profile data is defined in build/soong/cc/pgo.go
    // and is separate from hwui.
    // To turn it off, set ANDROID_PGO_NO_PROFILE_USE environment variable.
    pgo: {
        instrumentation: true,
        profile_file: "hwui/hwui.profdata",
        benchmarks: ["hwui"],
    },
}

// ------------------------