diff options
| author | 2022-01-06 16:01:18 +0800 | |
|---|---|---|
| committer | 2022-01-06 16:02:23 +0800 | |
| commit | 5cb3bb679f63f6b97a0980e329b473f8b17ab246 (patch) | |
| tree | 1d1e310515fc19782d9328021c01a377bab2c590 | |
| parent | 380dcef8740dada22571d1ff437fe994b49e1d50 (diff) | |
surfaceflinger: Move pgo rules to afdo
... and applied automated bpfix.
Test: presubmit
Change-Id: Iad2649ad6bc12e967f288ed80f6d85d30eadcd8b
| -rw-r--r-- | services/surfaceflinger/Android.bp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/services/surfaceflinger/Android.bp b/services/surfaceflinger/Android.bp index eb31e92645..40b1fd08ce 100644 --- a/services/surfaceflinger/Android.bp +++ b/services/surfaceflinger/Android.bp @@ -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, @@ -247,7 +244,7 @@ cc_binary { "libSurfaceFlingerProp", ], - logtags: ["EventLog/EventLogTags.logtags"], + logtags: ["EventLog/EventLogTags.logtags"], } subdirs = [ |