Skip to content

Commit

Permalink
Removed aliases for the boostrap proto libraries.
Browse files Browse the repository at this point in the history
These should only be used by bootstrapping. Users should be using the regular upb_proto_library() targets instead.

PiperOrigin-RevId: 666007278
  • Loading branch information
haberman authored and copybara-github committed Aug 21, 2024
1 parent 72707c3 commit 983910f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 24 deletions.
7 changes: 4 additions & 3 deletions python/dist/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,10 @@ pkg_files(
name = "generated_wkt",
srcs = [
":well_known_proto_py_pb2",
"//upb:descriptor_upb_minitable_proto",
"//upb:descriptor_upb_proto",
"//upb:descriptor_upb_proto_reflection",
"//src/google/protobuf:descriptor_upb_c_proto",
"//src/google/protobuf:descriptor_upb_minitable_proto",
"//src/google/protobuf:descriptor_upb_reflection_proto",
"//upb/reflection:descriptor_upb_proto",
],
prefix = "google/protobuf",
)
Expand Down
24 changes: 3 additions & 21 deletions upb/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -123,24 +123,6 @@ alias(
visibility = ["//visibility:public"],
)

alias(
name = "descriptor_upb_proto",
actual = "//upb/reflection:descriptor_upb_proto",
visibility = ["//visibility:public"],
)

alias(
name = "descriptor_upb_minitable_proto",
actual = "//upb/reflection:descriptor_upb_minitable_proto",
visibility = ["//visibility:public"],
)

alias(
name = "descriptor_upb_proto_reflection",
actual = "//upb/reflection:descriptor_upb_proto_reflection",
visibility = ["//visibility:public"],
)

alias(
name = "generated_reflection_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me",
actual = "//upb/reflection:generated_reflection_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me",
Expand Down Expand Up @@ -261,7 +243,6 @@ upb_amalgamation(
],
libs = [
":base",
":descriptor_upb_proto",
":eps_copy_input_stream",
":generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me",
":mem",
Expand All @@ -286,6 +267,7 @@ upb_amalgamation(
"//upb/message:types",
"//upb/mini_descriptor:internal",
"//upb/mini_table:internal",
"//upb/reflection:descriptor_upb_proto",
"//upb/reflection:internal",
],
strip_import_prefix = ["src"],
Expand All @@ -308,7 +290,6 @@ upb_amalgamation(
],
libs = [
":base",
":descriptor_upb_proto",
":eps_copy_input_stream",
":generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me",
":json",
Expand All @@ -335,6 +316,7 @@ upb_amalgamation(
"//upb/message:types",
"//upb/mini_descriptor:internal",
"//upb/mini_table:internal",
"//upb/reflection:descriptor_upb_proto",
"//upb/reflection:internal",
],
prefix = "php-",
Expand All @@ -358,7 +340,6 @@ upb_amalgamation(
],
libs = [
":base",
":descriptor_upb_proto",
":eps_copy_input_stream",
":generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me",
":json",
Expand All @@ -384,6 +365,7 @@ upb_amalgamation(
"//upb/message:types",
"//upb/mini_descriptor:internal",
"//upb/mini_table:internal",
"//upb/reflection:descriptor_upb_proto",
"//upb/reflection:internal",
],
prefix = "ruby-",
Expand Down

0 comments on commit 983910f

Please sign in to comment.