Retire the visibility group "//mediapipe/framework:mediapipe_internal".

PiperOrigin-RevId: 493687025
This commit is contained in:
Jiuqiang Tang 2022-12-07 13:06:57 -08:00 committed by Copybara-Service
parent 2811e0c5c8
commit 955f090f9f
2 changed files with 10 additions and 13 deletions

View File

@ -291,9 +291,7 @@ cc_library(
"-ObjC++", "-ObjC++",
], ],
}), }),
visibility = [ visibility = ["//visibility:private"],
"//mediapipe/framework:mediapipe_internal",
],
deps = [ deps = [
"@com_google_absl//absl/flags:flag", "@com_google_absl//absl/flags:flag",
"//mediapipe/framework/port:logging", "//mediapipe/framework/port:logging",

View File

@ -90,7 +90,7 @@ mediapipe_proto_library(
name = "packet_generator_wrapper_calculator_proto", name = "packet_generator_wrapper_calculator_proto",
srcs = ["packet_generator_wrapper_calculator.proto"], srcs = ["packet_generator_wrapper_calculator.proto"],
def_py_proto = False, def_py_proto = False,
visibility = ["//mediapipe/framework:mediapipe_internal"], visibility = ["//mediapipe/framework:__subpackages__"],
deps = [ deps = [
"//mediapipe/framework:calculator_options_proto", "//mediapipe/framework:calculator_options_proto",
"//mediapipe/framework:packet_generator_proto", "//mediapipe/framework:packet_generator_proto",
@ -120,13 +120,13 @@ cc_library(
name = "fill_packet_set", name = "fill_packet_set",
srcs = ["fill_packet_set.cc"], srcs = ["fill_packet_set.cc"],
hdrs = ["fill_packet_set.h"], hdrs = ["fill_packet_set.h"],
visibility = ["//mediapipe/framework:mediapipe_internal"], visibility = ["//mediapipe/framework:__subpackages__"],
deps = [ deps = [
":status_util",
"//mediapipe/framework:packet_set", "//mediapipe/framework:packet_set",
"//mediapipe/framework:packet_type", "//mediapipe/framework:packet_type",
"//mediapipe/framework/port:status", "//mediapipe/framework/port:status",
"//mediapipe/framework/port:statusor", "//mediapipe/framework/port:statusor",
"//mediapipe/framework/tool:status_util",
"@com_google_absl//absl/memory", "@com_google_absl//absl/memory",
], ],
) )
@ -162,7 +162,6 @@ cc_library(
cc_test( cc_test(
name = "executor_util_test", name = "executor_util_test",
srcs = ["executor_util_test.cc"], srcs = ["executor_util_test.cc"],
visibility = ["//mediapipe/framework:mediapipe_internal"],
deps = [ deps = [
":executor_util", ":executor_util",
"//mediapipe/framework/port:gtest_main", "//mediapipe/framework/port:gtest_main",
@ -173,7 +172,7 @@ cc_test(
cc_library( cc_library(
name = "options_map", name = "options_map",
hdrs = ["options_map.h"], hdrs = ["options_map.h"],
visibility = ["//mediapipe/framework:mediapipe_internal"], visibility = ["//mediapipe:__subpackages__"],
deps = [ deps = [
":type_util", ":type_util",
"//mediapipe/framework:calculator_cc_proto", "//mediapipe/framework:calculator_cc_proto",
@ -193,7 +192,7 @@ cc_library(
name = "options_field_util", name = "options_field_util",
srcs = ["options_field_util.cc"], srcs = ["options_field_util.cc"],
hdrs = ["options_field_util.h"], hdrs = ["options_field_util.h"],
visibility = ["//mediapipe/framework:mediapipe_internal"], visibility = ["//visibility:private"],
deps = [ deps = [
":field_data_cc_proto", ":field_data_cc_proto",
":name_util", ":name_util",
@ -216,7 +215,7 @@ cc_library(
name = "options_syntax_util", name = "options_syntax_util",
srcs = ["options_syntax_util.cc"], srcs = ["options_syntax_util.cc"],
hdrs = ["options_syntax_util.h"], hdrs = ["options_syntax_util.h"],
visibility = ["//mediapipe/framework:mediapipe_internal"], visibility = ["//visibility:private"],
deps = [ deps = [
":name_util", ":name_util",
":options_field_util", ":options_field_util",
@ -235,8 +234,9 @@ cc_library(
name = "options_util", name = "options_util",
srcs = ["options_util.cc"], srcs = ["options_util.cc"],
hdrs = ["options_util.h"], hdrs = ["options_util.h"],
visibility = ["//mediapipe/framework:mediapipe_internal"], visibility = ["//visibility:public"],
deps = [ deps = [
":name_util",
":options_field_util", ":options_field_util",
":options_map", ":options_map",
":options_registry", ":options_registry",
@ -254,7 +254,6 @@ cc_library(
"//mediapipe/framework/port:advanced_proto", "//mediapipe/framework/port:advanced_proto",
"//mediapipe/framework/port:any_proto", "//mediapipe/framework/port:any_proto",
"//mediapipe/framework/port:status", "//mediapipe/framework/port:status",
"//mediapipe/framework/tool:name_util",
"@com_google_absl//absl/strings", "@com_google_absl//absl/strings",
], ],
) )
@ -323,7 +322,7 @@ mediapipe_cc_test(
cc_library( cc_library(
name = "packet_generator_wrapper_calculator", name = "packet_generator_wrapper_calculator",
srcs = ["packet_generator_wrapper_calculator.cc"], srcs = ["packet_generator_wrapper_calculator.cc"],
visibility = ["//mediapipe/framework:mediapipe_internal"], visibility = ["//mediapipe/framework:__subpackages__"],
deps = [ deps = [
":packet_generator_wrapper_calculator_cc_proto", ":packet_generator_wrapper_calculator_cc_proto",
"//mediapipe/framework:calculator_base", "//mediapipe/framework:calculator_base",