From ac78ffc3bc0a8b295cab9a03817760fd460df2a1 Mon Sep 17 00:00:00 2001 From: Abseil Team Date: Wed, 11 Sep 2019 11:57:50 -0700 Subject: [PATCH] Export of internal Abseil changes -- 932b2203beb5cf08a2b77190ff43fa029c968ad6 by Andy Soffer : Updating CMake documentation. PiperOrigin-RevId: 268509936 -- fd9c53b9edda77e7b01189c2e3babc993e404f3f by Abseil Team : Rename flags "internal" build target to "flag_internal". PiperOrigin-RevId: 268485876 GitOrigin-RevId: 932b2203beb5cf08a2b77190ff43fa029c968ad6 Change-Id: Ic9efdc920925fa3c97e8cd4281b86f710f996c14 --- CMake/README.md | 4 +++- absl/flags/BUILD.bazel | 8 +++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/CMake/README.md b/CMake/README.md index 469dfef5d..04d5df3ab 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 2cfd31cbe..fe59ec848 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",