parent
fd19d7439c
commit
7a7efe9e64
26
bazel/BUILD
26
bazel/BUILD
|
@ -1,26 +0,0 @@
|
|||
# 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")
|
||||
|
||||
# begin:google_only
|
||||
# package(default_applicable_licenses = ["//upb:license"])
|
||||
# end:google_only
|
||||
|
||||
licenses(["notice"])
|
||||
|
||||
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"],
|
||||
)
|
|
@ -0,0 +1,57 @@
|
|||
# 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",
|
||||
"@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"],
|
||||
)
|
|
@ -10,3 +10,25 @@ bzl_library(
|
|||
"//bazel/private:native_bzl",
|
||||
],
|
||||
)
|
||||
|
||||
bzl_library(
|
||||
name = "proto_info_bzl",
|
||||
srcs = [
|
||||
"proto_info.bzl",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
"//bazel/private:native_bzl",
|
||||
],
|
||||
)
|
||||
|
||||
bzl_library(
|
||||
name = "proto_lang_toolchain_info_bzl",
|
||||
srcs = [
|
||||
"proto_lang_toolchain_info.bzl",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
":proto_common.bzl",
|
||||
],
|
||||
)
|
||||
|
|
|
@ -32,3 +32,11 @@ bzl_library(
|
|||
],
|
||||
visibility = ["//bazel:__subpackages__"],
|
||||
)
|
||||
|
||||
bzl_library(
|
||||
name = "proto_toolchain_rule_bzl",
|
||||
srcs = [
|
||||
"proto_toolchain_rule.bzl",
|
||||
],
|
||||
visibility = ["//bazel:__subpackages__"],
|
||||
)
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
|
||||
|
||||
bzl_library(
|
||||
name = "proto_toolchain_bzl",
|
||||
srcs = [
|
||||
"proto_toolchain.bzl",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
"//bazel/private:proto_toolchain_rule_bzl",
|
||||
],
|
||||
)
|
||||
|
||||
bzl_library(
|
||||
name = "proto_lang_toolchain_bzl",
|
||||
srcs = [
|
||||
"proto_lang_toolchain.bzl",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [
|
||||
"//bazel/common:proto_common_bzl",
|
||||
],
|
||||
)
|
Loading…
Reference in New Issue