commit | 26bdf449272ebb80dd3220300b5e203eccd0cbf5 | [log] [tgz] |
---|---|---|
author | Jiyong Park <jiyong@google.com> | Mon Apr 05 16:04:49 2021 +0900 |
committer | Jiyong Park <jiyong@google.com> | Mon Apr 05 16:04:49 2021 +0900 |
tree | 6798c7147bca02b9f558b6ae0e42a8f648fc9e3c | |
parent | 5c0be7772c23960a6115d7e62edbfb7f3cfeda7e [diff] |
virtmanager prefers rlib even on device virtmanager is installed to the virt APEX, and there are only two rust binaries (crosvm and virtmanager) in the APEX. Static linking is more beneficial than dynamic linking when the number of binaries are such low. Bug: 181751814 Test: TARGET_BUILD_APPS=com.android.virt m Size is reduced from 180MB to 145MB Change-Id: I50d77adc1880e36a712a7f1a427d6d3ab0fa0a0b