| # 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/components.gni") |
| import("//build/test.gni") |
| |
| group("tests") { |
| testonly = true |
| deps = [ ":kernel-clocks-test-package" ] |
| } |
| |
| test("kernel-clocks") { |
| output_name = "kernel-clocks-test" |
| sources = [ "kernel-clocks.cc" ] |
| deps = [ |
| "//sdk/lib/fdio", |
| "//zircon/system/ulib/affine", |
| "//zircon/system/ulib/zxtest", |
| ] |
| } |
| |
| fuchsia_unittest_package("kernel-clocks-test-package") { |
| deps = [ ":kernel-clocks" ] |
| } |