Merge pull request #1194 from jwnimmer-tri:default-linkopts

PiperOrigin-RevId: 453455549
Change-Id: Ib7c3d843d537e30d4086428dad539d162357308e
pull/1197/head
Copybara-Service 3 years ago
commit ef799d3372
  1. 1
      absl/debugging/BUILD.bazel
  2. 1
      absl/random/BUILD.bazel
  3. 2
      absl/random/internal/BUILD.bazel
  4. 3
      absl/status/BUILD.bazel
  5. 18
      absl/strings/BUILD.bazel
  6. 1
      absl/types/BUILD.bazel

@ -196,6 +196,7 @@ cc_library(
srcs = ["internal/demangle.cc"], srcs = ["internal/demangle.cc"],
hdrs = ["internal/demangle.h"], hdrs = ["internal/demangle.h"],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
visibility = ["//visibility:private"], visibility = ["//visibility:private"],
deps = [ deps = [
"//absl/base", "//absl/base",

@ -128,6 +128,7 @@ cc_library(
name = "mock_distributions", name = "mock_distributions",
testonly = 1, testonly = 1,
hdrs = ["mock_distributions.h"], hdrs = ["mock_distributions.h"],
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [ deps = [
":distributions", ":distributions",
":mocking_bit_gen", ":mocking_bit_gen",

@ -502,6 +502,7 @@ cc_test(
cc_library( cc_library(
name = "mock_helpers", name = "mock_helpers",
hdrs = ["mock_helpers.h"], hdrs = ["mock_helpers.h"],
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [ deps = [
"//absl/base:fast_type_id", "//absl/base:fast_type_id",
"//absl/types:optional", "//absl/types:optional",
@ -512,6 +513,7 @@ cc_library(
name = "mock_overload_set", name = "mock_overload_set",
testonly = 1, testonly = 1,
hdrs = ["mock_overload_set.h"], hdrs = ["mock_overload_set.h"],
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [ deps = [
":mock_helpers", ":mock_helpers",
"//absl/random:mocking_bit_gen", "//absl/random:mocking_bit_gen",

@ -20,6 +20,7 @@
load( load(
"//absl:copts/configure_copts.bzl", "//absl:copts/configure_copts.bzl",
"ABSL_DEFAULT_COPTS", "ABSL_DEFAULT_COPTS",
"ABSL_DEFAULT_LINKOPTS",
"ABSL_TEST_COPTS", "ABSL_TEST_COPTS",
) )
@ -39,6 +40,7 @@ cc_library(
"status_payload_printer.h", "status_payload_printer.h",
], ],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [ deps = [
"//absl/base:atomic_hook", "//absl/base:atomic_hook",
"//absl/base:core_headers", "//absl/base:core_headers",
@ -76,6 +78,7 @@ cc_library(
"statusor.h", "statusor.h",
], ],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [ deps = [
":status", ":status",
"//absl/base", "//absl/base",

@ -16,6 +16,7 @@
load( load(
"//absl:copts/configure_copts.bzl", "//absl:copts/configure_copts.bzl",
"ABSL_DEFAULT_COPTS", "ABSL_DEFAULT_COPTS",
"ABSL_DEFAULT_LINKOPTS",
"ABSL_TEST_COPTS", "ABSL_TEST_COPTS",
) )
@ -65,6 +66,7 @@ cc_library(
"substitute.h", "substitute.h",
], ],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [ deps = [
":internal", ":internal",
"//absl/base", "//absl/base",
@ -95,6 +97,7 @@ cc_library(
"internal/utf8.h", "internal/utf8.h",
], ],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [ deps = [
"//absl/base:config", "//absl/base:config",
"//absl/base:core_headers", "//absl/base:core_headers",
@ -288,6 +291,7 @@ cc_library(
"internal/cord_rep_ring_reader.h", "internal/cord_rep_ring_reader.h",
], ],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
visibility = [ visibility = [
"//visibility:private", "//visibility:private",
], ],
@ -391,6 +395,7 @@ cc_library(
name = "cordz_update_tracker", name = "cordz_update_tracker",
hdrs = ["internal/cordz_update_tracker.h"], hdrs = ["internal/cordz_update_tracker.h"],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
visibility = [ visibility = [
"//absl:__subpackages__", "//absl:__subpackages__",
], ],
@ -422,6 +427,7 @@ cc_library(
"cord_buffer.h", "cord_buffer.h",
], ],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [ deps = [
":cord_internal", ":cord_internal",
":cordz_functions", ":cordz_functions",
@ -452,6 +458,7 @@ cc_library(
srcs = ["internal/cordz_handle.cc"], srcs = ["internal/cordz_handle.cc"],
hdrs = ["internal/cordz_handle.h"], hdrs = ["internal/cordz_handle.h"],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
visibility = [ visibility = [
"//absl:__subpackages__", "//absl:__subpackages__",
], ],
@ -468,6 +475,7 @@ cc_library(
srcs = ["internal/cordz_info.cc"], srcs = ["internal/cordz_info.cc"],
hdrs = ["internal/cordz_info.h"], hdrs = ["internal/cordz_info.h"],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
visibility = [ visibility = [
"//absl:__subpackages__", "//absl:__subpackages__",
], ],
@ -492,6 +500,7 @@ cc_library(
name = "cordz_update_scope", name = "cordz_update_scope",
hdrs = ["internal/cordz_update_scope.h"], hdrs = ["internal/cordz_update_scope.h"],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
visibility = [ visibility = [
"//absl:__subpackages__", "//absl:__subpackages__",
], ],
@ -524,6 +533,7 @@ cc_library(
srcs = ["internal/cordz_sample_token.cc"], srcs = ["internal/cordz_sample_token.cc"],
hdrs = ["internal/cordz_sample_token.h"], hdrs = ["internal/cordz_sample_token.h"],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
visibility = [ visibility = [
"//absl:__subpackages__", "//absl:__subpackages__",
], ],
@ -539,6 +549,7 @@ cc_library(
srcs = ["internal/cordz_functions.cc"], srcs = ["internal/cordz_functions.cc"],
hdrs = ["internal/cordz_functions.h"], hdrs = ["internal/cordz_functions.h"],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
visibility = [ visibility = [
"//absl:__subpackages__", "//absl:__subpackages__",
], ],
@ -554,6 +565,7 @@ cc_library(
name = "cordz_statistics", name = "cordz_statistics",
hdrs = ["internal/cordz_statistics.h"], hdrs = ["internal/cordz_statistics.h"],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
visibility = [ visibility = [
"//absl:__subpackages__", "//absl:__subpackages__",
], ],
@ -663,6 +675,7 @@ cc_library(
"cord_test_helpers.h", "cord_test_helpers.h",
], ],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [ deps = [
":cord", ":cord",
":cord_internal", ":cord_internal",
@ -676,6 +689,7 @@ cc_library(
testonly = 1, testonly = 1,
hdrs = ["internal/cord_rep_test_util.h"], hdrs = ["internal/cord_rep_test_util.h"],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [ deps = [
":cord_internal", ":cord_internal",
":strings", ":strings",
@ -689,6 +703,7 @@ cc_library(
testonly = 1, testonly = 1,
hdrs = ["cordz_test_helpers.h"], hdrs = ["cordz_test_helpers.h"],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [ deps = [
":cord", ":cord",
":cord_internal", ":cord_internal",
@ -1097,6 +1112,7 @@ cc_library(
"str_format.h", "str_format.h",
], ],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [ deps = [
":str_format_internal", ":str_format_internal",
], ],
@ -1122,6 +1138,7 @@ cc_library(
"internal/str_format/parser.h", "internal/str_format/parser.h",
], ],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
visibility = ["//visibility:private"], visibility = ["//visibility:private"],
deps = [ deps = [
":strings", ":strings",
@ -1246,6 +1263,7 @@ cc_library(
testonly = True, testonly = True,
srcs = ["internal/pow10_helper.cc"], srcs = ["internal/pow10_helper.cc"],
hdrs = ["internal/pow10_helper.h"], hdrs = ["internal/pow10_helper.h"],
linkopts = ABSL_DEFAULT_LINKOPTS,
visibility = ["//visibility:private"], visibility = ["//visibility:private"],
deps = ["//absl/base:config"], deps = ["//absl/base:config"],
) )

@ -314,6 +314,7 @@ cc_library(
name = "compare", name = "compare",
hdrs = ["compare.h"], hdrs = ["compare.h"],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [ deps = [
"//absl/base:core_headers", "//absl/base:core_headers",
"//absl/meta:type_traits", "//absl/meta:type_traits",

Loading…
Cancel
Save