Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
58 lines
1.5 KiB
58 lines
1.5 KiB
# Copyright (c) 2009-2021, Google LLC |
|
# All rights reserved. |
|
# |
|
# Use of this source code is governed by a BSD-style |
|
# license that can be found in the LICENSE file or at |
|
# https://developers.google.com/open-source/licenses/bsd |
|
|
|
load("@bazel_skylib//:bzl_library.bzl", "bzl_library") |
|
|
|
licenses(["notice"]) |
|
|
|
bzl_library( |
|
name = "proto_library_bzl", |
|
srcs = ["proto_library.bzl"], |
|
visibility = ["//visibility:public"], |
|
) |
|
|
|
bzl_library( |
|
name = "cc_proto_library_bzl", |
|
srcs = ["cc_proto_library.bzl"], |
|
visibility = ["//visibility:public"], |
|
) |
|
|
|
bzl_library( |
|
name = "java_proto_library_bzl", |
|
srcs = ["java_proto_library.bzl"], |
|
visibility = ["//visibility:public"], |
|
) |
|
|
|
bzl_library( |
|
name = "java_lite_proto_library_bzl", |
|
srcs = ["java_lite_proto_library.bzl"], |
|
visibility = ["//visibility:public"], |
|
) |
|
|
|
bzl_library( |
|
name = "py_proto_library_bzl", |
|
srcs = ["py_proto_library.bzl"], |
|
visibility = ["//visibility:public"], |
|
deps = [ |
|
"//bazel/common:proto_common_bzl", |
|
"//bazel/common:proto_info_bzl", |
|
"//bazel/private:toolchain_helpers_bzl", |
|
"@rules_python//python:py_info_bzl", |
|
], |
|
) |
|
|
|
bzl_library( |
|
name = "upb_proto_library_bzl", |
|
srcs = [ |
|
"upb_c_proto_library.bzl", |
|
"upb_minitable_proto_library.bzl", |
|
"upb_proto_library.bzl", |
|
"upb_proto_reflection_library.bzl", |
|
], |
|
visibility = ["//visibility:public"], |
|
deps = ["//bazel/private:upb_proto_library_internal_bzl"], |
|
)
|
|
|