googleapis/google-cloud-cpp-spanner

Restrict google/cloud/spanner/BUILD default visibility

devjgm opened this issue · 1 comments

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:

  1. Initially, have the top-level and google/cloud/spanner/BUILD targets work for customers.
  2. 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
  3. Wait some period of time. 90 days?
  4. Change the default build visibility to "//:__subpackages__" in this BUILD file.