blob: ae751e0f051303887214d4f815806d55ff3bdfc5 [file]
# Copyright 2023 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")
sdk_source_set("cpp") {
sources = [ "logger.cc" ]
public = [
"internal/logger_internal.h",
"internal/panic.h",
"logger.h",
"structured_logger.h",
]
sdk_area = "Driver SDK"
category = "partner"
public_deps = [
"//sdk/lib/stdcompat",
"//sdk/lib/zircon-assert",
"//zircon/system/ulib/zx",
]
if (is_fuchsia) {
public_deps += [
"//sdk/fidl/fuchsia.logger:fuchsia.logger_cpp",
"//sdk/lib/driver/incoming/cpp",
"//sdk/lib/fdio",
"//sdk/lib/syslog/structured_backend",
]
}
if (!is_fuchsia) {
public_deps += [ "//sdk/lib/syslog/cpp" ]
}
sdk_name = "driver_logging_cpp"
include_base = "//sdk"
public_configs = [ "//sdk/config" ]
stable = true
visibility = [ "//*" ]
}