| # Copyright 2021 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/dist/renamed_binary.gni") |
| import("//build/drivers.gni") |
| |
| driver_bind_rules("test-parent-bind") { |
| disable_autobind = true |
| } |
| |
| fuchsia_driver("test-parent-sys_driver") { |
| output_name = "test-parent-sys" |
| sources = [ "test-parent.cc" ] |
| deps = [ |
| ":test-parent-bind", |
| "//src/devices/lib/driver", |
| "//src/lib/ddk", |
| "//src/lib/ddktl", |
| ] |
| } |
| |
| fuchsia_driver_component("test-parent-sys") { |
| deps = [ ":test-parent-sys_driver" ] |
| info = "test-parent-sys-info.json" |
| manifest = "meta/test-parent-sys.cml" |
| } |
| |
| group("test-parent") { |
| deps = [ ":test-parent-sys" ] |
| } |