From ba29af3a6af9c2e4dfc32ad0230f889e117908b3 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Sat, 1 Jun 2019 19:27:49 -0700 Subject: Hid generated-code-only headers inside a separate library. --- bazel/upb_proto_library.bzl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bazel/upb_proto_library.bzl') diff --git a/bazel/upb_proto_library.bzl b/bazel/upb_proto_library.bzl index 09d557c..e68f340 100644 --- a/bazel/upb_proto_library.bzl +++ b/bazel/upb_proto_library.bzl @@ -229,7 +229,10 @@ _upb_proto_library_aspect = aspect( "_cc_toolchain": attr.label( default = "@bazel_tools//tools/cpp:current_cc_toolchain", ), - "_upb": attr.label_list(default = ["//:upb"]), + "_upb": attr.label_list(default = [ + "//:generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me", + "//:upb" + ]), "_ext": attr.string(default = ".upb"), }), implementation = _upb_proto_aspect_impl, -- cgit v1.2.3