| # 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/unification/zx_library.gni") |
| |
| group("tests") { |
| testonly = true |
| deps = [ "tests" ] |
| } |
| |
| zx_library("ddktl") { |
| sdk = "source" |
| sdk_publishable = false |
| sdk_headers = [ |
| "ddktl/device-internal.h", |
| "ddktl/device.h", |
| ] |
| sources = [] |
| public_deps = [ |
| # <ddktl/fidl.h> has #include <lib/fidl/llcpp/transaction.h>. |
| "//zircon/public/lib/fidl-llcpp:headers", |
| |
| # <ddktl/device.h> has #include <lib/zx/channel.h>. |
| "//zircon/public/lib/zx", |
| |
| # <ddktl/fidl.h> has #include <ddk/device.h> |
| "//src/lib/ddk", |
| ] |
| deps = [ |
| "//src/devices/lib/mmio", |
| "//src/lib/ddk", |
| "//zircon/public/lib/fbl", |
| "//zircon/public/lib/sync", |
| "//zircon/public/lib/zx", |
| ] |
| } |