diff options
| author | Jiyong Park <jiyong@google.com> | 2019-04-17 21:47:37 +0900 |
|---|---|---|
| committer | Jiyong Park <jiyong@google.com> | 2019-04-20 11:51:22 +0900 |
| commit | 1570c803b6ed4cc04ae9b3a3221a4211f0681fb6 (patch) | |
| tree | 31177e6125b4e9c1b62b83868a1ef7b8c1b419e9 /java/java_test.go | |
| parent | ac9e61536f276a4629bbd237a4b7ff4b952c6f4d (diff) | |
Fix: PathsForModuleSrc does not work for a replaced dependency
PathsForModuleSrc does not work if a source module is replaced with a
prebuilt module. This is because the function uses GetDirectDepWithTag
with the name of the original source module. Since the dependency is
replaced and the prebuilt module has the name "prebuilt_<name>", the
search always fails.
Fixing this by re-implementing GetDirectDep* functions inside Soong
using VisitDirectDep.
Bug: 130627486
Test: m
Merged-In: I68d52668283c429d5e93c7f2c81f6a8db1f24893
Change-Id: I68d52668283c429d5e93c7f2c81f6a8db1f24893
(cherry picked from commit f2976304f70fe61b705300f309687317c90a84fb)
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions
