@ -114,10 +114,8 @@ cc_library(
srcs = [
srcs = [
" upb/collections/map_sorter_internal.h " ,
" upb/collections/map_sorter_internal.h " ,
" upb/collections/message_value.h " ,
" upb/collections/message_value.h " ,
" upb/internal/unicode.h " ,
" upb/msg.c " ,
" upb/msg.c " ,
" upb/msg_internal.h " ,
" upb/msg_internal.h " ,
" upb/upb.c " ,
" upb/wire/decode.c " ,
" upb/wire/decode.c " ,
" upb/wire/encode.c " ,
" upb/wire/encode.c " ,
" upb/wire/swap_internal.h " ,
" upb/wire/swap_internal.h " ,
@ -152,9 +150,9 @@ cc_library(
" :extension_registry " ,
" :extension_registry " ,
" :fastdecode " ,
" :fastdecode " ,
" :hash " ,
" :hash " ,
" :lex " ,
" :mem " ,
" :mem " ,
" :port " ,
" :port " ,
" :unicode_internal " ,
" :wire_internal " ,
" :wire_internal " ,
] ,
] ,
)
)
@ -571,9 +569,9 @@ cc_library(
visibility = [ " //visibility:public " ] ,
visibility = [ " //visibility:public " ] ,
deps = [
deps = [
" :collections_internal " ,
" :collections_internal " ,
" :lex " ,
" :port " ,
" :port " ,
" :reflection " ,
" :reflection " ,
" :wire_internal " ,
] ,
] ,
)
)
@ -594,13 +592,11 @@ cc_library(
copts = UPB_DEFAULT_COPTS ,
copts = UPB_DEFAULT_COPTS ,
visibility = [ " //visibility:public " ] ,
visibility = [ " //visibility:public " ] ,
deps = [
deps = [
" :atoi_internal " ,
" :collections " ,
" :collections " ,
" :lex " ,
" :port " ,
" :port " ,
" :reflection " ,
" :reflection " ,
" :unicode_internal " ,
" :upb " ,
" :upb " ,
" :wire_internal " ,
] ,
] ,
)
)
@ -812,10 +808,10 @@ upb_proto_reflection_library(
cc_test (
cc_test (
name = " atoi_test " ,
name = " atoi_test " ,
srcs = [ " upb/internal /atoi_test.cc " ] ,
srcs = [ " upb/lex /atoi_test.cc " ] ,
copts = UPB_DEFAULT_CPPOPTS ,
copts = UPB_DEFAULT_CPPOPTS ,
deps = [
deps = [
" :atoi_internal " ,
" :lex " ,
" @com_google_absl//absl/strings " ,
" @com_google_absl//absl/strings " ,
" @com_google_googletest//:gtest_main " ,
" @com_google_googletest//:gtest_main " ,
] ,
] ,
@ -1022,15 +1018,6 @@ cc_library(
deps = [ " :port " ] ,
deps = [ " :port " ] ,
)
)
cc_library (
name = " atoi_internal " ,
srcs = [ " upb/internal/atoi.c " ] ,
hdrs = [ " upb/internal/atoi.h " ] ,
copts = UPB_DEFAULT_COPTS ,
visibility = [ " //:__subpackages__ " ] ,
deps = [ " :port " ] ,
)
cc_library (
cc_library (
name = " wire_internal " ,
name = " wire_internal " ,
srcs = [
srcs = [
@ -1042,7 +1029,6 @@ cc_library(
hdrs = [
hdrs = [
" upb/wire/common_internal.h " ,
" upb/wire/common_internal.h " ,
" upb/wire/decode_internal.h " ,
" upb/wire/decode_internal.h " ,
" upb/wire/encode_internal.h " ,
" upb/wire/swap_internal.h " ,
" upb/wire/swap_internal.h " ,
] ,
] ,
copts = UPB_DEFAULT_COPTS ,
copts = UPB_DEFAULT_COPTS ,
@ -1077,12 +1063,18 @@ cc_library(
)
)
cc_library (
cc_library (
name = " unicode_internal " ,
name = " lex " ,
srcs = [
srcs = [
" upb/internal/unicode.c " ,
" upb/lex/atoi.c " ,
" upb/lex/round_trip.c " ,
" upb/lex/strtod.c " ,
" upb/lex/unicode.c " ,
] ,
] ,
hdrs = [
hdrs = [
" upb/internal/unicode.h " ,
" upb/lex/atoi.h " ,
" upb/lex/round_trip.h " ,
" upb/lex/strtod.h " ,
" upb/lex/unicode.h " ,
] ,
] ,
copts = UPB_DEFAULT_COPTS ,
copts = UPB_DEFAULT_COPTS ,
visibility = [ " //:__subpackages__ " ] ,
visibility = [ " //:__subpackages__ " ] ,
@ -1100,13 +1092,13 @@ upb_amalgamation(
" upb.h " ,
" upb.h " ,
] ,
] ,
libs = [
libs = [
" :atoi_internal " ,
" :base " ,
" :base " ,
" :collections_internal " ,
" :collections_internal " ,
" :descriptor_upb_proto " ,
" :descriptor_upb_proto " ,
" :extension_registry " ,
" :extension_registry " ,
" :fastdecode " ,
" :fastdecode " ,
" :hash " ,
" :hash " ,
" :lex " ,
" :mem_internal " ,
" :mem_internal " ,
" :mini_table " ,
" :mini_table " ,
" :mini_table_accessors " ,
" :mini_table_accessors " ,
@ -1134,7 +1126,6 @@ upb_amalgamation(
" php-upb.h " ,
" php-upb.h " ,
] ,
] ,
libs = [
libs = [
" :atoi_internal " ,
" :base " ,
" :base " ,
" :collections_internal " ,
" :collections_internal " ,
" :descriptor_upb_proto " ,
" :descriptor_upb_proto " ,
@ -1143,13 +1134,13 @@ upb_amalgamation(
" :fastdecode " ,
" :fastdecode " ,
" :hash " ,
" :hash " ,
" :json " ,
" :json " ,
" :lex " ,
" :mem_internal " ,
" :mem_internal " ,
" :mini_table " ,
" :mini_table " ,
" :mini_table_accessors " ,
" :mini_table_accessors " ,
" :port " ,
" :port " ,
" :reflection " ,
" :reflection " ,
" :reflection_internal " ,
" :reflection_internal " ,
" :unicode_internal " ,
" :upb " ,
" :upb " ,
" :wire_internal " ,
" :wire_internal " ,
] ,
] ,
@ -1173,7 +1164,6 @@ upb_amalgamation(
" ruby-upb.h " ,
" ruby-upb.h " ,
] ,
] ,
libs = [
libs = [
" :atoi_internal " ,
" :base " ,
" :base " ,
" :collections_internal " ,
" :collections_internal " ,
" :descriptor_upb_proto " ,
" :descriptor_upb_proto " ,
@ -1181,13 +1171,13 @@ upb_amalgamation(
" :fastdecode " ,
" :fastdecode " ,
" :hash " ,
" :hash " ,
" :json " ,
" :json " ,
" :lex " ,
" :mem_internal " ,
" :mem_internal " ,
" :mini_table " ,
" :mini_table " ,
" :mini_table_accessors " ,
" :mini_table_accessors " ,
" :port " ,
" :port " ,
" :reflection " ,
" :reflection " ,
" :reflection_internal " ,
" :reflection_internal " ,
" :unicode_internal " ,
" :upb " ,
" :upb " ,
" :wire_internal " ,
" :wire_internal " ,
] ,
] ,