diff options
author | Yi Kong <yikong@google.com> | 2021-02-22 17:44:17 +0800 |
---|---|---|
committer | Yi Kong <yikong@google.com> | 2021-02-23 15:17:29 +0800 |
commit | ccc1c7c0707c887a2a8a39b7eab340b2668fac22 (patch) | |
tree | 871fd53a41918675a26d192955ba0295af782707 | |
parent | cc9d967deb444dbaffc3eca059cbc0f1f9a14949 (diff) | |
download | native-ccc1c7c0707c887a2a8a39b7eab340b2668fac22.tar.gz |
libgui: Enable PGO
This improved app launch time by 0.90%.
Test: TreeHugger
Bug: 180985299
Change-Id: I548766211cc9ba0e2fb69b47acdafc52179661f6
-rw-r--r-- | libs/gui/Android.bp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/gui/Android.bp b/libs/gui/Android.bp index 904cc6db5a..6bdc83074b 100644 --- a/libs/gui/Android.bp +++ b/libs/gui/Android.bp @@ -132,7 +132,12 @@ cc_library_shared { aidl: { export_aidl_headers: true, - } + }, + + pgo: { + sampling: true, + profile_file: "libgui/libgui.profdata", + }, } // Used by media codec services exclusively as a static lib for |