| # 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/config/fuchsia/rules.gni") |
| import("//build/unification/images/migrated_manifest.gni") |
| |
| group("fifo") { |
| deps = [ ":demo-fifo" ] |
| } |
| |
| driver_module("demo-fifo") { |
| defines = [ "_ALL_SOURCE" ] |
| configs += [ "//build/config/fuchsia:enable_zircon_asserts" ] |
| configs += [ "//build/unification/config:zircon-migrated" ] |
| sources = [ "demo-fifo.c" ] |
| deps = [ |
| "//src/devices/lib/driver", |
| "//zircon/public/lib/ddk", |
| ] |
| } |
| |
| migrated_manifest("demo-fifo-manifest") { |
| deps = [ ":demo-fifo" ] |
| } |