Reland "Only use source supertype for generic signature if not interface"

This reverts commit c485a2fb054c63906d1e370b694af1128805d6d5.

Bug: 191871201
Bug: 191349005
Bug: 191327911
Bug: 192049671
Bug: 191871201
Change-Id: Ie41e50efbe93e0a60ca1ded4d6ce293eecb704ee
diff --git a/tools/compiledump.py b/tools/compiledump.py
index 46b09b8..83bc2aa 100755
--- a/tools/compiledump.py
+++ b/tools/compiledump.py
@@ -300,6 +300,7 @@
       cmd.append('-Xmx' + args.xmx)
     if args.ea:
       cmd.append('-ea')
+      cmd.append('-Dcom.android.tools.r8.enableTestAssertions=1')
     if args.print_times:
       cmd.append('-Dcom.android.tools.r8.printtimes=1')
     if hasattr(args, 'properties'):