Merge changes from topic "metalava-sdk-jar" am: cce87cbaa0
am: a9ebb36a15
Change-Id: I0952bbce2f37f4dd9f4e8a4b05d7de27d2891927
This commit is contained in:
commit
e6e160cee5
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