Restrict google/cloud/spanner/BUILD default visibility
devjgm opened this issue · 1 comments
devjgm commented
In #1396 we're adding user-facing bazel build targets to the top-level https://github.com/googleapis/google-cloud-cpp-spanner/blob/master/BUILD file. In order to encourage/require users to only use the build targets in this top-level file we should do the following:
- Initially, have the top-level and google/cloud/spanner/BUILD targets work for customers.
- Message to users that this build-target change is coming, and that users should change their build targets from
//google/cloud/spanner:spanner_client
->//:spanner_client
- Wait some period of time. 90 days?
- Change the default build visibility to
"//:__subpackages__"
in this BUILD file.
devjgm commented
This is a dupe of googleapis/google-cloud-cpp#3701