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 f2976304)
Loading
Please register or sign in to comment