Skip to content

Investigate if we can avoid repetitive build target visibility declarations #502

@oschaaf

Description

@oschaaf

In our BUILD files, in envoy_cc_library, we have lots of repetition with respect to declaring visibility of targets.
It would be nice if we could set this at the package level instead of declaring it in targets separately.

This came up in https://github.com/envoyproxy/nighthawk/pull/477/files/70502e1f2cea37b86edd180c54a66fea75843c17#r480474406

[1]

...
visibility = ["//visibility:public"],
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions