[grpc][Gpr_To_Absl_Logging] Migrating from gpr to absl logging BUILD

pull/36604/head
tanvi-jagtap 7 months ago
parent 28af2186fb
commit 8995ba4914
  1. 5
      test/core/network_benchmarks/BUILD
  2. 6
      test/core/promise/BUILD
  3. 16
      test/core/resolver/BUILD
  4. 1
      test/core/resource_quota/BUILD
  5. 37
      test/core/security/BUILD
  6. 6
      test/core/slice/BUILD
  7. 35
      test/core/surface/BUILD
  8. 2
      test/core/xds/BUILD

@ -27,7 +27,10 @@ licenses(["notice"])
grpc_cc_binary( grpc_cc_binary(
name = "low_level_ping_pong", name = "low_level_ping_pong",
srcs = ["low_level_ping_pong.cc"], srcs = ["low_level_ping_pong.cc"],
external_deps = ["absl/log:check"], external_deps = [
"absl/log:check",
"absl/log:log",
],
language = "C++", language = "C++",
tags = ["no_windows"], tags = ["no_windows"],
deps = [ deps = [

@ -599,7 +599,10 @@ grpc_cc_test(
grpc_cc_test( grpc_cc_test(
name = "sleep_test", name = "sleep_test",
srcs = ["sleep_test.cc"], srcs = ["sleep_test.cc"],
external_deps = ["gtest"], external_deps = [
"absl/log:log",
"gtest",
],
language = "c++", language = "c++",
tags = ["promise_test"], tags = ["promise_test"],
uses_event_engine = False, uses_event_engine = False,
@ -652,6 +655,7 @@ grpc_cc_test(
srcs = ["party_test.cc"], srcs = ["party_test.cc"],
external_deps = [ external_deps = [
"absl/base:core_headers", "absl/base:core_headers",
"absl/log:log",
"gtest", "gtest",
], ],
language = "c++", language = "c++",

@ -40,6 +40,7 @@ grpc_cc_test(
name = "binder_resolver_test", name = "binder_resolver_test",
srcs = ["binder_resolver_test.cc"], srcs = ["binder_resolver_test.cc"],
external_deps = [ external_deps = [
"absl/log:log",
"gtest", "gtest",
], ],
language = "C++", language = "C++",
@ -54,7 +55,10 @@ grpc_cc_test(
grpc_cc_test( grpc_cc_test(
name = "dns_resolver_test", name = "dns_resolver_test",
srcs = ["dns_resolver_test.cc"], srcs = ["dns_resolver_test.cc"],
external_deps = ["gtest"], external_deps = [
"absl/log:log",
"gtest",
],
language = "C++", language = "C++",
deps = [ deps = [
"//:gpr", "//:gpr",
@ -66,7 +70,10 @@ grpc_cc_test(
grpc_cc_test( grpc_cc_test(
name = "dns_resolver_cooldown_test", name = "dns_resolver_cooldown_test",
srcs = ["dns_resolver_cooldown_test.cc"], srcs = ["dns_resolver_cooldown_test.cc"],
external_deps = ["gtest"], external_deps = [
"absl/log:log",
"gtest",
],
language = "C++", language = "C++",
deps = [ deps = [
"//:gpr", "//:gpr",
@ -80,7 +87,10 @@ grpc_cc_test(
grpc_cc_test( grpc_cc_test(
name = "sockaddr_resolver_test", name = "sockaddr_resolver_test",
srcs = ["sockaddr_resolver_test.cc"], srcs = ["sockaddr_resolver_test.cc"],
external_deps = ["gtest"], external_deps = [
"absl/log:log",
"gtest",
],
language = "C++", language = "C++",
deps = [ deps = [
"//:gpr", "//:gpr",

@ -117,6 +117,7 @@ grpc_cc_test(
srcs = ["memory_quota_stress_test.cc"], srcs = ["memory_quota_stress_test.cc"],
external_deps = [ external_deps = [
"absl/base:core_headers", "absl/base:core_headers",
"absl/log:log",
"absl/strings", "absl/strings",
"absl/types:optional", "absl/types:optional",
"gtest", "gtest",

@ -60,6 +60,7 @@ grpc_cc_library(
name = "oauth2_utils", name = "oauth2_utils",
srcs = ["oauth2_utils.cc"], srcs = ["oauth2_utils.cc"],
hdrs = ["oauth2_utils.h"], hdrs = ["oauth2_utils.h"],
external_deps = ["absl/log:log"],
language = "C++", language = "C++",
visibility = ["//test/cpp:__subpackages__"], visibility = ["//test/cpp:__subpackages__"],
deps = ["//:grpc"], deps = ["//:grpc"],
@ -68,7 +69,10 @@ grpc_cc_library(
grpc_cc_test( grpc_cc_test(
name = "auth_context_test", name = "auth_context_test",
srcs = ["auth_context_test.cc"], srcs = ["auth_context_test.cc"],
external_deps = ["gtest"], external_deps = [
"absl/log:log",
"gtest",
],
language = "C++", language = "C++",
uses_event_engine = False, uses_event_engine = False,
uses_polling = False, uses_polling = False,
@ -99,6 +103,7 @@ grpc_cc_test(
srcs = ["credentials_test.cc"], srcs = ["credentials_test.cc"],
external_deps = [ external_deps = [
"absl/log:check", "absl/log:check",
"absl/log:log",
"gtest", "gtest",
], ],
language = "C++", language = "C++",
@ -144,7 +149,10 @@ grpc_cc_test(
grpc_cc_test( grpc_cc_test(
name = "json_token_test", name = "json_token_test",
srcs = ["json_token_test.cc"], srcs = ["json_token_test.cc"],
external_deps = ["gtest"], external_deps = [
"absl/log:log",
"gtest",
],
language = "C++", language = "C++",
tags = ["credential_token_tests"], tags = ["credential_token_tests"],
uses_event_engine = False, uses_event_engine = False,
@ -177,7 +185,10 @@ grpc_cc_test(
grpc_cc_test( grpc_cc_test(
name = "secure_endpoint_test", name = "secure_endpoint_test",
srcs = ["secure_endpoint_test.cc"], srcs = ["secure_endpoint_test.cc"],
external_deps = ["gtest"], external_deps = [
"absl/log:log",
"gtest",
],
flaky = True, flaky = True,
language = "C++", language = "C++",
deps = [ deps = [
@ -193,7 +204,10 @@ grpc_cc_test(
grpc_cc_test( grpc_cc_test(
name = "security_connector_test", name = "security_connector_test",
srcs = ["security_connector_test.cc"], srcs = ["security_connector_test.cc"],
external_deps = ["gtest"], external_deps = [
"absl/log:log",
"gtest",
],
language = "C++", language = "C++",
deps = [ deps = [
"//:gpr", "//:gpr",
@ -255,7 +269,10 @@ grpc_cc_binary(
grpc_cc_binary( grpc_cc_binary(
name = "fetch_oauth2", name = "fetch_oauth2",
srcs = ["fetch_oauth2.cc"], srcs = ["fetch_oauth2.cc"],
external_deps = ["absl/log:check"], external_deps = [
"absl/log:check",
"absl/log:log",
],
language = "C++", language = "C++",
deps = [ deps = [
":oauth2_utils", ":oauth2_utils",
@ -322,7 +339,10 @@ grpc_cc_test(
grpc_cc_test( grpc_cc_test(
name = "alts_security_connector_test", name = "alts_security_connector_test",
srcs = ["alts_security_connector_test.cc"], srcs = ["alts_security_connector_test.cc"],
external_deps = ["gtest"], external_deps = [
"absl/log:log",
"gtest",
],
language = "C++", language = "C++",
deps = [ deps = [
"//:gpr", "//:gpr",
@ -440,7 +460,10 @@ grpc_cc_test(
grpc_cc_test( grpc_cc_test(
name = "grpc_tls_certificate_verifier_test", name = "grpc_tls_certificate_verifier_test",
srcs = ["grpc_tls_certificate_verifier_test.cc"], srcs = ["grpc_tls_certificate_verifier_test.cc"],
external_deps = ["gtest"], external_deps = [
"absl/log:log",
"gtest",
],
language = "C++", language = "C++",
deps = [ deps = [
"//:gpr", "//:gpr",

@ -65,6 +65,7 @@ grpc_cc_test(
name = "slice_test", name = "slice_test",
srcs = ["slice_test.cc"], srcs = ["slice_test.cc"],
external_deps = [ external_deps = [
"absl/log:log",
"gtest", "gtest",
], ],
language = "C++", language = "C++",
@ -81,7 +82,10 @@ grpc_cc_test(
grpc_cc_test( grpc_cc_test(
name = "slice_string_helpers_test", name = "slice_string_helpers_test",
srcs = ["slice_string_helpers_test.cc"], srcs = ["slice_string_helpers_test.cc"],
external_deps = ["gtest"], external_deps = [
"absl/log:log",
"gtest",
],
language = "C++", language = "C++",
uses_event_engine = False, uses_event_engine = False,
uses_polling = False, uses_polling = False,

@ -21,7 +21,10 @@ grpc_package(name = "test/core/surface")
grpc_cc_test( grpc_cc_test(
name = "grpc_byte_buffer_reader_test", name = "grpc_byte_buffer_reader_test",
srcs = ["byte_buffer_reader_test.cc"], srcs = ["byte_buffer_reader_test.cc"],
external_deps = ["gtest"], external_deps = [
"absl/log:log",
"gtest",
],
language = "C++", language = "C++",
uses_event_engine = False, uses_event_engine = False,
uses_polling = False, uses_polling = False,
@ -49,7 +52,10 @@ grpc_cc_test(
grpc_cc_test( grpc_cc_test(
name = "grpc_completion_queue_test", name = "grpc_completion_queue_test",
srcs = ["completion_queue_test.cc"], srcs = ["completion_queue_test.cc"],
external_deps = ["gtest"], external_deps = [
"absl/log:log",
"gtest",
],
language = "C++", language = "C++",
deps = [ deps = [
"//:gpr", "//:gpr",
@ -61,7 +67,10 @@ grpc_cc_test(
grpc_cc_test( grpc_cc_test(
name = "completion_queue_threading_test", name = "completion_queue_threading_test",
srcs = ["completion_queue_threading_test.cc"], srcs = ["completion_queue_threading_test.cc"],
external_deps = ["gtest"], external_deps = [
"absl/log:log",
"gtest",
],
language = "C++", language = "C++",
deps = [ deps = [
"//:gpr", "//:gpr",
@ -73,7 +82,10 @@ grpc_cc_test(
grpc_cc_test( grpc_cc_test(
name = "concurrent_connectivity_test", name = "concurrent_connectivity_test",
srcs = ["concurrent_connectivity_test.cc"], srcs = ["concurrent_connectivity_test.cc"],
external_deps = ["gtest"], external_deps = [
"absl/log:log",
"gtest",
],
language = "C++", language = "C++",
deps = [ deps = [
"//:gpr", "//:gpr",
@ -120,7 +132,10 @@ grpc_cc_test(
data = [ data = [
"//src/core/tsi/test_creds:ca.pem", "//src/core/tsi/test_creds:ca.pem",
], ],
external_deps = ["gtest"], external_deps = [
"absl/log:log",
"gtest",
],
language = "C++", language = "C++",
deps = [ deps = [
"//:gpr", "//:gpr",
@ -150,7 +165,10 @@ grpc_cc_test(
"//src/core/tsi/test_creds:server1.key", "//src/core/tsi/test_creds:server1.key",
"//src/core/tsi/test_creds:server1.pem", "//src/core/tsi/test_creds:server1.pem",
], ],
external_deps = ["gtest"], external_deps = [
"absl/log:log",
"gtest",
],
language = "C++", language = "C++",
deps = [ deps = [
"//:gpr", "//:gpr",
@ -178,7 +196,10 @@ grpc_cc_test(
grpc_cc_test( grpc_cc_test(
name = "server_test", name = "server_test",
srcs = ["server_test.cc"], srcs = ["server_test.cc"],
external_deps = ["gtest"], external_deps = [
"absl/log:log",
"gtest",
],
language = "C++", language = "C++",
deps = [ deps = [
"//:gpr", "//:gpr",

@ -136,6 +136,7 @@ grpc_cc_library(
hdrs = ["xds_transport_fake.h"], hdrs = ["xds_transport_fake.h"],
external_deps = [ external_deps = [
"absl/log:check", "absl/log:check",
"absl/log:log",
"absl/strings", "absl/strings",
"absl/types:optional", "absl/types:optional",
], ],
@ -182,6 +183,7 @@ grpc_proto_fuzzer(
name = "xds_client_fuzzer", name = "xds_client_fuzzer",
srcs = ["xds_client_fuzzer.cc"], srcs = ["xds_client_fuzzer.cc"],
corpus = "xds_client_corpora", corpus = "xds_client_corpora",
external_deps = ["absl/log:log"],
language = "C++", language = "C++",
proto = "xds_client_fuzzer.proto", proto = "xds_client_fuzzer.proto",
proto_deps = [ proto_deps = [

Loading…
Cancel
Save