blob: 63d444c81255799efcef27ddbfacecace473f617 [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.
##########################################
# Though under //zircon, this build file #
# is meant to be used in the Fuchsia GN #
# build. #
# See fxb/36548. #
##########################################
assert(!defined(zx) || zx != "/",
"This file can only be used in the Fuchsia GN build.")
import("//build/unification/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",
]
shared = true
host = true
sources = [ "log-writer-logger.cc" ]
deps = [
"//zircon/public/lib/fbl",
"//zircon/public/lib/fdio",
"//zircon/public/lib/fidl",
"//zircon/public/lib/log",
"//zircon/public/lib/zx",
"//zircon/system/fidl/fuchsia-logger:c",
]
configs += [ "//build/config/fuchsia:static_cpp_standard_library" ]
}