summaryrefslogtreecommitdiff
path: root/filesystem/filesystem_test.go
diff options
context:
space:
mode:
author Jiyong Park <jiyong@google.com> 2024-03-18 18:29:37 +0900
committer Jiyong Park <jiyong@google.com> 2024-03-20 16:17:21 +0900
commit8fb0e9734c84a4c819963f2e7c532a3198e5df94 (patch)
treeb2caf0e02b0f400564012a4a0b1b9f18c076276d /filesystem/filesystem_test.go
parentce1b16313e2a35821195712c935dca5acf698b4d (diff)
Ensure that genrule's host tool deps are for host
Previously, when gathering transitive dependencies of genrule's host tool, TransitivePackagingSpecs() was used if available. However, when using this, it didn't check whether the dependencies are for host or not (i.e. device). This was fine because host module can only depend on host modules. However, this is preventing Soong from implementing the installation of the required modules by itself. Then a host module may depend on a device module or vice versa (because that's the symantics of the property). To prevent the issue, check the partition of the transitive dependencies of the host tool and filter out ones whose partition is not "" (which means host). Bug: 321626681 Test: builds Change-Id: I296a920b3b88e7601315a4e1768af9727d0061e6
Diffstat (limited to 'filesystem/filesystem_test.go')
0 files changed, 0 insertions, 0 deletions