Merge changes from topic "metalava-sdk-jar"
am: cce87cbaa0
Change-Id: I5edc638cc8c859336c9de5e7e4b8dd9f0ff3004d
This commit is contained in:
commit
a9ebb36a15
1 changed files with 2 additions and 1 deletions
|
@ -693,7 +693,8 @@ func getLinkType(m *Module, name string) linkType {
|
|||
ver := m.sdkVersion()
|
||||
noStdLibs := Bool(m.properties.No_standard_libs)
|
||||
switch {
|
||||
case name == "core.current.stubs" || ver == "core_current" || noStdLibs || name == "stub-annotations":
|
||||
case name == "core.current.stubs" || ver == "core_current" || noStdLibs || name == "stub-annotations" ||
|
||||
name == "private-stub-annotations-jar":
|
||||
return javaCore
|
||||
case name == "android_system_stubs_current" || strings.HasPrefix(ver, "system_") || name == "metalava_android_system_stubs_current":
|
||||
return javaSystem
|
||||
|
|
Loading…
Reference in a new issue