| # Copyright 2020 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/test_package.gni") |
| |
| executable("test") { |
| testonly = true |
| output_name = "clocktree_test" |
| |
| sources = [ |
| "clocktree-test.cc", |
| "testclock.cc", |
| ] |
| |
| include_dirs = [ "../include" ] |
| |
| deps = [ |
| "//sdk/lib/fdio", |
| "//src/devices/clock/lib/clocktree", |
| "//zircon/public/lib/fbl", |
| "//zircon/public/lib/zx", |
| "//zircon/public/lib/zxtest", |
| ] |
| } |
| |
| test_package("clocktree_test") { |
| deps = [ ":test" ] |
| tests = [ |
| { |
| name = "clocktree_test" |
| }, |
| ] |
| } |