Revert "Add SkipToTransitiveDepsTag interface for dependency tags"

This reverts commit 1fb7c35129.

Change-Id: Ib4c5815a06785cd876caa37acc0522adc26bc495
This commit is contained in:
Jiyong Park
2024-05-15 02:09:42 +09:00
parent cd9dca20a0
commit 1d4907e027
3 changed files with 5 additions and 73 deletions

View File

@@ -44,21 +44,6 @@ func IsInstallDepNeededTag(tag blueprint.DependencyTag) bool {
return false
}
// Dependency tags can implement this interface and return true from SkipToTransitiveDeps to
// annotate that this dependency isn't installed, but its transitive dependencies are. This is
// useful when a module is built into another module (ex: static linking) but the module still has
// runtime dependencies.
type SkipToTransitiveDepsTag interface {
SkipToTransitiveDeps() bool
}
func IsSkipToTransitiveDepsTag(tag blueprint.DependencyTag) bool {
if i, ok := tag.(SkipToTransitiveDepsTag); ok {
return i.SkipToTransitiveDeps()
}
return false
}
type PropagateAconfigValidationDependencyTag interface {
PropagateAconfigValidation() bool
}