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
This commit is contained in:
Abseil Team 2019-09-11 11:57:50 -07:00 committed by Shaindel Schwartz
parent 5374c56e51
commit ac78ffc3bc
2 changed files with 6 additions and 6 deletions

View file

@ -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: Here's a non-exhaustive list of Abseil CMake public targets:
```cmake ```cmake
absl::base
absl::algorithm absl::algorithm
absl::base
absl::debugging absl::debugging
absl::flat_hash_map absl::flat_hash_map
absl::flags
absl::memory absl::memory
absl::meta absl::meta
absl::numeric absl::numeric
absl::random
absl::strings absl::strings
absl::synchronization absl::synchronization
absl::time absl::time

View file

@ -27,7 +27,7 @@ package(default_visibility = ["//visibility:public"])
licenses(["notice"]) # Apache 2.0 licenses(["notice"]) # Apache 2.0
cc_library( cc_library(
name = "internal", name = "flag_internal",
srcs = [ srcs = [
"internal/flag.cc", "internal/flag.cc",
], ],
@ -36,9 +36,7 @@ cc_library(
], ],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
visibility = [ visibility = ["//visibility:private"],
"//absl/flags:__pkg__",
],
deps = [ deps = [
":handle", ":handle",
":registry", ":registry",
@ -181,8 +179,8 @@ cc_library(
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [ deps = [
":config", ":config",
":flag_internal",
":handle", ":handle",
":internal",
":marshalling", ":marshalling",
"//absl/base", "//absl/base",
"//absl/base:core_headers", "//absl/base:core_headers",