blob: db05742c678661eecc18457c0528470f57ec7797 [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/test.gni")
import("//build/testing/bootfs_test.gni")
test("log") {
output_name = "log_test"
if (is_fuchsia) {
fdio_config = [ "//build/config/fuchsia:fdio_config" ]
if (configs + fdio_config - fdio_config != configs) {
configs -= fdio_config
}
}
sources = [ "log_test.c" ]
deps = [
"//sdk/lib/fdio",
"//zircon/system/ulib/fbl",
"//zircon/system/ulib/fzl",
"//zircon/system/ulib/log",
"//zircon/system/ulib/log-writer-logger",
"//zircon/system/ulib/log-writer-textfile",
"//zircon/system/ulib/zx",
"//zircon/system/ulib/zxtest",
]
}
bootfs_test("log-bootfs-test") {
name = "log_test"
deps = [ ":log" ]
}