Use the correct jars to host gtests.
Before this change, host gtests use the host variant of boot jars, while
they also use the boot images generated from the APEX variant of boot
jars, causing checksum mismatches.
Actually, `dexpreopt_bootjars` uses a single source of input, which is
`out/soong/$(PRODUCT_DEVICE)/dex_*jars_input` (copied from the APEX
variant), to generate boot images, regardless of the variant. Therefore,
host gtests should use the same jars.
Bug: 210410981
Test: Patch aosp/1915157 and run `art/test.py --host -g`.
Change-Id: I1f3078906dc3f962c2b490862f109e04682da7ce
2 files changed