blob: e174b36447bfb6bc08cfa4fdc2dd7c5616382c21 [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.
##########################################
# Though under //zircon, this build file #
# is meant to be used in the Fuchsia GN #
# build. #
# See fxbug.dev/36139. #
##########################################
assert(!defined(zx) || zx != "/",
"This file can only be used in the Fuchsia GN build.")
import("//build/test.gni")
import("//build/testing/bootfs_test.gni")
test("kernel-unittests") {
output_name = "kernel-unittests-test"
configs += [ "//build/unification/config:zircon-migrated" ]
sources = [ "kernel-unittests.cc" ]
deps = [
"//sdk/fidl/fuchsia.kernel:fuchsia.kernel_c",
"//sdk/lib/fdio",
"//zircon/public/lib/zx",
"//zircon/public/lib/zxtest",
]
}
bootfs_test("kernel-unittests-bootfs-test") {
name = "kernel-unittests-test"
deps = [ ":kernel-unittests" ]
}