summaryrefslogtreecommitdiff
path: root/java/aar.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2024-12-05 14:06:17 -0800
committer Colin Cross <ccross@android.com> 2024-12-09 22:59:13 -0800
commit190a66abb243f22995d46e6dd90808f4d69eeeeb (patch)
tree08d690dfd92c35a3c46d7a83e5e5d27f6098a015 /java/aar.go
parent6a730045b5bfcfdc3e0709f4283ade8a541dc618 (diff)
Move parent static check in cc.Module.DepIsInSameApex into tag
In order to prepare for splitting DepIsInSameApex so it can be called separately on the outgoing and incoming modules during a transtion, add fromStatic to libraryDependencyTag so that the check doesn't need to access both the parent and the child module. This also fixes cases where the static parent was misdetected, which causes a single test failure that seems correct, TestApexWithTests. cc.Module.DepIsInSameApex correctly identifies that the "mytest" module is static and the "mylib" shared library dependency is not used in the apex. Fix the test to make "mytest" non-static so that "mylib" is included. Bug: 372543712 Test: all Soong tests pass Change-Id: Ibb0cfff77adefb804ff6c66467ac761b723597de
Diffstat (limited to 'java/aar.go')
0 files changed, 0 insertions, 0 deletions