about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2019-09-11T18·57-0700
committerShaindel Schwartz <shaindel@google.com>2019-09-12T15·57-0400
commitac78ffc3bc0a8b295cab9a03817760fd460df2a1 (patch)
treee3189ee6f22cfad8ab85d8ae2ca6b6f69d5fb166
parent5374c56e5196320681993869e3126b51edac2a43 (diff)
Export of internal Abseil changes
--
932b2203beb5cf08a2b77190ff43fa029c968ad6 by Andy Soffer <asoffer@google.com>:

Updating CMake documentation.

PiperOrigin-RevId: 268509936

--
fd9c53b9edda77e7b01189c2e3babc993e404f3f by Abseil Team <absl-team@google.com>:

Rename flags "internal" build target to "flag_internal".

PiperOrigin-RevId: 268485876
GitOrigin-RevId: 932b2203beb5cf08a2b77190ff43fa029c968ad6
Change-Id: Ic9efdc920925fa3c97e8cd4281b86f710f996c14
-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",