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
This commit is contained in:
Colin Cross
2019-03-01 13:45:09 -08:00
parent afbddd8ddd
commit 247e0cfaa4

View File

@@ -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 {