aboutsummaryrefslogtreecommitdiff
path: root/proto/defs.bzl
diff options
context:
space:
mode:
Diffstat (limited to 'proto/defs.bzl')
-rw-r--r--proto/defs.bzl34
1 files changed, 34 insertions, 0 deletions
diff --git a/proto/defs.bzl b/proto/defs.bzl
new file mode 100644
index 0000000..c330f81
--- /dev/null
+++ b/proto/defs.bzl
@@ -0,0 +1,34 @@
+# Copyright 2019 The Bazel Authors. All rights reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+"""Starlark rules for building protocol buffers."""
+
+load("//proto:proto_descriptor_set.bzl", _proto_descriptor_set = "proto_descriptor_set")
+load("//proto:proto_library.bzl", _proto_library = "proto_library")
+load("//proto/modules:proto_common.bzl", _proto_common = "proto_common")
+load("//proto/modules:proto_info.bzl", _ProtoInfo = "ProtoInfo")
+load("//proto/toolchains:proto_lang_toolchain.bzl", _proto_lang_toolchain = "proto_lang_toolchain")
+load("//proto/toolchains:proto_toolchain.bzl", _proto_toolchain = "proto_toolchain")
+
+# Rules
+proto_library = _proto_library
+proto_descriptor_set = _proto_descriptor_set
+
+# Toolchain rules
+proto_toolchain = _proto_toolchain
+proto_lang_toolchain = _proto_lang_toolchain
+
+# Modules
+proto_common = _proto_common
+ProtoInfo = _ProtoInfo