Merge "Rename gccCmd mingwCmd now that's all it's used for."
This commit is contained in:
@@ -534,7 +534,7 @@ func transformSourceToObj(ctx android.ModuleContext, subdir string, srcFiles and
|
|||||||
Implicits: cFlagsDeps,
|
Implicits: cFlagsDeps,
|
||||||
OrderOnly: pathDeps,
|
OrderOnly: pathDeps,
|
||||||
Args: map[string]string{
|
Args: map[string]string{
|
||||||
"windresCmd": gccCmd(flags.toolchain, "windres"),
|
"windresCmd": mingwCmd(flags.toolchain, "windres"),
|
||||||
"flags": flags.toolchain.WindresFlags(),
|
"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)
|
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")
|
headerFile := android.GenPathWithExt(ctx, "windmc", srcFile, "h")
|
||||||
rcFile := android.GenPathWithExt(ctx, "windmc", srcFile, "rc")
|
rcFile := android.GenPathWithExt(ctx, "windmc", srcFile, "rc")
|
||||||
|
|
||||||
windmcCmd := gccCmd(flags.toolchain, "windmc")
|
windmcCmd := mingwCmd(flags.toolchain, "windmc")
|
||||||
|
|
||||||
ctx.Build(pctx, android.BuildParams{
|
ctx.Build(pctx, android.BuildParams{
|
||||||
Rule: windmc,
|
Rule: windmc,
|
||||||
|
Reference in New Issue
Block a user