blob: e740a5399e7412b15a0f28c991aed0827c3bd546 [file] [log] [blame]
# Copyright 2018 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/package.gni")
source_set("cpp") {
sources = [
"logger.cc",
"logger.h",
"logger_init.cc",
]
public_deps = [
"//zircon/public/lib/syslog",
]
public_configs = [ "//garnet/public:config" ]
}
executable("syslog_cpp_unittests") {
testonly = true
sources = [
"logger_unittest.cc",
"run_all_unittests.cc",
]
deps = [
":cpp",
"//third_party/googletest:gtest",
"//zircon/public/lib/syslog",
"//zircon/public/lib/zx",
]
}
package("tests") {
testonly = true
package_name = "syslog_cpp_tests"
deps = [
":syslog_cpp_unittests",
]
tests = [
{
name = "syslog_cpp_unittests"
},
]
}