+11
−1
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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