commit | b2abc42c20b924bc6e400a5cb602c12869afe3ca | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Wed Mar 24 01:49:39 2021 +0000 |
committer | Remi NGUYEN VAN <reminv@google.com> | Wed Mar 24 10:08:39 2021 +0000 |
tree | fe208dc84fc26d128cc4cce010e2e59f06e6b17d | |
parent | d246707cbee0f44ed340b2da1c5d9dfacda1200a [diff] |
Build connectivity JNI against libc++_static Instead of including the whole libc++ library by linking it dynamically, use the static version so that unused symbols can be stripped. This allows reducing the APEX size by 1MB (3.7MB -> 2.7MB), as otherwise libc++ is included twice for 32 and 64 bit variants. Bug: 171540887 Test: Device boots and has connectivity, size reduced Change-Id: Ia66d795cf23d6f45997278300c103976433f7c5c