Skip to content

Commit

Permalink
upb: the triumphant return of upb/mem:internal
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 593835739
  • Loading branch information
ericsalo authored and copybara-github committed Dec 26, 2023
1 parent f869cfa commit f50ea84
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions upb/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ upb_amalgamation(
":reflection_internal",
":wire",
":wire_reader",
"//upb/mem:internal",
],
strip_import_prefix = ["src"],
)
Expand Down Expand Up @@ -441,6 +442,7 @@ upb_amalgamation(
":reflection_internal",
":wire",
":wire_reader",
"//upb/mem:internal",
],
prefix = "php-",
strip_import_prefix = ["src"],
Expand Down Expand Up @@ -488,6 +490,7 @@ upb_amalgamation(
":reflection_internal",
":wire",
":wire_reader",
"//upb/mem:internal",
],
prefix = "ruby-",
strip_import_prefix = ["src"],
Expand Down
12 changes: 12 additions & 0 deletions upb/mem/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,18 @@ cc_library(
"alloc.h",
"arena.h",
"arena.hpp",
],
copts = UPB_DEFAULT_COPTS,
visibility = ["//visibility:public"],
deps = [
":internal",
"//upb:port",
],
)

cc_library(
name = "internal",
hdrs = [
"internal/arena.h",
],
copts = UPB_DEFAULT_COPTS,
Expand Down
1 change: 1 addition & 0 deletions upb/wire/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ cc_library(
"//upb:message_types",
"//upb:mini_table",
"//upb:port",
"//upb/mem:internal",
"//third_party/utf8_range",
],
)
Expand Down

0 comments on commit f50ea84

Please sign in to comment.