From 981fbd32b11eb1aa386ac688e8b5328b0802f6ed Mon Sep 17 00:00:00 2001 From: Esun Kim Date: Tue, 12 Jul 2022 14:48:00 -0700 Subject: [PATCH] Clean up absl-base and time external binds. (#30278) * Clean up absl-base and time binds. * Fix fix_build_deps.py Co-authored-by: Jingyi Wei --- BUILD | 6 +++--- bazel/grpc_deps.bzl | 15 --------------- tools/distrib/fix_build_deps.py | 2 +- 3 files changed, 4 insertions(+), 19 deletions(-) diff --git a/BUILD b/BUILD index 9d6c0a550e1..fc06a3eb07b 100644 --- a/BUILD +++ b/BUILD @@ -6890,12 +6890,12 @@ grpc_cc_library( "src/cpp/ext/filters/census/server_filter.h", ], external_deps = [ - "absl-base", - "absl-time", + "absl/base", "absl/base:core_headers", "absl/status", - "absl/types:optional", "absl/strings", + "absl/time", + "absl/types:optional", "opencensus-trace", "opencensus-trace-context_util", "opencensus-trace-propagation", diff --git a/bazel/grpc_deps.bzl b/bazel/grpc_deps.bzl index cde9d2d955d..6bcdb6344c7 100644 --- a/bazel/grpc_deps.bzl +++ b/bazel/grpc_deps.bzl @@ -55,21 +55,6 @@ def grpc_deps(): actual = "@upb//:generated_code_support__only_for_generated_code_do_not_use__i_give_permission_to_break_me", ) - native.bind( - name = "absl", - actual = "@com_google_absl//absl", - ) - - native.bind( - name = "absl-base", - actual = "@com_google_absl//absl/base", - ) - - native.bind( - name = "absl-time", - actual = "@com_google_absl//absl/time:time", - ) - native.bind( name = "libssl", actual = "@boringssl//:ssl", diff --git a/tools/distrib/fix_build_deps.py b/tools/distrib/fix_build_deps.py index 88c9bd06153..f4324b3837e 100755 --- a/tools/distrib/fix_build_deps.py +++ b/tools/distrib/fix_build_deps.py @@ -47,7 +47,7 @@ EXTERNAL_DEPS = { 'absl/base', # TODO(ctiller) remove this 'absl/base/internal/endian.h': - 'absl-base', + 'absl/base', 'absl/base/thread_annotations.h': 'absl/base:core_headers', 'absl/container/flat_hash_map.h':