diff --git a/ortools/math_opt/elemental/BUILD.bazel b/ortools/math_opt/elemental/BUILD.bazel index 988e347e8e..2b03c5d97e 100644 --- a/ortools/math_opt/elemental/BUILD.bazel +++ b/ortools/math_opt/elemental/BUILD.bazel @@ -399,9 +399,6 @@ cc_library( cc_library( name = "tagged_id", hdrs = ["tagged_id.h"], - # This dependency is not ideal, we should consider moving this to ortools/util, - # see some discussion on b/430226871. - visibility = ["//ortools/apollo:__subpackages__"], deps = [ "@abseil-cpp//absl/base:core_headers", "@abseil-cpp//absl/log:check", diff --git a/ortools/math_opt/python/ipc/BUILD.bazel b/ortools/math_opt/python/ipc/BUILD.bazel index de3cfdb97c..89205c8cbe 100644 --- a/ortools/math_opt/python/ipc/BUILD.bazel +++ b/ortools/math_opt/python/ipc/BUILD.bazel @@ -17,7 +17,7 @@ load("@rules_python//python:py_library.bzl", "py_library") py_library( name = "remote_http_solve", srcs = ["remote_http_solve.py"], - visibility = ["//visibility:public"], + visibility = ["//ortools/service:__subpackages__"], deps = [ ":proto_converter", "//ortools/service/v1:optimization_py_pb2",