Merge "Canonicalize saved paths, Kythe cannot handle symlinks"
This commit is contained in:
@@ -255,7 +255,11 @@ var (
|
|||||||
kytheExtract = pctx.StaticRule("kythe",
|
kytheExtract = pctx.StaticRule("kythe",
|
||||||
blueprint.RuleParams{
|
blueprint.RuleParams{
|
||||||
Command: `rm -f $out && ` +
|
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 `,
|
`$cxxExtractor $cFlags $in `,
|
||||||
CommandDeps: []string{"$cxxExtractor", "$kytheVnames"},
|
CommandDeps: []string{"$cxxExtractor", "$kytheVnames"},
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user