Merge "build: soong: windres: use clang to preprocess"
This commit is contained in:
@@ -178,7 +178,7 @@ var (
|
||||
|
||||
windres = pctx.AndroidStaticRule("windres",
|
||||
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"},
|
||||
},
|
||||
"windresCmd", "flags")
|
||||
|
Reference in New Issue
Block a user