Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
build
/
bazel
/
refs/tags/rel/13/fp3/6.A.022.1
/
.
/
json_module_graph
/
usedVariations.jq
blob: 7544358e3d955465a9fff551006a53a8686827ce [
file
] [
log
] [
blame
]
# CMD: Prints the set of variations and their values used in the input
[[.[]
|
.
Variations
|
select
(.
!=
null
)
|
to_entries
]
|
flatten
|
group_by
(.
key
)
|
.[]
|
{
key
:
.[
0
].
key
,
value
:
map
(.
value
)
|
unique
}]
|
from_entries