platform_build_soong/apex
Peter Collingbourne 3478bb2a7f Teach soong not to duplicate the HWASAN runtime into each APEX.
When HWASAN is enabled, the runtime is conceptually part of Bionic (and
mutually depends on it), so it needs to be treated in the same way as the
Bionic libs.

Now there are only two copies of the runtime: the one in
/system/lib64/bootstrap (which won't be used by ordinary processes) and the
one in the runtime APEX.

This reduces the size of the HWASAN system image and fixes an issue where
multiple copies of the HWASAN runtime were being loaded into 64-bit binaries in
APEXes because the linker namespace for the binary is different from the one
for its dependent libraries outside of APEXes. HWASAN only supports loading
one copy of the runtime per process, so this was causing such binaries to
crash on startup.

Change-Id: I228896e193a035e6dfba9f6e28d0b2e12fc163ea
2019-05-17 10:00:39 -07:00
..
OWNERS Expand Jiyong's apex OWNERship 2019-01-31 18:57:00 +00:00
apex.go Teach soong not to duplicate the HWASAN runtime into each APEX. 2019-05-17 10:00:39 -07:00
apex_test.go Strip libgcc to only keep fallback symbols 2019-04-30 10:07:00 -07:00
key.go Prebuilt APEXes are recoreded in apexkeys.txt 2019-04-29 09:21:23 +09:00