blob: 655be6bc919f26cee70e3032af8a15e2096c7a4a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
From e58f5674af07a3853e59c32b92d91e590b0224e2 Mon Sep 17 00:00:00 2001
From: Jason Zaman <jason@perfinion.com>
Date: Sat, 3 Jun 2023 16:23:51 -0700
Subject: [PATCH 07/13] systemlib: Add well_known_types_py_pb2 target
Bug: https://github.com/tensorflow/tensorflow/issues/60667
---
third_party/systemlibs/protobuf.BUILD | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/third_party/systemlibs/protobuf.BUILD b/third_party/systemlibs/protobuf.BUILD
index 4d05ab28d12..b3d72b0e3ad 100644
--- a/third_party/systemlibs/protobuf.BUILD
+++ b/third_party/systemlibs/protobuf.BUILD
@@ -111,3 +111,10 @@ py_library(
visibility = ["//visibility:public"],
deps = [dep + "_proto" for dep in proto[1][1]],
) for proto in WELL_KNOWN_PROTO_MAP.items()]
+
+py_proto_library(
+ name = "well_known_types_py_pb2",
+ include = ".",
+ srcs = [proto[1][0] for proto in WELL_KNOWN_PROTO_MAP.items()],
+ visibility = ["//visibility:public"],
+)
--
2.41.0
|