Skip to content

Commit

Permalink
s/protobuf_git/protobuf_bzl/ (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
lizan authored Aug 3, 2017
1 parent 428780f commit b4ee774
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion mixerclient/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

licenses(["notice"])

load("@protobuf_git//:protobuf.bzl", "cc_proto_library")
load("@protobuf_bzl//:protobuf.bzl", "cc_proto_library")

cc_library(
name = "mixer_client_lib",
Expand Down
20 changes: 10 additions & 10 deletions mixerclient/repositories.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -35,40 +35,40 @@ def boringssl_repositories(bind=True):

def protobuf_repositories(bind=True):
native.git_repository(
name = "protobuf_git",
name = "protobuf_bzl",
commit = "593e917c176b5bc5aafa57bf9f6030d749d91cd5", # v3.2.0
remote = "https://github.com/google/protobuf.git",
)

if bind:
native.bind(
name = "protoc",
actual = "@protobuf_git//:protoc",
actual = "@protobuf_bzl//:protoc",
)

native.bind(
name = "protobuf",
actual = "@protobuf_git//:protobuf",
actual = "@protobuf_bzl//:protobuf",
)

native.bind(
name = "cc_wkt_protos",
actual = "@protobuf_git//:cc_wkt_protos",
actual = "@protobuf_bzl//:cc_wkt_protos",
)

native.bind(
name = "cc_wkt_protos_genproto",
actual = "@protobuf_git//:cc_wkt_protos_genproto",
actual = "@protobuf_bzl//:cc_wkt_protos_genproto",
)

native.bind(
name = "protobuf_compiler",
actual = "@protobuf_git//:protoc_lib",
actual = "@protobuf_bzl//:protoc_lib",
)

native.bind(
name = "protobuf_clib",
actual = "@protobuf_git//:protoc_lib",
actual = "@protobuf_bzl//:protoc_lib",
)


Expand Down Expand Up @@ -151,7 +151,7 @@ cc_library(
actual = "@googletest_git//:googletest_prod",
)

def googleapis_repositories(protobuf_repo="@protobuf_git//", bind=True):
def googleapis_repositories(protobuf_repo="@protobuf_bzl//", bind=True):
BUILD = """
# Copyright 2017 Istio Authors. All Rights Reserved.
#
Expand Down Expand Up @@ -298,7 +298,7 @@ def gogoproto_repositories(bind=True):
licenses(["notice"])
load("@protobuf_git//:protobuf.bzl", "cc_proto_library")
load("@protobuf_bzl//:protobuf.bzl", "cc_proto_library")
exports_files(glob(["google/**"]))
Expand Down Expand Up @@ -334,7 +334,7 @@ cc_proto_library(
actual = "@gogoproto_git//:cc_gogoproto_genproto",
)

def mixerapi_repositories(protobuf_repo="@protobuf_git//", bind=True):
def mixerapi_repositories(protobuf_repo="@protobuf_bzl//", bind=True):
gogoproto_repositories(bind)

BUILD = """
Expand Down

0 comments on commit b4ee774

Please sign in to comment.