aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--common/paths.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/paths.go b/common/paths.go
index 8d9f6fd4..93cad13c 100644
--- a/common/paths.go
+++ b/common/paths.go
@@ -176,7 +176,7 @@ func PathsForSource(ctx PathContext, paths []string) Paths {
if pathConfig(ctx).AllowMissingDependencies() {
if modCtx, ok := ctx.(AndroidModuleContext); ok {
ret := make(Paths, 0, len(paths))
- intermediates := PathForModuleOut(modCtx, "missing").String()
+ intermediates := filepath.Join(modCtx.ModuleDir(), modCtx.ModuleName(), modCtx.ModuleSubDir(), "missing")
for _, path := range paths {
p := OptionalPathForSource(ctx, intermediates, path)
if p.Valid() {