List of labels; nonconfigurable; default varies

The visibility attribute controls whether the target can be depended on by targets in other locations. See the documentation for visibility.

For targets declared directly in a BUILD file or in legacy macros called from a BUILD file, the default value is the package's default_visibility if specified, or else ["//visibility:private"]. For targets declared in one or more symbolic macros, the default value is always just ["//visibility:private"] (which makes it useable only within the package containing the macro's code).