Removed aliases for the boostrap proto libraries.

These should only be used by bootstrapping. Users should be using the regular upb_proto_library() targets instead.

PiperOrigin-RevId: 666007278
pull/17902/head
Joshua Haberman 6 months ago committed by Copybara-Service
parent 72707c38f3
commit 983910fa1a
  1. 7
      python/dist/BUILD.bazel
  2. 24
      upb/BUILD

@ -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",
)

@ -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",
@ -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",
@ -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"],
@ -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",
@ -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-",
@ -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",
@ -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-",

Loading…
Cancel
Save