| # 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. |
| |
| group("test") { |
| testonly = true |
| deps = [ |
| ":syslog", |
| ":syslog-static", |
| ] |
| } |
| |
| zx_test("syslog") { |
| sources = [ |
| "syslog_socket_tests.cc", |
| "syslog_tests.cc", |
| ] |
| deps = [ |
| "$zx/system/ulib/fbl", |
| "$zx/system/ulib/fdio", |
| "$zx/system/ulib/syslog", |
| "$zx/system/ulib/unittest", |
| "$zx/system/ulib/zircon", |
| "$zx/system/ulib/zx", |
| ] |
| } |
| |
| zx_test("syslog-static") { |
| sources = [ |
| "syslog_socket_tests.cc", |
| "syslog_tests.cc", |
| ] |
| deps = [ |
| "$zx/system/ulib/fbl", |
| "$zx/system/ulib/fdio", |
| "$zx/system/ulib/syslog:syslog-static", |
| "$zx/system/ulib/unittest", |
| "$zx/system/ulib/zircon", |
| "$zx/system/ulib/zx", |
| ] |
| defines = [ "SYSLOG_STATIC" ] |
| } |