port should not be public

pull/13171/head
Anna R 5 years ago
parent 578dc32208
commit 3797ad2217
  1. 2
      BUILD
  2. 1
      CMakeLists.txt
  3. 3
      bazel/upb_proto_library.bzl

@ -63,7 +63,6 @@ cc_library(
srcs = [
"upb/port.c",
],
visibility = ["//visibility:public"],
)
cc_library(
@ -109,7 +108,6 @@ cc_library(
}),
visibility = ["//visibility:public"],
deps = [
":port",
":upb",
],
)

@ -78,7 +78,6 @@ target_link_libraries(upb
port)
add_library(generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me INTERFACE)
target_link_libraries(generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me INTERFACE
port
upb)
add_library(reflection
upb/def.c

@ -238,7 +238,6 @@ _upb_proto_library_aspect = aspect(
),
"_upb": attr.label_list(default = [
"//:generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me",
"//:port",
"//:upb",
]),
"_ext": attr.string(default = ".upb"),
@ -280,7 +279,7 @@ _upb_proto_reflection_library_aspect = aspect(
),
"_upb": attr.label_list(
default = [
"//:port",
"//third_party/upb:generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me",
"//:upb",
"//:reflection",
],

Loading…
Cancel
Save