summaryrefslogtreecommitdiff
path: root/java/java_resources.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2024-10-21 23:33:43 +0000
committer Spandan Das <spandandas@google.com> 2024-10-21 23:41:11 +0000
commitfcc07c0f33b2a6a7b1e68c3617dd42610801d55e (patch)
tree78ca276ced3eafc42f59471ad56fb0473a728d2a /java/java_resources.go
parent6d056508ddc0a84565b3f0928c379aa77e244d91 (diff)
Skip host variant in `collectDepsMutator`
`fsGenState` currently stores the deps information key-d on the module name. For modules with both host and device variants, the dep information map is updated multiple times. This is usually benign, but can return incorrect values if the host variant sets different values for properties that are crucial for the classification heuristic (e.g. compile_multilib, enabled, ...) Update `collectDepsMutator` to update the deps information only for device variants. Test: verified that both variants of `libEGL_emulation` are installed in the autogenerated vendor partition. At ToT, only 64-bit is installed since the host variant sets `compile_multlib: 64` Change-Id: Ib1add872b5ff1b170eb3a610d19d40010a6a3f7e
Diffstat (limited to 'java/java_resources.go')
0 files changed, 0 insertions, 0 deletions