Rename R8 library target and add R8 binary target. am: 414ff957ec am: b36be79579 am: feab5cf14f

Original change: https://android-review.googlesource.com/c/platform/prebuilts/r8/+/2053948

Change-Id: I35a7b769be658d47ffa319e410f889eecb9a8c47
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/Android.bp b/Android.bp
index 8078b69..8a2f730 100644
--- a/Android.bp
+++ b/Android.bp
@@ -54,7 +54,7 @@
 java_binary_host {
     name: "d8",
     wrapper: "d8",
-    static_libs: ["r8"],
+    static_libs: ["r8lib"],
     target: {
         windows: {
             enabled: true,
@@ -66,24 +66,30 @@
 java_binary_host {
     name: "r8-compat-proguard",
     wrapper: "r8-compat-proguard",
-    static_libs: ["r8"],
+    static_libs: ["r8lib"],
+}
+
+java_binary_host {
+    name: "r8",
+    main_class: "com.android.tools.r8.R8",
+    static_libs: ["r8lib"]
 }
 
 java_binary_host {
     name: "retrace",
     main_class: "com.android.tools.r8.retrace.RetraceWrapper",
     srcs: ["src/com/android/tools/r8/retrace/RetraceWrapper.java"],
-    static_libs: ["r8"],
+    static_libs: ["r8lib"],
 }
 
 java_binary_host {
     name: "extractmarker",
     main_class: "com.android.tools.r8.ExtractMarker",
-    static_libs: ["r8"],
+    static_libs: ["r8lib"],
 }
 
 java_import_host {
-    name: "r8",
+    name: "r8lib",
     jars: ["r8.jar"],
     target: {
         windows: {