Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b5191a57 authored by Colin Cross's avatar Colin Cross
Browse files

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
parent 5a1a3ee1
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -137,6 +137,7 @@ func createMediaRules() []*rule {

func createJavaDeviceForHostRules() []*rule {
	javaDeviceForHostProjectsWhitelist := []string{
		"external/guava",
		"external/robolectric-shadows",
		"framework/layoutlib",
	}