Don't explicitly depend on targets in test.py for r8lib testing

This is already fully specified in the gradle build files

Bug: b/270105162
Change-Id: I6a2e75ae2d0f20977a8fd29dd03e595a3e5bfa92
diff --git a/tools/test.py b/tools/test.py
index d16aead..e39a79a 100755
--- a/tools/test.py
+++ b/tools/test.py
@@ -354,8 +354,6 @@
     exit(1)
   if not options.no_r8lib:
     gradle_args.append('-Pr8lib')
-    gradle_args.append(':test:r8LibNoDeps')
-    gradle_args.append(':test:retraceWithRelocatedDeps')
   if options.r8lib_no_deps:
     gradle_args.append('-Pr8lib_no_deps')
   if options.worktree: