| # Copyright 2026 The Fuchsia Authors. All rights reserved. | |
| # Use of this source code is governed by a BSD-style license that can be | |
| # found in the LICENSE file. | |
| ## BAZEL2GN SENTINEL - DO NOT EDIT BELOW THIS LINE ## | |
| # | |
| # ________ _________ ________ ________ | |
| # |\ ____\|\___ ___\\ __ \|\ __ \ | |
| # \ \ \___|\|___ \ \_\ \ \|\ \ \ \|\ \ | |
| # \ \_____ \ \ \ \ \ \ \\\ \ \ ____\ | |
| # \|____|\ \ \ \ \ \ \ \\\ \ \ \___| | |
| # ____\_\ \ \ \__\ \ \_______\ \__\ | |
| # |\_________\ \|__| \|_______|\|__| | |
| # \|_________| | |
| # | |
| # | |
| # AUTO-GENERATED - DO NOT EDIT | |
| # | |
| # The targets below are auto-generated based on the targets defined in the | |
| # BUILD.bazel file from the same directory. If you made changes to targets in | |
| # Bazel, instead of editing this file manually, run: | |
| # | |
| # > fx bazel2gn | |
| # | |
| # Please do NOT edit this file directly. Instead, edit the BUILD.bazel file and | |
| # rerun bazel2gn. | |
| import("//build/tools/bazel2gn/bazel_migration.gni") | |
| static_library("format") { | |
| sources = [ | |
| "async_output_buffer.cc", | |
| "format.cc", | |
| "format_name.cc", | |
| "output_buffer.cc", | |
| "string_util.cc", | |
| ] | |
| public = [ | |
| "async_output_buffer.h", | |
| "format.h", | |
| "format_name.h", | |
| "output_buffer.h", | |
| "string_util.h", | |
| ] | |
| visibility = [ | |
| ":*", | |
| "//src/developer/debug/zxdb/client:*", | |
| "//src/developer/debug/zxdb/console:*", | |
| ] | |
| public_deps = [ | |
| "//sdk/lib/fit", | |
| "//sdk/lib/syslog/cpp", | |
| "//src/developer/debug/shared", | |
| "//src/developer/debug/zxdb/common", | |
| "//src/developer/debug/zxdb/expr", | |
| "//src/developer/debug/zxdb/symbols", | |
| "//src/lib/fxl", | |
| ] | |
| } | |
| source_set("test_support") { | |
| testonly = true | |
| sources = [ "async_output_buffer_test_util.cc" ] | |
| public = [ "async_output_buffer_test_util.h" ] | |
| visibility = [ | |
| ":*", | |
| "//src/developer/debug/zxdb/console:*", | |
| ] | |
| public_deps = [ | |
| ":format", | |
| "//src/developer/debug/shared", | |
| ] | |
| } | |
| source_set("tests") { | |
| testonly = true | |
| sources = [ | |
| "async_output_buffer_unittest.cc", | |
| "format_name_unittest.cc", | |
| "format_unittest.cc", | |
| "output_buffer_unittest.cc", | |
| "string_util_unittest.cc", | |
| ] | |
| deps = [ | |
| ":format", | |
| ":test_support", | |
| "//src/developer/debug/shared", | |
| "//src/developer/debug/zxdb/common:test_support", | |
| "//src/developer/debug/zxdb/expr:test_support", | |
| "//src/developer/debug/zxdb/symbols:test_support", | |
| "//third_party/googletest:gtest", | |
| ] | |
| } |