GpuService: Use libprotobuf-cpp-lite shared lib
Reduce gpuservice memory usage by using the libprotobuf-cpp-lite shared
library, rather than libprotobuf-cpp-lite-ndk static library.
Test Name: android.platform.test.scenario.sleep.Idle#testDoingNothing
Metric Key: showmap_pss_bytes_gpuservice
Before: 2848768
After: 2535424 (-313,344)
Metric Key: showmap_privatedirty_bytes_com.google.android.apps.nexuslauncher
Before: 29978624
After: 29876224 (-102,400)
Command to collect "before" (without this change):
$ abtd test --attached \
--test_location=remote \
ab::12967854:oriole-trunk_staging-userdebug:git_main \
atp:v2/android-crystalball-eng/health/microbench/bootup/idle/system-processes-memory-direct
Result: http://go/forrest-run/L70500030009330315
Command to collect "after" (with this change):
$ abtd test --attached \
--test_location=remote \
--reference_build_id=12967854 th:cl:31594486:oriole-trunk_staging-userdebug:git_main \
atp:v2/android-crystalball-eng/health/microbench/bootup/idle/system-processes-memory-direct
Result: http://go/forrest-run/L40400030009330036
Bug: 372694741
Bug: 392233880
Test: android.platform.test.scenario.sleep.Idle#testDoingNothing
Flag: com.android.graphics.graphicsenv.flags.feature_overrides
Change-Id: I44d96b659e1b64fde9944926139ec8ed78e0b49c
1 file changed