Define additional exception functions for container enforcement
These exception functions allow restriction to be loosened for some inter-container dependencies. Note that these functions are still no-op. Restriction enforcement will be done in the child change. Test: m nothing Bug: 338660802 Change-Id: I63c7c33e33f271d4c2a84cc6070eb4896e030ab4
This commit is contained in:
10
java/base.go
10
java/base.go
@@ -563,8 +563,14 @@ type Module struct {
|
||||
var _ android.InstallableModule = (*Module)(nil)
|
||||
|
||||
// To satisfy the InstallableModule interface
|
||||
func (j *Module) EnforceApiContainerChecks() bool {
|
||||
return true
|
||||
func (j *Module) StaticDependencyTags() []blueprint.DependencyTag {
|
||||
return []blueprint.DependencyTag{staticLibTag}
|
||||
}
|
||||
|
||||
// To satisfy the InstallableModule interface
|
||||
func (j *Module) DynamicDependencyTags() []blueprint.DependencyTag {
|
||||
return []blueprint.DependencyTag{libTag, sdkLibTag, bootClasspathTag, systemModulesTag,
|
||||
instrumentationForTag, java9LibTag}
|
||||
}
|
||||
|
||||
// Overrides android.ModuleBase.InstallInProduct()
|
||||
|
Reference in New Issue
Block a user