Rename R8 library target and add R8 binary target. am: 414ff957ec am: b36be79579 am: feab5cf14f am: dc73296233
Original change: https://android-review.googlesource.com/c/platform/prebuilts/r8/+/2053948
Change-Id: Iaba237300e9fa92e8be775f4f66b2bf5d744eac4
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: {