Merge "Remove obsolete class loader context API and update unit tests." am: 53230fefa3
am: 9f19d6b988
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1538885 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I8f0c9c8566829fb6a6788846919ff47d43f2c3b7
This commit is contained in:
committed by
Automerger Merge Worker
commit
e2edc31bb9
@@ -1221,7 +1221,7 @@ func (u *usesLibrary) classLoaderContextForUsesLibDeps(ctx android.ModuleContext
|
||||
if tag, ok := ctx.OtherModuleDependencyTag(m).(usesLibraryDependencyTag); ok {
|
||||
dep := ctx.OtherModuleName(m)
|
||||
if lib, ok := m.(UsesLibraryDependency); ok {
|
||||
clcMap.AddContextForSdk(ctx, tag.sdkVersion, dep,
|
||||
clcMap.AddContext(ctx, tag.sdkVersion, dep,
|
||||
lib.DexJarBuildPath(), lib.DexJarInstallPath(), lib.ClassLoaderContexts())
|
||||
} else if ctx.Config().AllowMissingDependencies() {
|
||||
ctx.AddMissingDependencies([]string{dep})
|
||||
|
Reference in New Issue
Block a user