blob: c34eb336cb7a5dd72aa0888385721e321ed48453 [file] [log] [blame] [edit]
# 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 fxbug.dev/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-textfile") {
sdk = "shared"
sdk_headers = [ "lib/log-writer-textfile/log-writer-textfile.h" ]
shared = true
host = true
sources = [ "log-writer-textfile.cc" ]
deps = [
"//sdk/lib/fdio",
"//zircon/public/lib/fbl",
"//zircon/system/ulib/log",
]
configs += [ "//build/config/fuchsia:static_cpp_standard_library" ]
}