Commit graph

1 commit

Author SHA1 Message Date
Ryan Prichard
5adf402ee9 Refactor linker/Android.bp for native-bridge
Define a "linker_bin_template" cc_defaults module that a native bridge
implementation can inherit to define a guest linker.

Break the debuggerd_init call off into separate
linker_debuggerd_{android,stub}.cpp files to allow opting in/out of the
debuggerd integration without needing to change how linker_main.cpp is
compiled. (This is necessary for a later commit that moves
linker_main.cpp into a new static library.)

Test: bionic unit tests
Bug: none
Change-Id: I7c5d79281bce1e69817b266dd91d43ea40f78522
2019-11-05 00:49:13 -08:00