Fix post command of clang_verify.

Bug: 311284462
Test: go test -run TestClangVerify
Change-Id: I116c4a3e1e5734a71e1bfd503ea2268a1a5643dd
This commit is contained in:
kellyhung
2024-05-23 01:55:40 +00:00
parent d7b71490ae
commit de1b6b0f64

View File

@@ -638,7 +638,7 @@ func transformSourceToObj(ctx ModuleContext, subdir string, srcFiles, noTidySrcs
ccCmd = "${config.ClangBin}/" + ccCmd
if flags.clangVerify {
postCmd = " && touch $$out"
postCmd = " && touch " + objFile.String()
}
var implicitOutputs android.WritablePaths