Remove unused apiModuleName
Bug: 179354495
Test: m nothing
Merged-In: Id1dd09a11c63981b32af524cffcdbd177c8f0232
Change-Id: Id1dd09a11c63981b32af524cffcdbd177c8f0232
(cherry picked from commit 86fe8f8514
)
This commit is contained in:
@@ -701,12 +701,6 @@ func (c *commonToSdkLibraryAndImport) stubsSourceModuleName(apiScope *apiScope)
|
|||||||
return c.namingScheme.stubsSourceModuleName(apiScope, c.moduleBase.BaseModuleName())
|
return c.namingScheme.stubsSourceModuleName(apiScope, c.moduleBase.BaseModuleName())
|
||||||
}
|
}
|
||||||
|
|
||||||
// Name of the droidstubs module that generates/checks the API. Only used if it
|
|
||||||
// requires different arts to the stubs source generating module.
|
|
||||||
func (c *commonToSdkLibraryAndImport) apiModuleName(apiScope *apiScope) string {
|
|
||||||
return c.namingScheme.apiModuleName(apiScope, c.moduleBase.BaseModuleName())
|
|
||||||
}
|
|
||||||
|
|
||||||
// The component names for different outputs of the java_sdk_library.
|
// The component names for different outputs of the java_sdk_library.
|
||||||
//
|
//
|
||||||
// They are similar to the names used for the child modules it creates
|
// They are similar to the names used for the child modules it creates
|
||||||
@@ -1728,8 +1722,6 @@ type sdkLibraryComponentNamingScheme interface {
|
|||||||
stubsLibraryModuleName(scope *apiScope, baseName string) string
|
stubsLibraryModuleName(scope *apiScope, baseName string) string
|
||||||
|
|
||||||
stubsSourceModuleName(scope *apiScope, baseName string) string
|
stubsSourceModuleName(scope *apiScope, baseName string) string
|
||||||
|
|
||||||
apiModuleName(scope *apiScope, baseName string) string
|
|
||||||
}
|
}
|
||||||
|
|
||||||
type defaultNamingScheme struct {
|
type defaultNamingScheme struct {
|
||||||
@@ -1743,10 +1735,6 @@ func (s *defaultNamingScheme) stubsSourceModuleName(scope *apiScope, baseName st
|
|||||||
return scope.stubsSourceModuleName(baseName)
|
return scope.stubsSourceModuleName(baseName)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (s *defaultNamingScheme) apiModuleName(scope *apiScope, baseName string) string {
|
|
||||||
return scope.apiModuleName(baseName)
|
|
||||||
}
|
|
||||||
|
|
||||||
var _ sdkLibraryComponentNamingScheme = (*defaultNamingScheme)(nil)
|
var _ sdkLibraryComponentNamingScheme = (*defaultNamingScheme)(nil)
|
||||||
|
|
||||||
func moduleStubLinkType(name string) (stub bool, ret sdkLinkType) {
|
func moduleStubLinkType(name string) (stub bool, ret sdkLinkType) {
|
||||||
|
Reference in New Issue
Block a user