Merge "build: soong: windres: use clang to preprocess"
diff --git a/cc/builder.go b/cc/builder.go
index b05ca5b..3ecfe54 100644
--- a/cc/builder.go
+++ b/cc/builder.go
@@ -178,7 +178,7 @@
 
 	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")