diff options
| author | Jooyung Han <jooyung@google.com> | 2024-02-07 16:27:57 +0900 |
|---|---|---|
| committer | Jooyung Han <jooyung@google.com> | 2024-02-07 16:27:57 +0900 |
| commit | 1f4531e768dc33cb045dc6982c576c27e5c2821e (patch) | |
| tree | 0719fc5bdb66d4925d32a01112647e52cb9dbab1 /apex | |
| parent | f8c004263a41265708da3553d0fff2910faaea59 (diff) | |
apex: skip apex_sepolicy_tests for test apex
Test apexes are often configured incorrectly intentionally.
Bug: 324005965
Test: m
Change-Id: Ifddbca71b46a42cffa9923b0dd66cd5e2d8024e4
Diffstat (limited to 'apex')
| -rw-r--r-- | apex/builder.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apex/builder.go b/apex/builder.go index 30788630b..40ccd2cc7 100644 --- a/apex/builder.go +++ b/apex/builder.go @@ -910,7 +910,7 @@ func (a *apexBundle) buildApex(ctx android.ModuleContext) { var validations android.Paths validations = append(validations, runApexLinkerconfigValidation(ctx, unsignedOutputFile.OutputPath, imageDir.OutputPath)) // 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)) } if !a.testApex && len(a.properties.Unwanted_transitive_deps) > 0 { |
