diff options
| author | 2021-02-20 06:14:16 +0000 | |
|---|---|---|
| committer | 2021-02-20 06:14:16 +0000 | |
| commit | dd7e13d4fa6c4bbc4418c9eddb3cf2491967e62a (patch) | |
| tree | 4d1ff72246936a7f9b781f3b1b62bfcb9038602d | |
| parent | 0f11a9a96cb841c36de3368c180e79fc2b6363c4 (diff) | |
| parent | 32bf575529702144db64866a6d8c51451f412254 (diff) | |
Merge "surfaceflinger: Enable PGO" am: 72ee793760 am: 32bf575529
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1596275
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: I7a847372de369dd2ad3c0513b16df77776ecce78
| -rw-r--r-- | services/surfaceflinger/Android.bp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/services/surfaceflinger/Android.bp b/services/surfaceflinger/Android.bp index aa59f850e5..6b3bf8d865 100644 --- a/services/surfaceflinger/Android.bp +++ b/services/surfaceflinger/Android.bp @@ -112,6 +112,10 @@ cc_defaults { thin: true, }, whole_program_vtables: true, // Requires ThinLTO + pgo: { + sampling: true, + profile_file: "surfaceflinger/surfaceflinger.profdata", + }, // TODO(b/131771163): Fix broken fuzzer support with LTO. sanitize: { fuzzer: false, |