Ignore test apexes from bp2build generated tags am: f57a966b66
am: b2b9494db1
am: 91d0502607
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2533722 Change-Id: I436039b002eb736e48d472aa0568f3e3bf0c68c9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -462,6 +462,14 @@ const (
|
||||
AvailableToGkiApex = "com.android.gki.*"
|
||||
)
|
||||
|
||||
var (
|
||||
AvailableToRecognziedWildcards = []string{
|
||||
AvailableToPlatform,
|
||||
AvailableToAnyApex,
|
||||
AvailableToGkiApex,
|
||||
}
|
||||
)
|
||||
|
||||
// CheckAvailableForApex provides the default algorithm for checking the apex availability. When the
|
||||
// availability is empty, it defaults to ["//apex_available:platform"] which means "available to the
|
||||
// platform but not available to any APEX". When the list is not empty, `what` is matched against
|
||||
@@ -927,3 +935,9 @@ func CheckMinSdkVersion(ctx ModuleContext, minSdkVersion ApiLevel, walk WalkPayl
|
||||
return true
|
||||
})
|
||||
}
|
||||
|
||||
// Implemented by apexBundle.
|
||||
type ApexTestInterface interface {
|
||||
// Return true if the apex bundle is an apex_test
|
||||
IsTestApex() bool
|
||||
}
|
||||
|
Reference in New Issue
Block a user