Skip to content

Commit

Permalink
upb: delete the aliases for base:internal and mini_descriptor:internal
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 594274554
  • Loading branch information
ericsalo authored and copybara-github committed Dec 28, 2023
1 parent b82bb29 commit 43e1128
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 27 deletions.
2 changes: 1 addition & 1 deletion benchmarks/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,10 @@ cc_test(
"//:protobuf",
"@com_google_googletest//:gtest_main",
"//upb:base",
"//upb:base_internal",
"//upb:descriptor_upb_proto",
"//upb:mem",
"//upb:reflection",
"//upb/base:internal",
"@com_github_google_benchmark//:benchmark_main",
"@com_google_absl//absl/container:flat_hash_set",
],
Expand Down
24 changes: 6 additions & 18 deletions upb/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -137,12 +137,6 @@ alias(
visibility = ["//visibility:public"],
)

alias(
name = "base_internal",
actual = "//upb/base:internal",
visibility = ["//visibility:public"],
)

alias(
name = "collections",
actual = "//upb/collections",
Expand Down Expand Up @@ -258,12 +252,6 @@ alias(
visibility = ["//visibility:public"],
)

alias(
name = "mini_descriptor_internal",
actual = "//upb/mini_descriptor:internal",
visibility = ["//upb:__subpackages__"],
)

alias(
name = "mini_table",
actual = "//upb/mini_table",
Expand Down Expand Up @@ -358,7 +346,6 @@ upb_amalgamation(
],
libs = [
":base",
":base_internal",
":descriptor_upb_minitable_proto",
":descriptor_upb_proto",
":eps_copy_input_stream",
Expand All @@ -374,15 +361,16 @@ upb_amalgamation(
":message_types",
":message_value",
":mini_descriptor",
":mini_descriptor_internal",
":mini_table",
":mini_table_compat",
":port",
":reflection",
":reflection_internal",
":wire",
":wire_reader",
"//upb/base:internal",
"//upb/mem:internal",
"//upb/mini_descriptor:internal",
"//upb/mini_table:internal",
],
strip_import_prefix = ["src"],
Expand All @@ -404,7 +392,6 @@ upb_amalgamation(
],
libs = [
":base",
":base_internal",
":descriptor_upb_minitable_proto",
":descriptor_upb_proto_reflection",
":descriptor_upb_proto",
Expand All @@ -422,15 +409,16 @@ upb_amalgamation(
":message_types",
":message_value",
":mini_descriptor",
":mini_descriptor_internal",
":mini_table",
":mini_table_compat",
":port",
":reflection",
":reflection_internal",
":wire",
":wire_reader",
"//upb/base:internal",
"//upb/mem:internal",
"//upb/mini_descriptor:internal",
"//upb/mini_table:internal",
],
prefix = "php-",
Expand All @@ -454,7 +442,6 @@ upb_amalgamation(
],
libs = [
":base",
":base_internal",
":descriptor_upb_minitable_proto",
":descriptor_upb_proto",
":eps_copy_input_stream",
Expand All @@ -471,15 +458,16 @@ upb_amalgamation(
":message_types",
":message_value",
":mini_descriptor",
":mini_descriptor_internal",
":mini_table",
":mini_table_compat",
":port",
":reflection",
":reflection_internal",
":wire",
":wire_reader",
"//upb/base:internal",
"//upb/mem:internal",
"//upb/mini_descriptor:internal",
"//upb/mini_table:internal",
],
prefix = "ruby-",
Expand Down
2 changes: 1 addition & 1 deletion upb/hash/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ cc_library(
visibility = ["//visibility:public"],
deps = [
"//upb:base",
"//upb:base_internal",
"//upb:mem",
"//upb:port",
"//upb/base:internal",
],
)

Expand Down
6 changes: 3 additions & 3 deletions upb/message/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ cc_library(
":types",
":value",
"//upb:base",
"//upb:base_internal",
"//upb:hash",
"//upb:mem",
"//upb:mini_table",
"//upb:port",
"//upb/base:internal",
"//upb/mini_table:internal",
],
)
Expand Down Expand Up @@ -232,10 +232,10 @@ cc_test(
"//upb:base",
"//upb:mem",
"//upb:mini_descriptor",
"//upb:mini_descriptor_internal",
"//upb:mini_table",
"//upb:port",
"//upb:wire",
"//upb/mini_descriptor:internal",
"//upb/test:test_messages_proto2_upb_minitable",
"//upb/test:test_messages_proto2_upb_proto",
"//upb/test:test_messages_proto3_upb_minitable",
Expand Down Expand Up @@ -302,9 +302,9 @@ cc_test(
"//upb:base",
"//upb:mem",
"//upb:mini_descriptor",
"//upb:mini_descriptor_internal",
"//upb:mini_table",
"//upb:wire",
"//upb/mini_descriptor:internal",
"//upb/test:test_messages_proto2_upb_proto",
"//upb/test:test_messages_proto3_upb_proto",
"//upb/test:test_proto_upb_minitable",
Expand Down
4 changes: 2 additions & 2 deletions upb/mini_descriptor/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ cc_library(
deps = [
":internal",
"//upb:base",
"//upb:base_internal",
"//upb:mem",
"//upb:mini_table",
"//upb:port",
"//upb/base:internal",
"//upb/mini_table:internal",
],
)
Expand All @@ -47,8 +47,8 @@ cc_library(
visibility = ["//visibility:public"],
deps = [
"//upb:base",
"//upb:base_internal",
"//upb:port",
"//upb/base:internal",
],
)

Expand Down
4 changes: 2 additions & 2 deletions upb/reflection/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -133,18 +133,18 @@ bootstrap_cc_library(
visibility = ["//visibility:public"],
deps = [
"//upb:base",
"//upb:base_internal",
"//upb:hash",
"//upb:mem",
"//upb:message",
"//upb:message_accessors",
"//upb:message_copy",
"//upb:message_value",
"//upb:mini_descriptor",
"//upb:mini_descriptor_internal",
"//upb:mini_table",
"//upb:port",
"//upb:wire",
"//upb/base:internal",
"//upb/mini_descriptor:internal",
],
)

Expand Down

0 comments on commit 43e1128

Please sign in to comment.