summaryrefslogtreecommitdiff
path: root/java/sdk_library_internal.go
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2024-09-27 23:46:20 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2024-09-27 23:46:20 +0000
commit6f8c4ea49375a1ea7886f57988dbbf5071aec5c4 (patch)
tree3d95d0e8b61c2b34021602315dd283bc916c7066 /java/sdk_library_internal.go
parent9f584ccdbc4c7ef20b275ed94975b0c93a7c8063 (diff)
parenta6d0aa86f985f6083d0519911b64fae77c710f86 (diff)
Merge "Do not set JavaInfoProvider in java_sdk_library" into main
Diffstat (limited to 'java/sdk_library_internal.go')
-rw-r--r--java/sdk_library_internal.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/java/sdk_library_internal.go b/java/sdk_library_internal.go
index 6f24902e1..ca088cf68 100644
--- a/java/sdk_library_internal.go
+++ b/java/sdk_library_internal.go
@@ -33,9 +33,13 @@ const (
implLibSuffix = ".impl"
)
+func implLibraryModuleName(sdkLibName string) string {
+ return sdkLibName + implLibSuffix
+}
+
// Module name of the runtime implementation library
func (c *commonToSdkLibraryAndImport) implLibraryModuleName() string {
- return c.module.RootLibraryName() + implLibSuffix
+ return implLibraryModuleName(c.module.RootLibraryName())
}
// Module name of the XML file for the lib