diff --git a/build/soong/policy.go b/build/soong/policy.go index 4becbc177..390c4399c 100644 --- a/build/soong/policy.go +++ b/build/soong/policy.go @@ -200,7 +200,7 @@ func findPolicyConfOrder(name string) int { } func (c *policyConf) transformPolicyToConf(ctx android.ModuleContext) android.OutputPath { - conf := android.PathForModuleOut(ctx, "conf").OutputPath + conf := android.PathForModuleOut(ctx, c.stem()).OutputPath rule := android.NewRuleBuilder(pctx, ctx) srcs := android.PathsForModuleSrc(ctx, c.properties.Srcs)