diff options
author | 2024-11-13 15:20:13 -0800 | |
---|---|---|
committer | 2024-11-15 21:18:15 +0000 | |
commit | 386afeb2ff3a29769b6ae2b46e049bde6b8a479e (patch) | |
tree | 36d9bcb2f7172f6d6df411fa37a79c572113f32d /java/testing.go | |
parent | 4169898d8c9a6522ebf2c830bf677004583a5a31 (diff) |
Don't use ctx.directlyInAnyApex for bootstrap libraries
The check for directlyInAnyApex is redundant for bootstrap libraries,
they are already explicitly enumerated in InstallToBootstrap, and
they are all directly in an apex. Replace the check with
!ctx.isSdkVariant(), since ctx.directlyInAnyApex() was returning
false for the sdk variants.
Bug: 372543712
Test: no change to build.ninja
Test: all Soong tests pass
Change-Id: I00f63757bc93e50affcc54577393e34a5625154e
Diffstat (limited to 'java/testing.go')
0 files changed, 0 insertions, 0 deletions