Fix RUNTIME_TARGET_GTEST_MAKE_TARGETS

This was including only the <filename>, while Soong test_per_src tests
are exposed to make as <name>_<filename>. So deconstruct the path, which
uses .../<name>/<filename>, instead of just taking the basename.

This has been causing warnings on some internal branch builds, about how
we were asking for these modules, but that they didn't exist. This
change removes those warnings.

Test: Check warnings on internal branches
Change-Id: I4b8559961f51cc32f2fac0bf6fb15ee34ba72bdd
1 file changed