Fix ahat dependencies.

Add $(ART_HOST_SHARED_LIBRARY_DEPENDENCIES) in addition to
$(ART_HOST_SHARED_LIBRARY_DEBUG_DEPENDENCIES) as the latter
does not depend on the former. This brings the necessary
dependency on libjavacore.

Currently, the libjavacore is built thanks to the conscrypt,
included in core image, depending on it. However, we want to
remove the conscrypt from the core image, so we need to make
the dependency explicit.

Test: atest ahat-tests # from clean tree
Test: Repeat the test above with additional cherry-pick
      https://android-review.googlesource.com/837432 .
Bug: 119868597
Change-Id: I0ff13db3787443874bae380514b3c058387395cf
1 file changed