File tree Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Expand file tree Collapse file tree 2 files changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,17 @@ bzl_library(
53
53
],
54
54
)
55
55
56
+ bzl_library (
57
+ name = "proto_bzl" ,
58
+ srcs = [
59
+ "proto.bzl" ,
60
+ ],
61
+ visibility = ["//visibility:public" ],
62
+ deps = [
63
+ "//python/private/proto:py_proto_library_bzl" ,
64
+ ],
65
+ )
66
+
56
67
# Filegroup of bzl files that can be used by downstream rules for documentation generation
57
68
filegroup (
58
69
name = "bzl" ,
Original file line number Diff line number Diff line change 12
12
# See the License for the specific language governing permissions and
13
13
# limitations under the License.
14
14
15
+ load ("@bazel_skylib//:bzl_library.bzl" , "bzl_library" )
15
16
load ("@rules_proto//proto:defs.bzl" , "proto_lang_toolchain" )
16
17
17
18
package (default_visibility = ["//visibility:public" ])
@@ -24,6 +25,16 @@ filegroup(
24
25
visibility = ["//python/private:__pkg__" ],
25
26
)
26
27
28
+ bzl_library (
29
+ name = "py_proto_library_bzl" ,
30
+ srcs = ["py_proto_library.bzl" ],
31
+ visibility = ["//python:__pkg__" ],
32
+ deps = [
33
+ "//python:defs_bzl" ,
34
+ "@rules_proto//proto:defs" ,
35
+ ],
36
+ )
37
+
27
38
proto_lang_toolchain (
28
39
name = "python_toolchain" ,
29
40
command_line = "--python_out=%s" ,
You can’t perform that action at this time.
0 commit comments