blob: 5c78d9469b8c9f216ae3057a2ef1e454532863a1 [file] [log] [blame]
# Copyright 2019 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.
import("//build/zircon/zx_library.gni")
zx_library("log-writer-logger") {
sdk = "shared"
sdk_headers = [
"lib/log-writer-logger/log-writer-logger.h",
"lib/log-writer-logger/wire_format.h",
]
sources = [ "log-writer-logger.cc" ]
deps = [
"//sdk/fidl/fuchsia.logger:fuchsia.logger_llcpp",
"//sdk/lib/fdio",
"//zircon/system/ulib/fbl",
"//zircon/system/ulib/fidl",
"//zircon/system/ulib/log",
"//zircon/system/ulib/zx",
]
configs += [ "//build/config/fuchsia:static_cpp_standard_library" ]
# TODO(fxbug.dev/69585): This target uses raw zx::channel with LLCPP which is deprecated.
# Please migrate to typed channel APIs (fidl::ClientEnd<T>, fidl::ServerEnd<T>).
# See linked bug for details.
configs += [ "//build/cpp:fidl-llcpp-deprecated-raw-channels" ]
}