diff --git a/mediapipe/calculators/tensor/BUILD b/mediapipe/calculators/tensor/BUILD index 1e7cb1fe3..da783df10 100644 --- a/mediapipe/calculators/tensor/BUILD +++ b/mediapipe/calculators/tensor/BUILD @@ -2083,7 +2083,7 @@ cc_test( cc_library( name = "tensors_to_segmentation_calculator_test_utils", - testonly = 1, + testonly = True, srcs = ["tensors_to_segmentation_calculator_test_utils.cc"], hdrs = ["tensors_to_segmentation_calculator_test_utils.h"], deps = [ diff --git a/mediapipe/framework/api2/BUILD b/mediapipe/framework/api2/BUILD index 4bfe68284..f59e6dab7 100644 --- a/mediapipe/framework/api2/BUILD +++ b/mediapipe/framework/api2/BUILD @@ -99,7 +99,7 @@ cc_library( cc_library( name = "test_contracts", - testonly = 1, + testonly = True, hdrs = ["test_contracts.h"], deps = [ ":node", diff --git a/mediapipe/framework/deps/BUILD b/mediapipe/framework/deps/BUILD index 619fd6651..615f7f1d5 100644 --- a/mediapipe/framework/deps/BUILD +++ b/mediapipe/framework/deps/BUILD @@ -302,7 +302,7 @@ cc_library( cc_library( name = "status_matchers", - testonly = 1, + testonly = True, hdrs = ["status_matchers.h"], # Use this library through "mediapipe/framework/port:gtest_main". diff --git a/mediapipe/framework/port/BUILD b/mediapipe/framework/port/BUILD index a6698c2d8..55feea2aa 100644 --- a/mediapipe/framework/port/BUILD +++ b/mediapipe/framework/port/BUILD @@ -134,7 +134,7 @@ cc_library( cc_library( name = "benchmark", - testonly = 1, + testonly = True, hdrs = ["benchmark.h"], deps = [ "@com_google_benchmark//:benchmark", @@ -154,7 +154,7 @@ cc_library( cc_library( name = "gtest", - testonly = 1, + testonly = True, hdrs = [ "gmock.h", "gtest.h", @@ -170,7 +170,7 @@ cc_library( cc_library( name = "gtest_main", - testonly = 1, + testonly = True, hdrs = [ "gmock.h", "gtest.h", @@ -187,7 +187,7 @@ cc_library( cc_library( name = "gtest_main_no_heapcheck", - testonly = 1, + testonly = True, hdrs = [ "gmock.h", "gtest.h", @@ -426,7 +426,7 @@ cc_library( cc_library( name = "status_matchers", - testonly = 1, + testonly = True, hdrs = ["status_matchers.h"], deps = [ ":status",