blob: 85c6ef86deac166169edff1129280ca374ec99f7 [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")
group("test") {
testonly = true
deps = [ ":zx" ]
}
test("zx") {
output_name = "zx-test"
if (is_fuchsia) {
configs += [ "//build/unification/config:zircon-migrated" ]
}
sources = [
"object-test.cc",
"traits.cc",
"util.cc",
"util.h",
"zx-test.cc",
]
deps = [
"//sdk/fidl/fuchsia.boot:fuchsia.boot_c",
"//sdk/fidl/fuchsia.kernel:fuchsia.kernel_c",
"//sdk/lib/fdio",
"//zircon/public/lib/fbl",
"//zircon/public/lib/zx",
"//zircon/public/lib/zxtest",
"//zircon/system/ulib/fzl",
"//zircon/system/ulib/test-exceptions",
]
}
bootfs_test("zx-bootfs-test") {
name = "zx-test"
deps = [ ":zx" ]
}