Merge "build: soong: windres: use clang to preprocess" am: 1562752fc6
am: 5f2c30c6dc
Change-Id: Iec938a37e38cb937e04ba941b7126d541eeb3d2e
This commit is contained in:
@@ -178,7 +178,7 @@ var (
|
|||||||
|
|
||||||
windres = pctx.AndroidStaticRule("windres",
|
windres = pctx.AndroidStaticRule("windres",
|
||||||
blueprint.RuleParams{
|
blueprint.RuleParams{
|
||||||
Command: "$windresCmd $flags -I$$(dirname $in) -i $in -o $out",
|
Command: "$windresCmd $flags -I$$(dirname $in) -i $in -o $out --preprocessor \"${config.ClangBin}/clang -E -xc-header -DRC_INVOKED\"",
|
||||||
CommandDeps: []string{"$windresCmd"},
|
CommandDeps: []string{"$windresCmd"},
|
||||||
},
|
},
|
||||||
"windresCmd", "flags")
|
"windresCmd", "flags")
|
||||||
|
Reference in New Issue
Block a user