Rename core stubs to .txt stubs if applicable
In scope: - core.current.stubs - system modules generated for core's public stubs - system modules generated for core's module_lib stubs The system modules generated for core_platform api surface will be handled in aosp/2514755 Test: go build ./java Change-Id: I34134f79c8ae6e5b218d0b85553de5a748a8cc3f
This commit is contained in:
@@ -1923,7 +1923,7 @@ type moduleWithSdkDep interface {
|
||||
|
||||
func (m *Module) getSdkLinkType(ctx android.BaseModuleContext, name string) (ret sdkLinkType, stubs bool) {
|
||||
switch name {
|
||||
case "core.current.stubs", "legacy.core.platform.api.stubs", "stable.core.platform.api.stubs",
|
||||
case android.SdkCore.JavaLibraryName(ctx.Config()), "legacy.core.platform.api.stubs", "stable.core.platform.api.stubs",
|
||||
"stub-annotations", "private-stub-annotations-jar",
|
||||
"core-lambda-stubs", "core-generated-annotation-stubs":
|
||||
return javaCore, true
|
||||
|
Reference in New Issue
Block a user