Skip to content

Commit

Permalink
Revert "Use @io_bazel to reference Bazel sources from local repositor…
Browse files Browse the repository at this point in the history
…ies."

This reverts commit c7f2444.
  • Loading branch information
dslomov committed Jan 23, 2018
1 parent c7f2444 commit f234f77
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions third_party/googleapis/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ licenses(["notice"])

exports_files(["LICENSE"])

load("@io_bazel//third_party/grpc:build_defs.bzl", "java_grpc_library")
load("@io_bazel//tools/build_rules:utilities.bzl", "java_library_srcs")
load("@//third_party/grpc:build_defs.bzl", "java_grpc_library")
load("@//tools/build_rules:utilities.bzl", "java_library_srcs")

filegroup(
name = "srcs",
Expand Down Expand Up @@ -44,7 +44,7 @@ filegroup(
":google_devtools_remoteexecution_v1test_remote_execution_java_grpc_srcs",
":google_watch_v1_java_grpc_srcs",
],
visibility = ["@io_bazel//src:__pkg__"],
visibility = ["@//src:__pkg__"],
)

java_proto_library(
Expand Down
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("@io_bazel//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 = [
"@io_bazel//third_party:jsr305",
"@io_bazel//third_party/grpc:grpc-jar",
"@io_bazel//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.4.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 = [
"@io_bazel//third_party:gson",
"@//third_party:gson",
],
)

Expand Down

0 comments on commit f234f77

Please sign in to comment.