From 732252922a371eb7cffa3e2c6e421c0482cec439 Mon Sep 17 00:00:00 2001 From: Christian Blichmann Date: Tue, 2 Jul 2019 03:20:02 -0700 Subject: [PATCH] Make sapi::Status and sapi::StatusOr<> public in Bazel build file. This makes it easier to work with the generated classes from client code. PiperOrigin-RevId: 256132914 Change-Id: If7fb24a2cac998d2cdb04e8b627272064bf9793d --- sandboxed_api/util/BUILD.bazel | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sandboxed_api/util/BUILD.bazel b/sandboxed_api/util/BUILD.bazel index 5403e16..09ab7bf 100644 --- a/sandboxed_api/util/BUILD.bazel +++ b/sandboxed_api/util/BUILD.bazel @@ -39,6 +39,7 @@ cc_library( "status_macros.h", ], copts = sapi_platform_copts(), + visibility = ["//visibility:public"], deps = [ ":status_proto_cc", "@com_google_absl//absl/base:core_headers", @@ -51,6 +52,7 @@ cc_library( name = "statusor", hdrs = ["statusor.h"], copts = sapi_platform_copts(), + visibility = ["//visibility:public"], deps = [ ":raw_logging", ":status", @@ -67,6 +69,7 @@ cc_library( testonly = 1, hdrs = ["status_matchers.h"], copts = sapi_platform_copts(), + visibility = ["//visibility:public"], deps = [ ":status", ":statusor",