about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--CMake/README.md4
-rw-r--r--absl/flags/BUILD.bazel8
2 files changed, 6 insertions, 6 deletions
diff --git a/CMake/README.md b/CMake/README.md
index 469dfef5d1ca..04d5df3ab092 100644
--- a/CMake/README.md
+++ b/CMake/README.md
@@ -85,13 +85,15 @@ https://github.com/abseil/abseil-cpp/issues/109 for more information.
 Here's a non-exhaustive list of Abseil CMake public targets:
 
 ```cmake
-absl::base
 absl::algorithm
+absl::base
 absl::debugging
 absl::flat_hash_map
+absl::flags
 absl::memory
 absl::meta
 absl::numeric
+absl::random
 absl::strings
 absl::synchronization
 absl::time
diff --git a/absl/flags/BUILD.bazel b/absl/flags/BUILD.bazel
index 2cfd31cbe80a..fe59ec848e84 100644
--- a/absl/flags/BUILD.bazel
+++ b/absl/flags/BUILD.bazel
@@ -27,7 +27,7 @@ package(default_visibility = ["//visibility:public"])
 licenses(["notice"])  # Apache 2.0
 
 cc_library(
-    name = "internal",
+    name = "flag_internal",
     srcs = [
         "internal/flag.cc",
     ],
@@ -36,9 +36,7 @@ cc_library(
     ],
     copts = ABSL_DEFAULT_COPTS,
     linkopts = ABSL_DEFAULT_LINKOPTS,
-    visibility = [
-        "//absl/flags:__pkg__",
-    ],
+    visibility = ["//visibility:private"],
     deps = [
         ":handle",
         ":registry",
@@ -181,8 +179,8 @@ cc_library(
     linkopts = ABSL_DEFAULT_LINKOPTS,
     deps = [
         ":config",
+        ":flag_internal",
         ":handle",
-        ":internal",
         ":marshalling",
         "//absl/base",
         "//absl/base:core_headers",