Fix build with global ThinLTO

art_standalone_oatdump_tests uses symbols from some shared libs
that happens to be re-exported by one of the static libs in non-LTO
mode. ThinLTO is more aggressive/accurate at pruning unused symbols,
thus the build fails due to missing symbols.

Fixed by explicitly listing the dependent shared libs.

Bug: 195134194
Test: m GLOBAL_THINLTO=true art_standalone_oatdump_tests
Test: atest art_standalone_oatdump_tests
Change-Id: I516f6811b618de4e9d26c714f24f4bcec1c29853
1 file changed