| # 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("test") { |
| testonly = true |
| deps = [ ":range" ] |
| } |
| |
| test("range") { |
| sources = [ |
| "interval-tree-test.cc", |
| "range.cc", |
| ] |
| deps = [ |
| "//sdk/lib/fdio", |
| "//zircon/system/ulib/fbl", |
| "//zircon/system/ulib/range", |
| "//zircon/system/ulib/zxtest", |
| ] |
| } |
| |
| fuchsia_unittest_package("range-test-pkg") { |
| package_name = "range" |
| deps = [ ":range" ] |
| } |
| |
| group("tests") { |
| testonly = true |
| deps = [ ":range-test-pkg" ] |
| } |