Pass SdkMember to AddPrebuiltModule instead of the name
This is needed for a follow up change that makes sure that the prebuilt modules have the same visibility as the source modules. Bug: 143678475 Test: m conscrypt-module-sdk Change-Id: I9461c8c094ab19ee9ececb5e5fd50565789f2fa2
This commit is contained in:
@@ -1760,7 +1760,7 @@ func (mt *librarySdkMemberType) buildSnapshot(
|
||||
}
|
||||
}
|
||||
|
||||
module := builder.AddPrebuiltModule(sdkModuleContext.OtherModuleName(j), "java_import")
|
||||
module := builder.AddPrebuiltModule(member, "java_import")
|
||||
module.AddProperty("jars", []string{snapshotRelativeJavaLibPath})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user