commit | ccc1c7c0707c887a2a8a39b7eab340b2668fac22 | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Mon Feb 22 17:44:17 2021 +0800 |
committer | Yi Kong <yikong@google.com> | Tue Feb 23 15:17:29 2021 +0800 |
tree | 871fd53a41918675a26d192955ba0295af782707 | |
parent | cc9d967deb444dbaffc3eca059cbc0f1f9a14949 [diff] [blame] |
libgui: Enable PGO This improved app launch time by 0.90%. Test: TreeHugger Bug: 180985299 Change-Id: I548766211cc9ba0e2fb69b47acdafc52179661f6
diff --git a/libs/gui/Android.bp b/libs/gui/Android.bp index 904cc6d..6bdc830 100644 --- a/libs/gui/Android.bp +++ b/libs/gui/Android.bp
@@ -132,7 +132,12 @@ aidl: { export_aidl_headers: true, - } + }, + + pgo: { + sampling: true, + profile_file: "libgui/libgui.profdata", + }, } // Used by media codec services exclusively as a static lib for