blob: 85566089d56a9018d06728bc9d95c355065d9ee0 [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("//src/sys/build/fuchsia_unittest_package.gni")
test("thread-safe-deleter") {
output_name = "thread-safe-deleter-test"
configs += [ "//build/unification/config:zircon-migrated" ]
sources = [ "thread-safe-deleter-test.cc" ]
deps = [
"//sdk/lib/fdio",
"//sdk/lib/fit",
"//zircon/public/lib/zxtest",
"//zircon/system/ulib/async-loop:async-loop-cpp",
"//zircon/system/ulib/async-loop:async-loop-default",
"//zircon/system/ulib/thread-safe-deleter",
]
}
fuchsia_unittest_package("thread-safe-deleter-test-pkg") {
package_name = "thread-safe-deleter-test"
deps = [ ":thread-safe-deleter" ]
}
group("tests") {
testonly = true
deps = [ ":thread-safe-deleter-test-pkg" ]
}