Merge changes Iebfbf2ff,Ibd974268
* changes: Rename fields and methods to reflect class loader context changes. Do not add dependencies of shared SDK libraries to manifest_fixer.
This commit is contained in:
@@ -673,6 +673,11 @@ func (c *commonToSdkLibraryAndImport) apiModuleName(apiScope *apiScope) string {
|
||||
return c.namingScheme.apiModuleName(apiScope, c.moduleBase.BaseModuleName())
|
||||
}
|
||||
|
||||
// If the SDK library is a shared library.
|
||||
func (c *commonToSdkLibraryAndImport) IsSharedLibrary() bool {
|
||||
return c.sharedLibrary()
|
||||
}
|
||||
|
||||
// The component names for different outputs of the java_sdk_library.
|
||||
//
|
||||
// They are similar to the names used for the child modules it creates
|
||||
@@ -918,6 +923,9 @@ type SdkLibraryDependency interface {
|
||||
// jars for the stubs. The latter should only be needed when generating JavaDoc as otherwise
|
||||
// they are identical to the corresponding header jars.
|
||||
SdkImplementationJars(ctx android.BaseModuleContext, sdkVersion sdkSpec) android.Paths
|
||||
|
||||
// If the SDK library is a shared library.
|
||||
IsSharedLibrary() bool
|
||||
}
|
||||
|
||||
type SdkLibrary struct {
|
||||
|
Reference in New Issue
Block a user