Lines Matching refs:visibility
22 visibility: [],
25 expectedErrors: []string{`visibility: must contain at least one visibility rule`},
33 visibility: [""],
36 expectedErrors: []string{`visibility: invalid visibility pattern ""`},
44 visibility: ["target"],
47 expectedErrors: []string{`visibility: invalid visibility pattern "target"`},
55 visibility: ["//"],
58 expectedErrors: []string{`visibility: invalid visibility pattern "//"`},
66 visibility: [":"],
69 expectedErrors: []string{`visibility: invalid visibility pattern ":"`},
77 visibility: ["//:"],
80 expectedErrors: []string{`visibility: invalid visibility pattern "//:"`},
88 visibility: ["//visibility:unknown"],
91 expectedErrors: []string{`unrecognized visibility rule "//visibility:unknown"`},
99 visibility: ["//visibility:public", "//namespace"],
104 visibility: ["//visibility:private", "//namespace"],
108 `module "libother": visibility: cannot mix "//visibility:private"` +
109 ` with any other visibility rules`,
110 `module "libexample": visibility: cannot mix "//visibility:public"` +
111 ` with any other visibility rules`,
120 visibility: ["//visibility:legacy_public"],
124 `module "libexample": visibility: //visibility:legacy_public must` +
136 visibility: ["//visibility:public"],
163 visibility: ["//visibility:private"],
195 visibility: [":__pkg__"],
228 visibility: ["//top/nested"],
266 visibility: [":__subpackages__"],
297 visibility: ["//top/nested:__subpackages__", "//other"],
328 visibility: ["//top/nested", "//peak:__subpackages__"],
354 visibility: ["//vendor:__subpackages__"],
359 visibility: ["//vendor/apps/AcmeSettings"],
365 visibility: ["//vendor/nested"],
374 `module "libsamepackage": visibility: "//vendor/apps/AcmeSettings"` +
388 visibility: ["//other"],
392 visibility: ["//top/nested"],
426 visibility: ["//other"],
430 visibility: ["//top/nested"],
467 visibility: ["//visibility:public", "//namespace"],
475 `module "libexample_defaults": visibility: cannot mix "//visibility:public"` +
476 ` with any other visibility rules`,
485 visibility: ["//namespace"],
489 visibility: ["//visibility:public"],
508 visibility: ["//namespace"],
512 visibility: ["//visibility:public"],
531 visibility: ["//visibility:public"],
535 visibility: ["//namespace"],
554 visibility: ["//visibility:private"],
588 visibility: ["//visibility:private", "//namespace"],
596 `module "libexample_defaults": visibility: cannot mix "//visibility:private"` +
597 ` with any other visibility rules`,
606 visibility: ["//namespace"],
610 visibility: ["//visibility:private"],
615 `module "libexample": visibility: cannot mix "//visibility:private"` +
616 ` with any other visibility rules`,
625 visibility: ["//visibility:private"],
629 visibility: ["//namespace"],
634 `module "libexample": visibility: cannot mix "//visibility:private"` +
635 ` with any other visibility rules`,
644 visibility: ["//visibility:public"],
648 visibility: ["//visibility:private"],
653 …`module "libexample": visibility: cannot mix "//visibility:private" with any other visibility rule…
662 visibility: ["//visibility:private"],
666 visibility: ["//visibility:public"],
671 …`module "libexample": visibility: cannot mix "//visibility:private" with any other visibility rule…
680 visibility: ["//other", "//visibility:override", "//namespace"],
684 …`module "libexample": visibility: "//visibility:override" may only be used at the start of the vis…
693 visibility: ["//visibility:private"],
698 visibility: ["//visibility:override", "//other"],
714 visibility: ["//visibility:public"],
719 visibility: ["//visibility:override", "//other"],
743 visibility: ["//namespace"],
748 visibility: ["//visibility:override", "//other"],
772 visibility: ["//visibility:public"],
776 visibility: ["//visibility:override", "//visibility:private"],
795 visibility: ["//visibility:private"],
799 visibility: ["//visibility:override", "//visibility:public"],
815 visibility: ["//visibility:private"],
819 visibility: ["//visibility:private"],
823 visibility: ["//visibility:private"],
849 `defaults_visibility: unrecognized visibility rule "//visibility:invalid"`,
880 …expectedErrors: []string{`default_visibility: unrecognized visibility rule "//visibility:invalid"`…
915 visibility: ["//visibility:private"],
938 visibility: ["//visibility:public"],
984 visibility: [":__subpackages__"],
1038 visibility: ["//top/other"],
1044 visibility: ["//top/other"],
1060 visibility: ["//top/other"],
1067 visibility: ["//top/other"],
1083 visibility: ["//top/nested"],
1086 visibility: ["top/other"],
1091 `module "parent": child.visibility: invalid visibility pattern "top/other"`,
1100 visibility: ["//top/nested"],
1113 …`module "libchild" \(created by module "parent"\): visibility: invalid visibility pattern "top/oth…
1122 visibility: ["//top/nested"],
1125 visibility: ["//top/other"],
1264 visibility := m.properties.Child.Visibility
1265 visibility = append(visibility, m.properties.Child.Invalid_visibility...)
1269 }{m.properties.Child.Name, visibility})