| # 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. |
| |
| group("broker") { |
| deps = [ |
| ":nand-broker", |
| ] |
| } |
| |
| driver("nand-broker") { |
| sources = [ |
| "bind.c", |
| "broker.cpp", |
| ] |
| deps = [ |
| "$zx/system/banjo/ddk-protocol-nand", |
| "$zx/system/fidl/fuchsia-hardware-nand:c", |
| "$zx/system/fidl/fuchsia-nand:c", |
| "$zx/system/ulib/ddk", |
| "$zx/system/ulib/ddktl", |
| "$zx/system/ulib/fbl", |
| "$zx/system/ulib/sync", |
| "$zx/system/ulib/zircon", |
| "$zx/system/ulib/zx", |
| "$zx/system/ulib/zxcpp", |
| ] |
| } |
| |
| test("nand") { |
| sources = [ |
| "test/broker-test.cpp", |
| "test/main.cpp", |
| "test/parent.cpp", |
| ] |
| deps = [ |
| "$zx/system/banjo/ddk-protocol-nand", |
| "$zx/system/fidl/fuchsia-hardware-nand:c", |
| "$zx/system/fidl/fuchsia-nand:c", |
| "$zx/system/ulib/devmgr-integration-test", |
| "$zx/system/ulib/devmgr-launcher", |
| "$zx/system/ulib/fbl", |
| "$zx/system/ulib/fdio", |
| "$zx/system/ulib/fs-management", |
| "$zx/system/ulib/fzl", |
| "$zx/system/ulib/unittest", |
| "$zx/system/ulib/zx", |
| "$zx/system/ulib/zxcpp", |
| ] |
| } |