From 247e0cfaa463cac03f6fbef53589dc91c336f7c0 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Fri, 1 Mar 2019 13:45:09 -0800 Subject: [PATCH] Don't add static libs resources to implemenation jars Static dependency resources will already be in the resources jar and the implementation and resource jar, they shouldn't be in the implementation jar. Test: m checkbuild Change-Id: I4d4dab1d2e55e92ba9a95a66b246c721b9bf6410 --- java/java.go | 1 - 1 file changed, 1 deletion(-) diff --git a/java/java.go b/java/java.go index ecc360896..d230810de 100644 --- a/java/java.go +++ b/java/java.go @@ -1133,7 +1133,6 @@ func (j *Module) compile(ctx android.ModuleContext, extraSrcJars ...android.Path } jars = append(jars, deps.staticJars...) - jars = append(jars, deps.staticResourceJars...) manifest := j.overrideManifest if !manifest.Valid() && j.properties.Manifest != nil {