summaryrefslogtreecommitdiff
path: root/absl/debugging/BUILD.bazel
diff options
context:
space:
mode:
authorGravatar Chris Mihelich <cmihelic@google.com>2024-06-10 12:17:24 -0700
committerGravatar Copybara-Service <copybara-worker@google.com>2024-06-10 12:18:15 -0700
commitd30298a1b6f3dd8939910561e211fe990e4e2e8e (patch)
tree25c12d7fd3ed9fbacf74fde29914651d290ffe74 /absl/debugging/BUILD.bazel
parent96cdf6cc87e7a21d92f9f96a72263a93d3929ec7 (diff)
UTF-8 encoding library to support Rust Punycode decoding.
PiperOrigin-RevId: 641983507 Change-Id: Iad7933884aef6bfd90d159c049a1d698d19456c6
Diffstat (limited to 'absl/debugging/BUILD.bazel')
-rw-r--r--absl/debugging/BUILD.bazel15
1 files changed, 15 insertions, 0 deletions
diff --git a/absl/debugging/BUILD.bazel b/absl/debugging/BUILD.bazel
index 22494554..670f7764 100644
--- a/absl/debugging/BUILD.bazel
+++ b/absl/debugging/BUILD.bazel
@@ -222,10 +222,12 @@ cc_library(
srcs = [
"internal/demangle.cc",
"internal/demangle_rust.cc",
+ "internal/utf8_for_code_point.cc",
],
hdrs = [
"internal/demangle.h",
"internal/demangle_rust.h",
+ "internal/utf8_for_code_point.h",
],
copts = ABSL_DEFAULT_COPTS,
linkopts = ABSL_DEFAULT_LINKOPTS,
@@ -271,6 +273,19 @@ cc_test(
],
)
+cc_test(
+ name = "utf8_for_code_point_test",
+ srcs = ["internal/utf8_for_code_point_test.cc"],
+ copts = ABSL_TEST_COPTS,
+ linkopts = ABSL_DEFAULT_LINKOPTS,
+ deps = [
+ ":demangle_internal",
+ "//absl/base:config",
+ "@com_google_googletest//:gtest",
+ "@com_google_googletest//:gtest_main",
+ ],
+)
+
cc_library(
name = "leak_check",
srcs = ["leak_check.cc"],