Merge "Differentiate between public and module-lib stub variants"

This commit is contained in:
Treehugger Robot
2023-04-14 02:46:23 +00:00
committed by Gerrit Code Review

View File

@@ -1858,6 +1858,10 @@ func GetSubnameProperty(actx android.ModuleContext, c LinkableInterface) string
if c.SplitPerApiLevel() {
subName += "." + c.SdkVersion()
}
} else if c.IsStubs() && c.IsSdkVariant() {
// Public API surface (NDK)
// Add a suffix to this stub variant to distinguish it from the module-lib stub variant.
subName = sdkSuffix
}
return subName