blob: 79f9b1aef5fc9b4df79c23db5b3d59289fb4af1a [file] [log] [blame]
# CMD: Returns the modules of type $arg that have property $arg2
def hasPropertyWithName($a):
map(select(.Name == $a)) |
length |
. > 0
;
[.[] |
select(.Type == $arg) |
select(.Module.Android.SetProperties |
hasPropertyWithName($arg2)) |
.Name] | unique | sort | .[]