Merge "Cleanup bootclasspathFragmentInitContentsFromImage"

This commit is contained in:
Paul Duffin 2021-06-17 16:03:51 +00:00 committed by Gerrit Code Review
commit 909a2fd055

View file

@ -233,14 +233,6 @@ func bootclasspathFragmentInitContentsFromImage(ctx android.EarlyModuleContext,
commonApex, apex) commonApex, apex)
} }
} }
if len(contents) != 0 {
// Nothing to do.
return
}
// Store the jars in the Contents property so that they can be used to add dependencies.
m.properties.Contents = modules.CopyOfJars()
} }
// bootclasspathImageNameContentsConsistencyCheck checks that the configuration that applies to this // bootclasspathImageNameContentsConsistencyCheck checks that the configuration that applies to this