| # 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/test.gni") |
| |
| group("tests") { |
| testonly = true |
| deps = [ ":ddk-unittest-package" ] |
| } |
| |
| test("ddk-unittest") { |
| sources = [ |
| "binding-test.cc", |
| "phys-iter-test.cc", |
| ] |
| deps = [ |
| "//sdk/lib/fdio", |
| "//src/lib/ddk", |
| |
| # TODO(https://fxbug.dev/42113849): Migrate to the new bind rules and delete the below |
| "//src/lib/ddk:ddk-deprecated-binding-headers", |
| "//zircon/system/ulib/fbl", |
| "//zircon/system/ulib/zxtest", |
| ] |
| } |
| |
| fuchsia_unittest_package("ddk-unittest-package") { |
| package_name = "ddk-unittest" |
| deps = [ ":ddk-unittest" ] |
| } |