diff options
author | Alex Humesky <ahumesky@google.com> | 2016-09-27 22:43:48 +0000 |
---|---|---|
committer | Yun Peng <pcloudy@google.com> | 2016-09-28 08:28:18 +0000 |
commit | a12aae73ee292fdcb170f4eaeb8939283d05383c (patch) | |
tree | 4b6953e6a1abf159783ba7a5759779b4493d267b /third_party/protobuf/proto_alias.bzl | |
parent | 93fdac06d436a2e6088a307bf896dbb39fb5cc22 (diff) |
Updates protobuf in bazel to version 3.0.0.
--
MOS_MIGRATED_REVID=134464786
Diffstat (limited to 'third_party/protobuf/proto_alias.bzl')
-rw-r--r-- | third_party/protobuf/proto_alias.bzl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/third_party/protobuf/proto_alias.bzl b/third_party/protobuf/proto_alias.bzl new file mode 100644 index 0000000000..e47728f96d --- /dev/null +++ b/third_party/protobuf/proto_alias.bzl @@ -0,0 +1,18 @@ +# Copyright 2016 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. + +def proto_alias(name, version): + native.alias( + name = name, + actual = "//third_party/protobuf/" + version + ":" + name) |