summaryrefslogtreecommitdiff
path: root/absl/flags
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2019-09-11 11:57:50 -0700
committerGravatar Shaindel Schwartz <shaindel@google.com>2019-09-12 11:57:50 -0400
commitac78ffc3bc0a8b295cab9a03817760fd460df2a1 (patch)
treee3189ee6f22cfad8ab85d8ae2ca6b6f69d5fb166 /absl/flags
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
Diffstat (limited to 'absl/flags')
-rw-r--r--absl/flags/BUILD.bazel8
1 files changed, 3 insertions, 5 deletions
diff --git a/absl/flags/BUILD.bazel b/absl/flags/BUILD.bazel
index 2cfd31cb..fe59ec84 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",