| # 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" ] | |
| } | |
| config("include") { | |
| include_dirs = [ "include" ] | |
| } | |
| source_set("ddktl") { | |
| sources = [ | |
| "include/ddktl/device-internal.h", | |
| "include/ddktl/device.h", | |
| "include/ddktl/fidl.h", | |
| "include/ddktl/init-txn.h", | |
| "include/ddktl/resume-txn.h", | |
| "include/ddktl/span.h", | |
| "include/ddktl/suspend-txn.h", | |
| "include/ddktl/unbind-txn.h", | |
| ] | |
| public_configs = [ ":include" ] | |
| public_deps = [ | |
| # <ddktl/fidl.h> has #include <lib/fidl/llcpp/transaction.h>. | |
| "//zircon/public/lib/fidl-llcpp", | |
| # <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", | |
| ] | |
| } |