Skip to content

Commit 81ae9dd

Browse files
committed
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 parent 03ec059 commit 81ae9dd

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

services/gpuservice/feature_override/Android.bp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,7 @@ cc_defaults {
3434
"libbase",
3535
"libgraphicsenv",
3636
"liblog",
37-
],
38-
static_libs: [
39-
"libprotobuf-cpp-lite-ndk",
37+
"libprotobuf-cpp-lite",
4038
],
4139
}
4240

0 commit comments

Comments
 (0)