Skip to content

Commit 6f419de

Browse files
author
Tim 'mithro' Ansell
authored
Merge pull request #232 from mithro/protobuf-targets
Add pdk protobuf targets.
2 parents 85869b2 + 7ec5936 commit 6f419de

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

pdk/proto/BUILD

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,29 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15+
load("@rules_python//python:proto.bzl", "py_proto_library")
16+
1517
package(
1618
default_applicable_licenses = ["//:package_license"],
17-
default_visibility = ["//visibility:private"],
19+
default_visibility = ["//visibility:public"],
1820
)
1921

2022
exports_files([
2123
"build_defs.bzl",
2224
"pdk_info.proto",
2325
])
26+
27+
proto_library(
28+
name = "pdk_info_proto",
29+
srcs = ["pdk_info.proto"],
30+
)
31+
32+
cc_proto_library(
33+
name = "pdk_info_cc_proto",
34+
deps = [":pdk_info_proto"],
35+
)
36+
37+
py_proto_library(
38+
name = "pdk_info_py_proto",
39+
deps = [":pdk_info_proto"],
40+
)

0 commit comments

Comments
 (0)