Merge "Canonicalize saved paths, Kythe cannot handle symlinks" am: bd1f870df3

Change-Id: Ic274bf1c2369c96f3a3fb98c5c40d49d8a76adb4
This commit is contained in:
Alexander Smundak 2020-05-05 16:06:48 +00:00 committed by Automerger Merge Worker
commit 312653b417
1 changed files with 5 additions and 1 deletions

View File

@ -255,7 +255,11 @@ var (
kytheExtract = pctx.StaticRule("kythe",
blueprint.RuleParams{
Command: `rm -f $out && ` +
`KYTHE_CORPUS=${kytheCorpus} KYTHE_OUTPUT_FILE=$out KYTHE_VNAMES=$kytheVnames KYTHE_KZIP_ENCODING=${kytheCuEncoding} ` +
`KYTHE_CORPUS=${kytheCorpus} ` +
`KYTHE_OUTPUT_FILE=$out ` +
`KYTHE_VNAMES=$kytheVnames ` +
`KYTHE_KZIP_ENCODING=${kytheCuEncoding} ` +
`KYTHE_CANONICALIZE_VNAME_PATHS=prefer-relative ` +
`$cxxExtractor $cFlags $in `,
CommandDeps: []string{"$cxxExtractor", "$kytheVnames"},
},