|
flags = ctx.attr.archiver_flags, |
It is perfectly valid to have an empty archiver_flags, in fact that is what it defaults to ([]). However, if ctx.attr.archiver_flags == [], you will receive the error:
fail("flag_group must contain either a list of flags or a list of flag_groups.")