xref: /aosp_15_r20/build/bazel/json_module_graph/transitiveDeps.jq (revision 7594170e27e0732bc44b93d1440d87a54b6ffe7c)
1# CMD: Returns the names of the transitive dependencies of the module(s) $arg, splits on ","
2
3include "library";
4
5(moduleGraphNoVariants | removeSelfEdges) as $m |
6  ($arg | split(",")) |
7  transitiveDeps($m)
8