summaryrefslogtreecommitdiff
path: root/android/apex.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2024-12-03 16:05:57 -0800
committer Colin Cross <ccross@android.com> 2024-12-09 13:32:48 -0800
commit1a842010981c1cb747199574fd8f60e288bf0eb4 (patch)
treeb20a60024546d9051298a62820662e129bb39fde /android/apex.go
parent7e129d26a09a7e10b2b24cfc08879f8626925e3a (diff)
Remove AlwaysRequireApexVariantTag
Nothing implements AlwaysRequireApexVariantTag, remove it. Bug: 372543712 Test: builds Change-Id: Ie438d7a79e171f398b36ce1938249eb3145fcc9b
Diffstat (limited to 'android/apex.go')
-rw-r--r--android/apex.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/android/apex.go b/android/apex.go
index db9391204..49db608a3 100644
--- a/android/apex.go
+++ b/android/apex.go
@@ -264,9 +264,6 @@ type ApexProperties struct {
// Marker interface that identifies dependencies that are excluded from APEX contents.
//
-// Unless the tag also implements the AlwaysRequireApexVariantTag this will prevent an apex variant
-// from being created for the module.
-//
// At the moment the sdk.sdkRequirementsMutator relies on the fact that the existing tags which
// implement this interface do not define dependencies onto members of an sdk_snapshot. If that
// changes then sdk.sdkRequirementsMutator will need fixing.
@@ -277,17 +274,6 @@ type ExcludeFromApexContentsTag interface {
ExcludeFromApexContents()
}
-// Marker interface that identifies dependencies that always requires an APEX variant to be created.
-//
-// It is possible for a dependency to require an apex variant but exclude the module from the APEX
-// contents. See sdk.sdkMemberDependencyTag.
-type AlwaysRequireApexVariantTag interface {
- blueprint.DependencyTag
-
- // Return true if this tag requires that the target dependency has an apex variant.
- AlwaysRequireApexVariant() bool
-}
-
// Interface that identifies dependencies to skip Apex dependency check
type SkipApexAllowedDependenciesCheck interface {
// Returns true to skip the Apex dependency check, which limits the allowed dependency in build.