Merge "Rename gccCmd mingwCmd now that's all it's used for."
This commit is contained in:
commit
2a8b0530fa
2 changed files with 3 additions and 3 deletions
|
@ -534,7 +534,7 @@ func transformSourceToObj(ctx android.ModuleContext, subdir string, srcFiles and
|
|||
Implicits: cFlagsDeps,
|
||||
OrderOnly: pathDeps,
|
||||
Args: map[string]string{
|
||||
"windresCmd": gccCmd(flags.toolchain, "windres"),
|
||||
"windresCmd": mingwCmd(flags.toolchain, "windres"),
|
||||
"flags": flags.toolchain.WindresFlags(),
|
||||
},
|
||||
})
|
||||
|
@ -1069,6 +1069,6 @@ func transformArchiveRepack(ctx android.ModuleContext, inputFile android.Path,
|
|||
})
|
||||
}
|
||||
|
||||
func gccCmd(toolchain config.Toolchain, cmd string) string {
|
||||
func mingwCmd(toolchain config.Toolchain, cmd string) string {
|
||||
return filepath.Join(toolchain.GccRoot(), "bin", toolchain.GccTriple()+"-"+cmd)
|
||||
}
|
||||
|
|
|
@ -204,7 +204,7 @@ func genWinMsg(ctx android.ModuleContext, srcFile android.Path, flags builderFla
|
|||
headerFile := android.GenPathWithExt(ctx, "windmc", srcFile, "h")
|
||||
rcFile := android.GenPathWithExt(ctx, "windmc", srcFile, "rc")
|
||||
|
||||
windmcCmd := gccCmd(flags.toolchain, "windmc")
|
||||
windmcCmd := mingwCmd(flags.toolchain, "windmc")
|
||||
|
||||
ctx.Build(pctx, android.BuildParams{
|
||||
Rule: windmc,
|
||||
|
|
Loading…
Reference in a new issue