From 6df5517d25ad2ab02bfa1655722d701c1d7ccb6d Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Tue, 24 May 2022 11:41:56 -0700 Subject: [PATCH] Consolidate upb visibility into a single visibility list. PiperOrigin-RevId: 450733238 --- BUILD | 7 ++++++- cmake/make_cmakelists.py | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/BUILD b/BUILD index c4d796f962..e58590e8aa 100644 --- a/BUILD +++ b/BUILD @@ -79,6 +79,11 @@ upb_proto_library_copts( visibility = ["//visibility:public"], ) +package_group( + name = "friends", + packages = [], +) + # Public C/C++ libraries ####################################################### cc_library( @@ -161,7 +166,7 @@ cc_library( "upb/mini_table_accessors.h", ], copts = UPB_DEFAULT_COPTS, - visibility = ["//video/youtube/utils/elements/javascript/client/proto/upb/native:__pkg__"], + visibility = ["//visibility:public"], deps = [ ":collections", ":mini_table", diff --git a/cmake/make_cmakelists.py b/cmake/make_cmakelists.py index 655d8095c0..d64c14f6f3 100755 --- a/cmake/make_cmakelists.py +++ b/cmake/make_cmakelists.py @@ -192,6 +192,9 @@ class BuildFileFunctions(object): def map_dep(self, arg): return arg + def package_group(self, **kwargs): + pass + class WorkspaceFileFunctions(object): def __init__(self, converter):