add make target variables for gtests

Change-Id: I109dca4ffdb35484cdee49751cb5bb3be10dcb60
diff --git a/build/Android.gtest.mk b/build/Android.gtest.mk
index 406c2a1..a95c4f4 100644
--- a/build/Android.gtest.mk
+++ b/build/Android.gtest.mk
@@ -249,3 +249,9 @@
     $(foreach file,$(COMPILER_GTEST_HOST_SRC_FILES), $(eval $(call build-art-test,host,$(file),art/compiler,libartd-compiler)))
   endif
 endif
+
+# Used outside the art project to get a list of the current tests
+RUNTIME_TARGET_GTEST_MAKE_TARGETS :=
+$(foreach file, $(RUNTIME_GTEST_TARGET_SRC_FILES), $(eval RUNTIME_TARGET_GTEST_MAKE_TARGETS += $$(notdir $$(basename $$(file)))))
+COMPILER_TARGET_GTEST_MAKE_TARGETS :=
+$(foreach file, $(COMPILER_GTEST_TARGET_SRC_FILES), $(eval COMPILER_TARGET_GTEST_MAKE_TARGETS += $$(notdir $$(basename $$(file)))))