diff options
Diffstat (limited to 'android/paths.go')
| -rw-r--r-- | android/paths.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/android/paths.go b/android/paths.go index eaa6a8d0b..0f3d97232 100644 --- a/android/paths.go +++ b/android/paths.go @@ -1475,7 +1475,11 @@ type ModuleOutPathContext interface { } func pathForModuleOut(ctx ModuleOutPathContext) OutputPath { - return PathForOutput(ctx, ".intermediates", ctx.ModuleDir(), ctx.ModuleName(), ctx.ModuleSubDir()) + soongConfigHash := "" + if i, ok := ctx.(interface{ ModuleSoongConfigHash() string }); ok { + soongConfigHash = i.ModuleSoongConfigHash() + } + return PathForOutput(ctx, ".intermediates", ctx.ModuleDir(), ctx.ModuleName(), ctx.ModuleSubDir(), soongConfigHash) } // PathForModuleOut returns a Path representing the paths... under the module's |