Merge "apex: skip apex_sepolicy_tests for test apex" into main am: 47f87dddb3
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2954769 Change-Id: I52f70ef23c6971a406d35bf8201a0d4e5e309be9 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -910,7 +910,7 @@ func (a *apexBundle) buildApex(ctx android.ModuleContext) {
|
|||||||
var validations android.Paths
|
var validations android.Paths
|
||||||
validations = append(validations, runApexLinkerconfigValidation(ctx, unsignedOutputFile.OutputPath, imageDir.OutputPath))
|
validations = append(validations, runApexLinkerconfigValidation(ctx, unsignedOutputFile.OutputPath, imageDir.OutputPath))
|
||||||
// TODO(b/279688635) deapexer supports [ext4]
|
// TODO(b/279688635) deapexer supports [ext4]
|
||||||
if suffix == imageApexSuffix && ext4 == a.payloadFsType {
|
if !a.testApex && suffix == imageApexSuffix && ext4 == a.payloadFsType {
|
||||||
validations = append(validations, runApexSepolicyTests(ctx, unsignedOutputFile.OutputPath))
|
validations = append(validations, runApexSepolicyTests(ctx, unsignedOutputFile.OutputPath))
|
||||||
}
|
}
|
||||||
if !a.testApex && len(a.properties.Unwanted_transitive_deps) > 0 {
|
if !a.testApex && len(a.properties.Unwanted_transitive_deps) > 0 {
|
||||||
|
Reference in New Issue
Block a user