ART Apex: prefer "first" to "prefer32" multilib option for tools
This makes the tools in a 32/64-bit APEX into 64-bit binaries when
previously they were 32-bit.
This change is to support 64-bit only devices. We currently build two
flavors of the ART APEX: a 32-bit only variant and a combined
32/64-bit variant. Devices using latter support 64-bit.
The size impact on the uncompressed APEXes is:
+------------+-----------------+-----------------+-----------------+
| ISA Family | Old size, bytes | New size, bytes | Change |
+------------+-----------------+-----------------+-----------------+
| Arm | 58,212,352 | 58,339,328 | 126,976 (+0.2%) |
| Intel | 72,073,216 | 72,073,216 | 0 (+0.0%) |
+------------+-----------------+-----------------+-----------------+
Bug: 194800665
Test: art/build/apex/runtests.sh
Test: odsign_e2e_tests
Change-Id: If23ea3bc3f14c948c032bb3726a125dfdd8069f4
4 files changed