| # 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/bind/bind.gni") |
| import("//build/config/fuchsia/rules.gni") |
| |
| bind_rules("test-bus-bind") { |
| rules = "test-bus.bind" |
| output = "test-bus-bind.h" |
| deps = [ |
| "//src/devices/bind/fuchsia.platform", |
| "//src/devices/bind/test.platform", |
| ] |
| } |
| |
| driver_module("integration-test") { |
| configs += [ "//build/config:all_source" ] |
| |
| # TODO: testonly = true |
| sources = [ "test.cc" ] |
| deps = [ |
| ":test-bus-bind", |
| "//sdk/banjo/fuchsia.hardware.platform.bus", |
| "//sdk/banjo/fuchsia.hardware.platform.device", |
| "//src/devices/lib/driver", |
| "//src/lib/ddk", |
| "//src/lib/ddktl", |
| "//zircon/public/lib/fbl", |
| ] |
| } |