Fix soong config hash missing for some modules
Bug: 279362051 Test: see outputs of C++ modules using soong config Change-Id: I95e41350ff17a989faf7c010a4c4ed4fcd79d66b
This commit is contained in:
@@ -1472,14 +1472,11 @@ type ModuleOutPathContext interface {
|
||||
ModuleName() string
|
||||
ModuleDir() string
|
||||
ModuleSubDir() string
|
||||
SoongConfigTraceHash() string
|
||||
}
|
||||
|
||||
func pathForModuleOut(ctx ModuleOutPathContext) OutputPath {
|
||||
soongConfigHash := ""
|
||||
if i, ok := ctx.(interface{ ModuleSoongConfigHash() string }); ok {
|
||||
soongConfigHash = i.ModuleSoongConfigHash()
|
||||
}
|
||||
return PathForOutput(ctx, ".intermediates", ctx.ModuleDir(), ctx.ModuleName(), ctx.ModuleSubDir(), soongConfigHash)
|
||||
return PathForOutput(ctx, ".intermediates", ctx.ModuleDir(), ctx.ModuleName(), ctx.ModuleSubDir(), ctx.SoongConfigTraceHash())
|
||||
}
|
||||
|
||||
// PathForModuleOut returns a Path representing the paths... under the module's
|
||||
|
Reference in New Issue
Block a user