From 53f2cab21fa6c608f32f114387d88ffd7868c5fc Mon Sep 17 00:00:00 2001 From: Yannic Bonenberger Date: Sun, 5 Aug 2018 00:19:06 +0200 Subject: [PATCH] Export closure_proto_aspect Required for closure_grpc_web_library https://github.com/grpc/grpc-web/ --- closure/protobuf/closure_proto_library.bzl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/closure/protobuf/closure_proto_library.bzl b/closure/protobuf/closure_proto_library.bzl index e76fd463df..765d4ac691 100644 --- a/closure/protobuf/closure_proto_library.bzl +++ b/closure/protobuf/closure_proto_library.bzl @@ -111,7 +111,7 @@ def _closure_proto_aspect_impl(target, ctx): # The usual suspects are exported as runfiles, in addition to raw source. runfiles=ctx.runfiles(files=[js])) -_closure_proto_aspect = aspect( +closure_proto_aspect = aspect( attr_aspects = ['deps'], attrs = { # internal only @@ -155,7 +155,7 @@ closure_proto_library = rule( 'deps': attr.label_list( mandatory = True, providers = ['proto'], - aspects = [_closure_proto_aspect], + aspects = [closure_proto_aspect], ), }, implementation = _closure_proto_library_impl,