From 8cc62f781ff4e724f8c2f763487390063fcc79e4 Mon Sep 17 00:00:00 2001 From: Jakob Buchgraber Date: Mon, 9 Jul 2018 16:45:04 +0200 Subject: Revert "Update protobuf to 3.6.0. Fixes #5439" This reverts commit 6fd4e0edd4de22dec9eda13dc0b29214f2ca117e. --- 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