diff options
Diffstat (limited to 'absl/log/BUILD.bazel')
-rw-r--r-- | absl/log/BUILD.bazel | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/absl/log/BUILD.bazel b/absl/log/BUILD.bazel index 3e9d1421..733b0c3f 100644 --- a/absl/log/BUILD.bazel +++ b/absl/log/BUILD.bazel @@ -196,6 +196,18 @@ cc_library( ], ) +cc_library( + name = "structured", + hdrs = ["structured.h"], + copts = ABSL_DEFAULT_COPTS, + linkopts = ABSL_DEFAULT_LINKOPTS, + deps = [ + "//absl/base:config", + "//absl/log/internal:structured", + "//absl/strings", + ], +) + # Test targets cc_test( name = "basic_log_test", @@ -458,6 +470,23 @@ cc_test( ], ) +cc_test( + name = "structured_test", + size = "small", + srcs = ["structured_test.cc"], + copts = ABSL_TEST_COPTS, + linkopts = ABSL_DEFAULT_LINKOPTS, + deps = [ + ":log", + ":scoped_mock_log", + ":structured", + "//absl/base:core_headers", + "//absl/log/internal:test_helpers", + "//absl/log/internal:test_matchers", + "@com_google_googletest//:gtest_main", + ], +) + cc_binary( name = "log_benchmark", testonly = 1, |