Commit 780bfc19 by Shahriar Rouf Committed by Copybara-Service

Replace `testonly = 1` with `testonly = True` in abseil BUILD files.

https://bazel.build/build/style-guide#other-conventions

PiperOrigin-RevId: 603084345
Change-Id: Ibd7c9573d820f88059d12c46ff82d7d322d002ae
parent 2812af91
...@@ -294,7 +294,7 @@ cc_library( ...@@ -294,7 +294,7 @@ cc_library(
cc_library( cc_library(
name = "atomic_hook_test_helper", name = "atomic_hook_test_helper",
testonly = 1, testonly = True,
srcs = ["internal/atomic_hook_test_helper.cc"], srcs = ["internal/atomic_hook_test_helper.cc"],
hdrs = ["internal/atomic_hook_test_helper.h"], hdrs = ["internal/atomic_hook_test_helper.h"],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
...@@ -380,7 +380,7 @@ cc_test( ...@@ -380,7 +380,7 @@ cc_test(
cc_library( cc_library(
name = "exception_testing", name = "exception_testing",
testonly = 1, testonly = True,
hdrs = ["internal/exception_testing.h"], hdrs = ["internal/exception_testing.h"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
...@@ -404,7 +404,7 @@ cc_library( ...@@ -404,7 +404,7 @@ cc_library(
cc_library( cc_library(
name = "exception_safety_testing", name = "exception_safety_testing",
testonly = 1, testonly = True,
srcs = ["internal/exception_safety_testing.cc"], srcs = ["internal/exception_safety_testing.cc"],
hdrs = ["internal/exception_safety_testing.h"], hdrs = ["internal/exception_safety_testing.h"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
...@@ -470,7 +470,7 @@ cc_test( ...@@ -470,7 +470,7 @@ cc_test(
# AbslInternalSpinLockDelay and AbslInternalSpinLockWake. # AbslInternalSpinLockDelay and AbslInternalSpinLockWake.
cc_library( cc_library(
name = "spinlock_test_common", name = "spinlock_test_common",
testonly = 1, testonly = True,
srcs = ["spinlock_test_common.cc"], srcs = ["spinlock_test_common.cc"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
...@@ -507,7 +507,7 @@ cc_test( ...@@ -507,7 +507,7 @@ cc_test(
cc_library( cc_library(
name = "spinlock_benchmark_common", name = "spinlock_benchmark_common",
testonly = 1, testonly = True,
srcs = ["internal/spinlock_benchmark.cc"], srcs = ["internal/spinlock_benchmark.cc"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
...@@ -527,7 +527,7 @@ cc_library( ...@@ -527,7 +527,7 @@ cc_library(
cc_binary( cc_binary(
name = "spinlock_benchmark", name = "spinlock_benchmark",
testonly = 1, testonly = True,
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
tags = ["benchmark"], tags = ["benchmark"],
...@@ -608,7 +608,7 @@ cc_test( ...@@ -608,7 +608,7 @@ cc_test(
cc_binary( cc_binary(
name = "no_destructor_benchmark", name = "no_destructor_benchmark",
testonly = 1, testonly = True,
srcs = ["no_destructor_benchmark.cc"], srcs = ["no_destructor_benchmark.cc"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
...@@ -710,7 +710,7 @@ cc_test( ...@@ -710,7 +710,7 @@ cc_test(
cc_library( cc_library(
name = "scoped_set_env", name = "scoped_set_env",
testonly = 1, testonly = True,
srcs = ["internal/scoped_set_env.cc"], srcs = ["internal/scoped_set_env.cc"],
hdrs = ["internal/scoped_set_env.h"], hdrs = ["internal/scoped_set_env.h"],
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
...@@ -784,7 +784,7 @@ cc_test( ...@@ -784,7 +784,7 @@ cc_test(
cc_binary( cc_binary(
name = "strerror_benchmark", name = "strerror_benchmark",
testonly = 1, testonly = True,
srcs = ["internal/strerror_benchmark.cc"], srcs = ["internal/strerror_benchmark.cc"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
......
...@@ -108,7 +108,7 @@ cc_test( ...@@ -108,7 +108,7 @@ cc_test(
cc_binary( cc_binary(
name = "fixed_array_benchmark", name = "fixed_array_benchmark",
testonly = 1, testonly = True,
srcs = ["fixed_array_benchmark.cc"], srcs = ["fixed_array_benchmark.cc"],
copts = ABSL_TEST_COPTS + ["$(STACK_FRAME_UNLIMITED)"], copts = ABSL_TEST_COPTS + ["$(STACK_FRAME_UNLIMITED)"],
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
...@@ -151,7 +151,7 @@ cc_library( ...@@ -151,7 +151,7 @@ cc_library(
cc_library( cc_library(
name = "test_allocator", name = "test_allocator",
testonly = 1, testonly = True,
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
textual_hdrs = ["internal/test_allocator.h"], textual_hdrs = ["internal/test_allocator.h"],
...@@ -181,7 +181,7 @@ cc_test( ...@@ -181,7 +181,7 @@ cc_test(
cc_binary( cc_binary(
name = "inlined_vector_benchmark", name = "inlined_vector_benchmark",
testonly = 1, testonly = True,
srcs = ["inlined_vector_benchmark.cc"], srcs = ["inlined_vector_benchmark.cc"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
...@@ -210,7 +210,7 @@ cc_test( ...@@ -210,7 +210,7 @@ cc_test(
cc_library( cc_library(
name = "test_instance_tracker", name = "test_instance_tracker",
testonly = 1, testonly = True,
srcs = ["internal/test_instance_tracker.cc"], srcs = ["internal/test_instance_tracker.cc"],
hdrs = ["internal/test_instance_tracker.h"], hdrs = ["internal/test_instance_tracker.h"],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
...@@ -449,7 +449,7 @@ cc_test( ...@@ -449,7 +449,7 @@ cc_test(
cc_library( cc_library(
name = "hash_generator_testing", name = "hash_generator_testing",
testonly = 1, testonly = True,
srcs = ["internal/hash_generator_testing.cc"], srcs = ["internal/hash_generator_testing.cc"],
hdrs = ["internal/hash_generator_testing.h"], hdrs = ["internal/hash_generator_testing.h"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
...@@ -465,7 +465,7 @@ cc_library( ...@@ -465,7 +465,7 @@ cc_library(
cc_library( cc_library(
name = "hash_policy_testing", name = "hash_policy_testing",
testonly = 1, testonly = True,
hdrs = ["internal/hash_policy_testing.h"], hdrs = ["internal/hash_policy_testing.h"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
...@@ -707,7 +707,7 @@ cc_test( ...@@ -707,7 +707,7 @@ cc_test(
cc_binary( cc_binary(
name = "raw_hash_set_benchmark", name = "raw_hash_set_benchmark",
testonly = 1, testonly = True,
srcs = ["internal/raw_hash_set_benchmark.cc"], srcs = ["internal/raw_hash_set_benchmark.cc"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
...@@ -724,7 +724,7 @@ cc_binary( ...@@ -724,7 +724,7 @@ cc_binary(
cc_binary( cc_binary(
name = "raw_hash_set_probe_benchmark", name = "raw_hash_set_probe_benchmark",
testonly = 1, testonly = True,
srcs = ["internal/raw_hash_set_probe_benchmark.cc"], srcs = ["internal/raw_hash_set_probe_benchmark.cc"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = select({ linkopts = select({
...@@ -798,7 +798,7 @@ cc_test( ...@@ -798,7 +798,7 @@ cc_test(
cc_binary( cc_binary(
name = "layout_benchmark", name = "layout_benchmark",
testonly = 1, testonly = True,
srcs = ["internal/layout_benchmark.cc"], srcs = ["internal/layout_benchmark.cc"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
...@@ -814,7 +814,7 @@ cc_binary( ...@@ -814,7 +814,7 @@ cc_binary(
cc_library( cc_library(
name = "tracked", name = "tracked",
testonly = 1, testonly = True,
hdrs = ["internal/tracked.h"], hdrs = ["internal/tracked.h"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
...@@ -825,7 +825,7 @@ cc_library( ...@@ -825,7 +825,7 @@ cc_library(
cc_library( cc_library(
name = "unordered_map_constructor_test", name = "unordered_map_constructor_test",
testonly = 1, testonly = True,
hdrs = ["internal/unordered_map_constructor_test.h"], hdrs = ["internal/unordered_map_constructor_test.h"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
...@@ -838,7 +838,7 @@ cc_library( ...@@ -838,7 +838,7 @@ cc_library(
cc_library( cc_library(
name = "unordered_map_lookup_test", name = "unordered_map_lookup_test",
testonly = 1, testonly = True,
hdrs = ["internal/unordered_map_lookup_test.h"], hdrs = ["internal/unordered_map_lookup_test.h"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
...@@ -851,7 +851,7 @@ cc_library( ...@@ -851,7 +851,7 @@ cc_library(
cc_library( cc_library(
name = "unordered_map_modifiers_test", name = "unordered_map_modifiers_test",
testonly = 1, testonly = True,
hdrs = ["internal/unordered_map_modifiers_test.h"], hdrs = ["internal/unordered_map_modifiers_test.h"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
...@@ -864,7 +864,7 @@ cc_library( ...@@ -864,7 +864,7 @@ cc_library(
cc_library( cc_library(
name = "unordered_set_constructor_test", name = "unordered_set_constructor_test",
testonly = 1, testonly = True,
hdrs = ["internal/unordered_set_constructor_test.h"], hdrs = ["internal/unordered_set_constructor_test.h"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
...@@ -878,7 +878,7 @@ cc_library( ...@@ -878,7 +878,7 @@ cc_library(
cc_library( cc_library(
name = "unordered_set_members_test", name = "unordered_set_members_test",
testonly = 1, testonly = True,
hdrs = ["internal/unordered_set_members_test.h"], hdrs = ["internal/unordered_set_members_test.h"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
...@@ -890,7 +890,7 @@ cc_library( ...@@ -890,7 +890,7 @@ cc_library(
cc_library( cc_library(
name = "unordered_map_members_test", name = "unordered_map_members_test",
testonly = 1, testonly = True,
hdrs = ["internal/unordered_map_members_test.h"], hdrs = ["internal/unordered_map_members_test.h"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
...@@ -902,7 +902,7 @@ cc_library( ...@@ -902,7 +902,7 @@ cc_library(
cc_library( cc_library(
name = "unordered_set_lookup_test", name = "unordered_set_lookup_test",
testonly = 1, testonly = True,
hdrs = ["internal/unordered_set_lookup_test.h"], hdrs = ["internal/unordered_set_lookup_test.h"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
...@@ -915,7 +915,7 @@ cc_library( ...@@ -915,7 +915,7 @@ cc_library(
cc_library( cc_library(
name = "unordered_set_modifiers_test", name = "unordered_set_modifiers_test",
testonly = 1, testonly = True,
hdrs = ["internal/unordered_set_modifiers_test.h"], hdrs = ["internal/unordered_set_modifiers_test.h"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
...@@ -1008,7 +1008,7 @@ cc_library( ...@@ -1008,7 +1008,7 @@ cc_library(
cc_library( cc_library(
name = "btree_test_common", name = "btree_test_common",
testonly = 1, testonly = True,
hdrs = ["btree_test.h"], hdrs = ["btree_test.h"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
...@@ -1059,7 +1059,7 @@ cc_test( ...@@ -1059,7 +1059,7 @@ cc_test(
cc_binary( cc_binary(
name = "btree_benchmark", name = "btree_benchmark",
testonly = 1, testonly = True,
srcs = [ srcs = [
"btree_benchmark.cc", "btree_benchmark.cc",
], ],
......
...@@ -203,7 +203,7 @@ cc_test( ...@@ -203,7 +203,7 @@ cc_test(
cc_binary( cc_binary(
name = "crc32c_benchmark", name = "crc32c_benchmark",
testonly = 1, testonly = True,
srcs = ["crc32c_benchmark.cc"], srcs = ["crc32c_benchmark.cc"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
......
...@@ -404,7 +404,7 @@ cc_test( ...@@ -404,7 +404,7 @@ cc_test(
cc_binary( cc_binary(
name = "flag_benchmark", name = "flag_benchmark",
testonly = 1, testonly = True,
srcs = [ srcs = [
"flag_benchmark.cc", "flag_benchmark.cc",
], ],
......
...@@ -61,7 +61,7 @@ cc_library( ...@@ -61,7 +61,7 @@ cc_library(
cc_library( cc_library(
name = "hash_testing", name = "hash_testing",
testonly = 1, testonly = True,
hdrs = ["hash_testing.h"], hdrs = ["hash_testing.h"],
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [ deps = [
...@@ -128,7 +128,7 @@ cc_test( ...@@ -128,7 +128,7 @@ cc_test(
cc_binary( cc_binary(
name = "hash_benchmark", name = "hash_benchmark",
testonly = 1, testonly = True,
srcs = ["hash_benchmark.cc"], srcs = ["hash_benchmark.cc"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
...@@ -148,7 +148,7 @@ cc_binary( ...@@ -148,7 +148,7 @@ cc_binary(
cc_library( cc_library(
name = "spy_hash_state", name = "spy_hash_state",
testonly = 1, testonly = True,
hdrs = ["internal/spy_hash_state.h"], hdrs = ["internal/spy_hash_state.h"],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
......
...@@ -400,7 +400,7 @@ cc_library( ...@@ -400,7 +400,7 @@ cc_library(
cc_binary( cc_binary(
name = "vlog_config_benchmark", name = "vlog_config_benchmark",
testonly = 1, testonly = True,
srcs = ["vlog_config_benchmark.cc"], srcs = ["vlog_config_benchmark.cc"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
......
...@@ -46,7 +46,7 @@ cc_library( ...@@ -46,7 +46,7 @@ cc_library(
cc_binary( cc_binary(
name = "bits_benchmark", name = "bits_benchmark",
testonly = 1, testonly = True,
srcs = ["bits_benchmark.cc"], srcs = ["bits_benchmark.cc"],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
......
...@@ -126,7 +126,7 @@ cc_test( ...@@ -126,7 +126,7 @@ cc_test(
cc_binary( cc_binary(
name = "periodic_sampler_benchmark", name = "periodic_sampler_benchmark",
testonly = 1, testonly = True,
srcs = ["internal/periodic_sampler_benchmark.cc"], srcs = ["internal/periodic_sampler_benchmark.cc"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
......
...@@ -132,7 +132,7 @@ cc_library( ...@@ -132,7 +132,7 @@ cc_library(
cc_library( cc_library(
name = "mock_distributions", name = "mock_distributions",
testonly = 1, testonly = True,
hdrs = ["mock_distributions.h"], hdrs = ["mock_distributions.h"],
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [ deps = [
...@@ -146,7 +146,7 @@ cc_library( ...@@ -146,7 +146,7 @@ cc_library(
cc_library( cc_library(
name = "mocking_bit_gen", name = "mocking_bit_gen",
testonly = 1, testonly = True,
hdrs = [ hdrs = [
"mocking_bit_gen.h", "mocking_bit_gen.h",
], ],
...@@ -521,7 +521,7 @@ cc_test( ...@@ -521,7 +521,7 @@ cc_test(
# Benchmarks for various methods / test utilities # Benchmarks for various methods / test utilities
cc_binary( cc_binary(
name = "benchmarks", name = "benchmarks",
testonly = 1, testonly = True,
srcs = [ srcs = [
"benchmarks.cc", "benchmarks.cc",
], ],
......
...@@ -137,7 +137,7 @@ cc_library( ...@@ -137,7 +137,7 @@ cc_library(
cc_library( cc_library(
name = "explicit_seed_seq", name = "explicit_seed_seq",
testonly = 1, testonly = True,
hdrs = [ hdrs = [
"explicit_seed_seq.h", "explicit_seed_seq.h",
], ],
...@@ -151,7 +151,7 @@ cc_library( ...@@ -151,7 +151,7 @@ cc_library(
cc_library( cc_library(
name = "sequence_urbg", name = "sequence_urbg",
testonly = 1, testonly = True,
hdrs = [ hdrs = [
"sequence_urbg.h", "sequence_urbg.h",
], ],
...@@ -375,7 +375,7 @@ cc_binary( ...@@ -375,7 +375,7 @@ cc_binary(
cc_library( cc_library(
name = "distribution_test_util", name = "distribution_test_util",
testonly = 1, testonly = True,
srcs = [ srcs = [
"chi_square.cc", "chi_square.cc",
"distribution_test_util.cc", "distribution_test_util.cc",
...@@ -534,7 +534,7 @@ cc_library( ...@@ -534,7 +534,7 @@ cc_library(
cc_library( cc_library(
name = "mock_overload_set", name = "mock_overload_set",
testonly = 1, testonly = True,
hdrs = ["mock_overload_set.h"], hdrs = ["mock_overload_set.h"],
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [ deps = [
......
...@@ -829,7 +829,7 @@ cc_test( ...@@ -829,7 +829,7 @@ cc_test(
cc_library( cc_library(
name = "cord_test_helpers", name = "cord_test_helpers",
testonly = 1, testonly = True,
hdrs = [ hdrs = [
"cord_test_helpers.h", "cord_test_helpers.h",
], ],
...@@ -845,7 +845,7 @@ cc_library( ...@@ -845,7 +845,7 @@ cc_library(
cc_library( cc_library(
name = "cord_rep_test_util", name = "cord_rep_test_util",
testonly = 1, testonly = True,
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, linkopts = ABSL_DEFAULT_LINKOPTS,
...@@ -859,7 +859,7 @@ cc_library( ...@@ -859,7 +859,7 @@ cc_library(
cc_library( cc_library(
name = "cordz_test_helpers", name = "cordz_test_helpers",
testonly = 1, testonly = True,
hdrs = ["cordz_test_helpers.h"], hdrs = ["cordz_test_helpers.h"],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
...@@ -1449,7 +1449,7 @@ cc_test( ...@@ -1449,7 +1449,7 @@ cc_test(
cc_binary( cc_binary(
name = "atod_manual_test", name = "atod_manual_test",
testonly = 1, testonly = True,
srcs = ["atod_manual_test.cc"], srcs = ["atod_manual_test.cc"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
......
...@@ -183,7 +183,7 @@ cc_test( ...@@ -183,7 +183,7 @@ cc_test(
cc_binary( cc_binary(
name = "blocking_counter_benchmark", name = "blocking_counter_benchmark",
testonly = 1, testonly = True,
srcs = ["blocking_counter_benchmark.cc"], srcs = ["blocking_counter_benchmark.cc"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
...@@ -230,7 +230,7 @@ cc_test( ...@@ -230,7 +230,7 @@ cc_test(
cc_library( cc_library(
name = "thread_pool", name = "thread_pool",
testonly = 1, testonly = True,
hdrs = ["internal/thread_pool.h"], hdrs = ["internal/thread_pool.h"],
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
visibility = [ visibility = [
...@@ -281,7 +281,7 @@ cc_test( ...@@ -281,7 +281,7 @@ cc_test(
cc_library( cc_library(
name = "mutex_benchmark_common", name = "mutex_benchmark_common",
testonly = 1, testonly = True,
srcs = ["mutex_benchmark.cc"], srcs = ["mutex_benchmark.cc"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
...@@ -300,7 +300,7 @@ cc_library( ...@@ -300,7 +300,7 @@ cc_library(
cc_binary( cc_binary(
name = "mutex_benchmark", name = "mutex_benchmark",
testonly = 1, testonly = True,
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
deps = [ deps = [
...@@ -326,7 +326,7 @@ cc_test( ...@@ -326,7 +326,7 @@ cc_test(
cc_library( cc_library(
name = "per_thread_sem_test_common", name = "per_thread_sem_test_common",
testonly = 1, testonly = True,
srcs = ["internal/per_thread_sem_test.cc"], srcs = ["internal/per_thread_sem_test.cc"],
copts = ABSL_TEST_COPTS, copts = ABSL_TEST_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS, linkopts = ABSL_DEFAULT_LINKOPTS,
......
...@@ -65,7 +65,7 @@ cc_library( ...@@ -65,7 +65,7 @@ cc_library(
cc_library( cc_library(
name = "test_util", name = "test_util",
testonly = 1, testonly = True,
srcs = ["internal/test_util.cc"], srcs = ["internal/test_util.cc"],
hdrs = ["internal/test_util.h"], hdrs = ["internal/test_util.h"],
copts = ABSL_DEFAULT_COPTS, copts = ABSL_DEFAULT_COPTS,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment