From bddb62a5015c046e45619ac91a616188c28d6430 Mon Sep 17 00:00:00 2001 From: MediaPipe Team Date: Fri, 16 Aug 2024 12:48:44 -0700 Subject: [PATCH] No public description PiperOrigin-RevId: 663825887 --- mediapipe/framework/BUILD | 14 +++++++------- mediapipe/framework/mediapipe_cc_test.bzl | 2 +- mediapipe/framework/profiler/BUILD | 2 +- mediapipe/framework/tool/BUILD | 4 ++-- mediapipe/framework/tool/testdata/BUILD | 4 ++-- mediapipe/gpu/BUILD | 2 +- mediapipe/objc/BUILD | 4 ++-- mediapipe/util/BUILD | 6 +++--- third_party/google_toolbox_for_mac.BUILD | 6 +++--- 9 files changed, 22 insertions(+), 22 deletions(-) diff --git a/mediapipe/framework/BUILD b/mediapipe/framework/BUILD index e88cad492..f4fd8fb4e 100644 --- a/mediapipe/framework/BUILD +++ b/mediapipe/framework/BUILD @@ -89,7 +89,7 @@ mediapipe_proto_library( mediapipe_proto_library( name = "calculator_contract_test_proto", - testonly = 1, + testonly = True, srcs = ["calculator_contract_test.proto"], visibility = ["//mediapipe/framework:__subpackages__"], deps = [ @@ -130,7 +130,7 @@ mediapipe_proto_library( mediapipe_proto_library( name = "packet_test_proto", - testonly = 1, + testonly = True, srcs = ["packet_test.proto"], visibility = [ ":mediapipe_internal_proto_users", @@ -154,7 +154,7 @@ mediapipe_proto_library( mediapipe_proto_library( name = "test_calculators_proto", - testonly = 1, + testonly = True, srcs = ["test_calculators.proto"], visibility = [":mediapipe_internal_proto_users"], deps = [ @@ -478,7 +478,7 @@ cc_library( cc_library( name = "calculator_runner", - testonly = 1, + testonly = True, srcs = ["calculator_runner.cc"], hdrs = ["calculator_runner.h"], visibility = ["//visibility:public"], @@ -765,7 +765,7 @@ cc_library( cc_library( name = "lifetime_tracker", - testonly = 1, + testonly = True, hdrs = ["lifetime_tracker.h"], visibility = ["//visibility:public"], deps = [ @@ -1153,7 +1153,7 @@ cc_library( cc_library( name = "test_calculators", - testonly = 1, + testonly = True, srcs = ["test_calculators.cc"], visibility = ["//visibility:public"], deps = [ @@ -1175,7 +1175,7 @@ cc_library( cc_library( name = "test_service", - testonly = 1, + testonly = True, srcs = ["test_service.cc"], hdrs = ["test_service.h"], visibility = ["//visibility:public"], diff --git a/mediapipe/framework/mediapipe_cc_test.bzl b/mediapipe/framework/mediapipe_cc_test.bzl index 71244121d..8a3fa3e30 100644 --- a/mediapipe/framework/mediapipe_cc_test.bzl +++ b/mediapipe/framework/mediapipe_cc_test.bzl @@ -34,7 +34,7 @@ def mediapipe_cc_test( **kwargs): native.cc_library( name = name + "_lib", - testonly = 1, + testonly = True, srcs = srcs, data = data, deps = deps + additional_deps, diff --git a/mediapipe/framework/profiler/BUILD b/mediapipe/framework/profiler/BUILD index 124c0a2af..f6a6ce6ba 100644 --- a/mediapipe/framework/profiler/BUILD +++ b/mediapipe/framework/profiler/BUILD @@ -207,7 +207,7 @@ cc_library( cc_library( name = "test_context_builder", - testonly = 1, + testonly = True, hdrs = ["test_context_builder.h"], deps = [ "//mediapipe/framework:calculator_framework", diff --git a/mediapipe/framework/tool/BUILD b/mediapipe/framework/tool/BUILD index a2be5f379..4a8310541 100644 --- a/mediapipe/framework/tool/BUILD +++ b/mediapipe/framework/tool/BUILD @@ -736,7 +736,7 @@ mediapipe_binary_graph( data_as_c_string( name = "test_binarypb_inc", - testonly = 1, + testonly = True, srcs = [":test_binarypb"], outs = ["test_binarypb.inc"], ) @@ -792,7 +792,7 @@ cc_test( cc_library( name = "test_util", - testonly = 1, + testonly = True, srcs = ["test_util.cc"], hdrs = ["test_util.h"], visibility = ["//visibility:public"], diff --git a/mediapipe/framework/tool/testdata/BUILD b/mediapipe/framework/tool/testdata/BUILD index fa6d4d511..3f6c6cf6b 100644 --- a/mediapipe/framework/tool/testdata/BUILD +++ b/mediapipe/framework/tool/testdata/BUILD @@ -40,7 +40,7 @@ exports_files([ mediapipe_simple_subgraph( name = "dub_quad_test_subgraph", - testonly = 1, + testonly = True, graph = "dub_quad_test_subgraph.pbtxt", register_as = "DubQuadTestSubgraph", deps = [ @@ -50,7 +50,7 @@ mediapipe_simple_subgraph( mediapipe_simple_subgraph( name = "nested_test_subgraph", - testonly = 1, + testonly = True, graph = "nested_test_subgraph.pbtxt", register_as = "NestedTestSubgraph", visibility = ["//mediapipe/framework:__subpackages__"], diff --git a/mediapipe/gpu/BUILD b/mediapipe/gpu/BUILD index a99116791..21bedf115 100644 --- a/mediapipe/gpu/BUILD +++ b/mediapipe/gpu/BUILD @@ -1223,7 +1223,7 @@ test_suite( objc_library( name = "gl_ios_test_lib", - testonly = 1, + testonly = True, srcs = [ "gl_ios_test.mm", "metal_shared_resources_test.mm", diff --git a/mediapipe/objc/BUILD b/mediapipe/objc/BUILD index 481a60bb6..5161bc24e 100644 --- a/mediapipe/objc/BUILD +++ b/mediapipe/objc/BUILD @@ -218,7 +218,7 @@ objc_library( objc_library( name = "MPPGraphTestBase", - testonly = 1, + testonly = True, srcs = [ "MPPGraphTestBase.mm", ], @@ -248,7 +248,7 @@ objc_library( objc_library( name = "mediapipe_framework_ios_testLib", - testonly = 1, + testonly = True, srcs = [ "CFHolderTests.mm", "MPPDisplayLinkWeakTargetTests.mm", diff --git a/mediapipe/util/BUILD b/mediapipe/util/BUILD index 3a88c0016..8f4ae7a7b 100644 --- a/mediapipe/util/BUILD +++ b/mediapipe/util/BUILD @@ -345,7 +345,7 @@ cc_library( cc_library( name = "time_series_test_util", - testonly = 1, + testonly = True, hdrs = ["time_series_test_util.h"], visibility = ["//visibility:public"], deps = [ @@ -381,7 +381,7 @@ cc_test( cc_library( name = "packet_test_util", - testonly = 1, + testonly = True, hdrs = ["packet_test_util.h"], visibility = ["//visibility:public"], deps = [ @@ -431,7 +431,7 @@ cc_test( cc_library( name = "image_test_utils", - testonly = 1, + testonly = True, srcs = ["image_test_utils.cc"], hdrs = ["image_test_utils.h"], visibility = ["//visibility:public"], diff --git a/third_party/google_toolbox_for_mac.BUILD b/third_party/google_toolbox_for_mac.BUILD index 06497d29c..e7a421279 100644 --- a/third_party/google_toolbox_for_mac.BUILD +++ b/third_party/google_toolbox_for_mac.BUILD @@ -442,7 +442,7 @@ GTM_UNITTESTING_DEPS = [ objc_library( name = "GTM_UnitTesting", - testonly = 1, + testonly = True, hdrs = GTM_UNITTESTING_HDRS, non_arc_srcs = GTM_UNITTESTING_NON_ARC_SRCS, sdk_frameworks = GTM_UNITTESTING_SDK_FRAMEWORKS, @@ -452,7 +452,7 @@ objc_library( objc_library( name = "GTM_UnitTesting_GTM_USING_XCTEST", - testonly = 1, + testonly = True, hdrs = GTM_UNITTESTING_HDRS, defines = ["GTM_USING_XCTEST=1"], non_arc_srcs = GTM_UNITTESTING_NON_ARC_SRCS, @@ -463,7 +463,7 @@ objc_library( objc_library( name = "GTM_UnitTestingAppLib", - testonly = 1, + testonly = True, hdrs = [ "UnitTesting/GTMCodeCoverageApp.h", "UnitTesting/GTMIPhoneUnitTestDelegate.h",