Skip to content

Commit

Permalink
third_party: Fix labels so they can be used from within new_local_rep…
Browse files Browse the repository at this point in the history
…ository

Change-Id: Ic2969d328e211e3d977efeb2f778aceec1416a27
  • Loading branch information
buchgr committed Jun 7, 2017
1 parent 987715b commit bce682d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions third_party/grpc/build_defs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ _java_grpc_gensource = rule(
single_file = True,
),
"_java_plugin": attr.label(
default = Label("//third_party/grpc:grpc-java-plugin"),
default = Label("@//third_party/grpc:grpc-java-plugin"),
executable = True,
cfg = "host",
),
Expand Down Expand Up @@ -96,9 +96,9 @@ def java_grpc_library(name, srcs, deps, enable_deprecated=None, visibility=None,
srcs = [gensource_name],
visibility = visibility,
deps = [
"//third_party:jsr305",
"//third_party/grpc:grpc-jar",
"//third_party:guava",
"@//third_party:jsr305",
"@//third_party/grpc:grpc-jar",
"@//third_party:guava",
"@com_google_protobuf//:protobuf_java",
] + deps,
**kwargs
Expand Down
2 changes: 1 addition & 1 deletion third_party/protobuf/3.2.0/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ java_import(
jars = ["libprotobuf_java_util.jar"],
visibility = ["//visibility:public"],
exports = [
"//third_party:gson",
"@//third_party:gson",
],
)

Expand Down

0 comments on commit bce682d

Please sign in to comment.