Snap for 7080740 from 68c7d0d8c8304a15e423781953f4f239df9820f7 to mainline-permission-release
Change-Id: I6a1e7025d435e5f01f3d6d0ff531e6fd3d5d39c1
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.