| # 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/components.gni") |
| import("//build/testing/cc_test_executable.gni") |
| |
| cc_test_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/system/ulib/fbl", |
| "//zircon/system/ulib/zx", |
| "//zircon/system/ulib/zxtest", |
| ] |
| } |
| |
| fuchsia_unittest_package("clocktree_test") { |
| deps = [ ":test" ] |
| } |