blob: f1cc4ee6839554804037b6589380a9455c5c05cd [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.
library("unittest") {
sdk = "source"
sdk_headers = [ "unittest/unittest.h" ]
testonly = true
host = true
shared = true
sources = [
"all-tests.cc",
"unittest-main.cc",
"unittest.cc",
"watchdog.cc",
]
deps = [
"$zx/system/ulib/fdio",
"$zx/system/ulib/pretty",
]
if (current_os == "linux") {
libs = [ "pthread" ]
}
if (is_fuchsia) {
deps += [ "$zx/system/ulib/zx" ]
}
}