aboutsummaryrefslogtreecommitdiff
path: root/android
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2019-04-11 14:07:38 -0700
committerColin Cross <ccross@android.com>2019-04-15 21:44:51 -0700
commit97add503545c7d74c5baefdf92d08e05cd226b54 (patch)
tree75302fb841c4871aef0eac37111445c955aa9533 /android
parentb10243dc4eebd82bbf907da4937b72c1c15cf03f (diff)
downloadsoong-97add503545c7d74c5baefdf92d08e05cd226b54.tar.gz
Allow guava to use java_host_for_device
Guava can't compile against a device bootclasspath, it uses methods that only exist in the host bootclasspath, and then avoids calling them at runtime. Bug: 130306229 Test: m checkbuild Change-Id: I012030cb701c01ea9ff554c1b6156d0242365a4c Merged-In: I012030cb701c01ea9ff554c1b6156d0242365a4c Exempt-From-Owner-Approval: cherry pick (cherry picked from commit b5191a573d4971d0095a353d48810fae1b04fd49)
Diffstat (limited to 'android')
-rw-r--r--android/neverallow.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/android/neverallow.go b/android/neverallow.go
index f63f46181..fba43b3a1 100644
--- a/android/neverallow.go
+++ b/android/neverallow.go
@@ -128,6 +128,7 @@ func createLibcoreRules() []*rule {
func createJavaDeviceForHostRules() []*rule {
javaDeviceForHostProjectsWhitelist := []string{
+ "external/guava",
"external/robolectric-shadows",
"framework/layoutlib",
}