Snap for 7080740 from 68c7d0d8c8304a15e423781953f4f239df9820f7 to mainline-media-release
Change-Id: I923eb38b30d6b8f67945cd3cc0d95faede2650d4
diff --git a/Android.bp b/Android.bp
index 52ae704..71dbc4b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -55,6 +55,19 @@
java_version: "1.8",
}
+java_library_host {
+ name: "guava-testlib",
+ srcs: ["guava-testlib/src/**/*.java"],
+ libs: [
+ "error_prone_annotations",
+ "guava",
+ "guava-android-annotation-stubs",
+ "jsr305",
+ "junit",
+ ],
+ java_version: "1.8",
+}
+
// Guava for Android can't compile against an Android bootclasspath, compile
// it for the host and then use it on the device. It uses reflection to
// prevent calling into methods that don't exist on Android.