upb: restore the mini_table:internal target

PiperOrigin-RevId: 593870914
pull/15195/head
Eric Salo 1 year ago committed by Copybara-Service
parent ca58c35e24
commit e397296217
  1. 5
      upb/BUILD
  2. 2
      upb/message/BUILD
  3. 1
      upb/mini_descriptor/BUILD
  4. 25
      upb/mini_table/BUILD
  5. 1
      upb/wire/BUILD

@ -396,6 +396,7 @@ upb_amalgamation(
":wire",
":wire_reader",
"//upb/mem:internal",
"//upb/mini_table:internal",
],
strip_import_prefix = ["src"],
)
@ -437,12 +438,14 @@ upb_amalgamation(
":mini_descriptor",
":mini_descriptor_internal",
":mini_table",
":mini_table_compat",
":port",
":reflection",
":reflection_internal",
":wire",
":wire_reader",
"//upb/mem:internal",
"//upb/mini_table:internal",
],
prefix = "php-",
strip_import_prefix = ["src"],
@ -485,12 +488,14 @@ upb_amalgamation(
":mini_descriptor",
":mini_descriptor_internal",
":mini_table",
":mini_table_compat",
":port",
":reflection",
":reflection_internal",
":wire",
":wire_reader",
"//upb/mem:internal",
"//upb/mini_table:internal",
],
prefix = "ruby-",
strip_import_prefix = ["src"],

@ -82,6 +82,7 @@ cc_library(
"//upb:mem",
"//upb:mini_table",
"//upb:port",
"//upb/mini_table:internal",
],
)
@ -119,6 +120,7 @@ cc_library(
"//upb:mem",
"//upb:mini_table",
"//upb:port",
"//upb/mini_table:internal",
],
)

@ -25,6 +25,7 @@ cc_library(
"//upb:mem",
"//upb:mini_table",
"//upb:port",
"//upb/mini_table:internal",
],
)

@ -14,7 +14,6 @@ cc_library(
name = "mini_table",
srcs = [
"extension_registry.c",
"internal/message.c",
"message.c",
],
hdrs = [
@ -23,6 +22,27 @@ cc_library(
"extension_registry.h",
"field.h",
"file.h",
"message.h",
"sub.h",
"types.h",
],
copts = UPB_DEFAULT_COPTS,
visibility = ["//visibility:public"],
deps = [
":internal",
"//upb:base",
"//upb:hash",
"//upb:mem",
"//upb:port",
],
)
cc_library(
name = "internal",
srcs = [
"internal/message.c",
],
hdrs = [
"internal/enum.h",
"internal/extension.h",
"internal/field.h",
@ -30,9 +50,6 @@ cc_library(
"internal/message.h",
"internal/size_log2.h",
"internal/sub.h",
"message.h",
"sub.h",
"types.h",
],
copts = UPB_DEFAULT_COPTS,
visibility = ["//visibility:public"],

@ -38,6 +38,7 @@ cc_library(
"//upb:mini_table",
"//upb:port",
"//upb/mem:internal",
"//upb/mini_table:internal",
"//third_party/utf8_range",
],
)

Loading…
Cancel
Save