diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2019-06-02 20:40:15 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-02 20:40:15 -0700 |
commit | 26245628a9b8abfc217b080eec73af477a5fc65c (patch) | |
tree | 82d74c160a0fc33073ff6ce7081d33767feec45e /bazel | |
parent | d5137134e0c56164e56ba413a5fb18cee4d472f1 (diff) | |
parent | ba29af3a6af9c2e4dfc32ad0230f889e117908b3 (diff) |
Merge pull request #178 from haberman/generated-only
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 bb3eb57..147e088 100644 --- a/bazel/upb_proto_library.bzl +++ b/bazel/upb_proto_library.bzl @@ -230,7 +230,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, |