From 868060b2925a98a22c4a2e760dd38da0bef6146c Mon Sep 17 00:00:00 2001 From: Jakob Buchgraber Date: Mon, 9 Jul 2018 16:06:26 +0200 Subject: Revert "Update protobuf to 3.6.0. Fixes #5439" This reverts commit a2cac548616e6e6f433df27146c2971f352a4041. --- third_party/grpc/build_defs.bzl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'third_party/grpc') diff --git a/third_party/grpc/build_defs.bzl b/third_party/grpc/build_defs.bzl index 8ae42acad2..4240c1debf 100644 --- a/third_party/grpc/build_defs.bzl +++ b/third_party/grpc/build_defs.bzl @@ -6,9 +6,7 @@ load("//third_party/grpc:build_defs.bzl", "java_grpc_library") def _path_ignoring_repository(f): if (len(f.owner.workspace_root) == 0): return f.short_path - # If |f| is a generated file, it will have "bazel-out/*/genfiles" prefix - # before "external/workspace", so we need to add the starting index of "external/workspace" - return f.path[f.path.find(f.owner.workspace_root)+len(f.owner.workspace_root)+1:] + return f.path[len(f.owner.workspace_root)+1:] def _gensource_impl(ctx): if len(ctx.attr.srcs) > 1: -- cgit v1.2.3