diff options
| author | 2019-12-05 18:19:29 +0000 | |
|---|---|---|
| committer | 2019-12-09 13:28:36 +0000 | |
| commit | 9d8d609fcd5c38c2971e03a6c6159735a5c78697 (patch) | |
| tree | 1f32daab3da1b257f49dae4d30a5337c69cc6765 /java/java.go | |
| parent | 667039f404c2455588704a7b04f5de3dbeebb3ee (diff) | |
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
Diffstat (limited to 'java/java.go')
| -rw-r--r-- | java/java.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/java.go b/java/java.go index f933d8dac..f58e5ba24 100644 --- a/java/java.go +++ b/java/java.go @@ -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}) } |