| # 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/components.gni") |
| import("//build/cpp/library_headers.gni") |
| import("//build/cpp/sdk_source_set.gni") |
| |
| config("include") { |
| include_dirs = [ "include" ] |
| } |
| |
| sdk_source_set("driver_runtime") { |
| category = "partner" |
| sdk_name = "driver_runtime" |
| sources = [ |
| "include/lib/fdf/arena.h", |
| "include/lib/fdf/channel.h", |
| "include/lib/fdf/channel_read.h", |
| "include/lib/fdf/dispatcher.h", |
| "include/lib/fdf/types.h", |
| ] |
| public_configs = [ ":include" ] |
| public_deps = [ |
| # <lib/fdf/channel_read.h> and <lib/fdf/dispatcher.h> have #include <lib/async/dispatcher.h>. |
| "//zircon/system/ulib/async", |
| ] |
| deps = [ |
| "//zircon/system/ulib/sync", |
| "//zircon/system/ulib/zx", |
| ] |
| } |