summaryrefslogtreecommitdiff
path: root/android/prebuilt_test.go
diff options
context:
space:
mode:
author Jiyong Park <jiyong@google.com> 2019-04-17 21:47:37 +0900
committer Jiyong Park <jiyong@google.com> 2019-04-19 13:48:33 +0900
commitf2976304f70fe61b705300f309687317c90a84fb (patch)
tree340cecf0f11db41ee21de2eac2e05f262b9303a4 /android/prebuilt_test.go
parent3c4a9159c977af265bb082143c2de9a34eae6420 (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 Change-Id: I68d52668283c429d5e93c7f2c81f6a8db1f24893
Diffstat (limited to 'android/prebuilt_test.go')
0 files changed, 0 insertions, 0 deletions