Use Guava built from source for AndroidX prebuilts.
Bug: 244341573
Bug: 258221936
Test: presubmit
Change-Id: I74cf3e73d8bd383a8748ef5db1d4bb5fb2587880
Test: None
diff --git a/current/androidx/Android.bp b/current/androidx/Android.bp
index 1a920a7..f087745 100644
--- a/current/androidx/Android.bp
+++ b/current/androidx/Android.bp
@@ -4482,7 +4482,7 @@
"kotlinx_metadata_jvm",
"commons-codec",
"jetbrains-annotations",
- "guava-21.0",
+ "guava",
],
java_version: "1.7",
}
diff --git a/update_prebuilts/update_prebuilts.py b/update_prebuilts/update_prebuilts.py
index 46d8e44..6a95dcc 100755
--- a/update_prebuilts/update_prebuilts.py
+++ b/update_prebuilts/update_prebuilts.py
@@ -260,7 +260,7 @@
'androidx.room:room-compiler': {
'host': True,
'extra-static-libs': {
- 'guava-21.0'
+ 'guava'
}
},
'androidx.room:room-migration': {