diff options
author | Shahriar Rouf <nafi@google.com> | 2024-01-31 10:07:48 -0800 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-01-31 10:08:35 -0800 |
commit | 780bfc194d807dbd56363635ca40bf96743aa00b (patch) | |
tree | c861b75b3883bbff023fca4f96d944c735ccbb52 /absl/random | |
parent | 2812af9184eaa2bfd18d1545c57bcf8cbee88a9d (diff) |
Replace `testonly = 1` with `testonly = True` in abseil BUILD files.
https://bazel.build/build/style-guide#other-conventions
PiperOrigin-RevId: 603084345
Change-Id: Ibd7c9573d820f88059d12c46ff82d7d322d002ae
Diffstat (limited to 'absl/random')
-rw-r--r-- | absl/random/BUILD.bazel | 6 | ||||
-rw-r--r-- | absl/random/internal/BUILD.bazel | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/absl/random/BUILD.bazel b/absl/random/BUILD.bazel index 80c4f055..bec979d6 100644 --- a/absl/random/BUILD.bazel +++ b/absl/random/BUILD.bazel @@ -132,7 +132,7 @@ cc_library( cc_library( name = "mock_distributions", - testonly = 1, + testonly = True, hdrs = ["mock_distributions.h"], linkopts = ABSL_DEFAULT_LINKOPTS, deps = [ @@ -146,7 +146,7 @@ cc_library( cc_library( name = "mocking_bit_gen", - testonly = 1, + testonly = True, hdrs = [ "mocking_bit_gen.h", ], @@ -521,7 +521,7 @@ cc_test( # Benchmarks for various methods / test utilities cc_binary( name = "benchmarks", - testonly = 1, + testonly = True, srcs = [ "benchmarks.cc", ], diff --git a/absl/random/internal/BUILD.bazel b/absl/random/internal/BUILD.bazel index 71a742ee..69fb5f2b 100644 --- a/absl/random/internal/BUILD.bazel +++ b/absl/random/internal/BUILD.bazel @@ -137,7 +137,7 @@ cc_library( cc_library( name = "explicit_seed_seq", - testonly = 1, + testonly = True, hdrs = [ "explicit_seed_seq.h", ], @@ -151,7 +151,7 @@ cc_library( cc_library( name = "sequence_urbg", - testonly = 1, + testonly = True, hdrs = [ "sequence_urbg.h", ], @@ -375,7 +375,7 @@ cc_binary( cc_library( name = "distribution_test_util", - testonly = 1, + testonly = True, srcs = [ "chi_square.cc", "distribution_test_util.cc", @@ -534,7 +534,7 @@ cc_library( cc_library( name = "mock_overload_set", - testonly = 1, + testonly = True, hdrs = ["mock_overload_set.h"], linkopts = ABSL_DEFAULT_LINKOPTS, deps = [ |