commit | 4be92df27bcfaff898fe948882b54a9a91ab2c94 | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Wed Mar 24 01:49:39 2021 +0000 |
committer | Remi NGUYEN VAN <reminv@google.com> | Tue Jun 01 18:40:25 2021 +0900 |
tree | bbd585fb3002341a2479f001df899d49f2c2d760 | |
parent | 8d1a96d9eacd8713f2d42272984d050eda0f85f7 [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. Original change (project moved): Ia66d795cf23d6f45997278300c103976433f7c5c Bug: 171540887 Test: Device boots and has connectivity, size reduced Merged-In: I3c2563d4ae4e3715d0c6270344ba8f7ef067872f Change-Id: Ie1c5b2ea274238a226ad2d827148439fd5758bb5