Skip to main content
 

 - find targets affected by the files you're changing

Maybe there's a better way, but this works for me...

g4 whatsout   | perl -pe  's,^.*google3,/,; s,/([^/]+)$,:,'   | xargs blaze-bin/devtools/deps/depserver/query/depends_on -ds

You can then expand this to do other useful things:

  | xargs blaze build

to build affected targets

  | xargs unused_deps

to find unused deps