diff options
author | Jakob Buchgraber <buchgr@google.com> | 2018-07-09 16:06:26 +0200 |
---|---|---|
committer | Jakob Buchgraber <buchgr@google.com> | 2018-07-09 16:06:26 +0200 |
commit | 868060b2925a98a22c4a2e760dd38da0bef6146c (patch) | |
tree | 8cadd68b0503dae8605144feaa3fba1b20804821 /third_party/grpc | |
parent | a2cac548616e6e6f433df27146c2971f352a4041 (diff) |
Revert "Update protobuf to 3.6.0. Fixes #5439"
This reverts commit a2cac548616e6e6f433df27146c2971f352a4041.
Diffstat (limited to 'third_party/grpc')
-rw-r--r-- | third_party/grpc/build_defs.bzl | 4 |
1 files changed, 1 insertions, 3 deletions
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: |