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 = [ srcs = [
"upb/port.c", "upb/port.c",
], ],
visibility = ["//visibility:public"],
) )
cc_library( cc_library(
@ -109,7 +108,6 @@ cc_library(
}), }),
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = [ deps = [
":port",
":upb", ":upb",
], ],
) )

@ -78,7 +78,6 @@ target_link_libraries(upb
port) port)
add_library(generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me INTERFACE) 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 target_link_libraries(generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me INTERFACE
port
upb) upb)
add_library(reflection add_library(reflection
upb/def.c upb/def.c

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

Loading…
Cancel
Save