diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2019-06-01 19:27:49 -0700 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2019-06-01 19:27:49 -0700 |
commit | ba29af3a6af9c2e4dfc32ad0230f889e117908b3 (patch) | |
tree | 45826d7e62eb36ede8e5fde8cb049ca3dc4e8b58 /bazel | |
parent | 9f49efef6203973931894a4ed9b862b3e3d639f0 (diff) |
Hid generated-code-only headers inside a separate library.
Diffstat (limited to 'bazel')
-rw-r--r-- | bazel/upb_proto_library.bzl | 5 |
1 files changed, 4 insertions, 1 deletions
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, |