blob: 1d5886aa2138c448b1d20ab96dbc4181dd2dbdf1 [file] [log] [blame]
# Copyright 2020 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")
executable("support") {
testonly = true
sources = [ "support.cc" ]
deps = [
"//sdk/fidl/fuchsia.boot",
"//sdk/fidl/fuchsia.boot:fuchsia.boot_c",
"//sdk/fidl/fuchsia.boot:fuchsia.boot_llcpp",
"//sdk/fidl/fuchsia.device.manager:fuchsia.device.manager_llcpp",
"//sdk/fidl/fuchsia.kernel:fuchsia.kernel_c",
"//sdk/fidl/fuchsia.kernel:fuchsia.kernel_llcpp",
"//sdk/fidl/fuchsia.power.manager:fuchsia.power.manager_llcpp",
"//sdk/lib/sys/cpp",
"//src/lib/ddk",
"//src/lib/ddk:ddk-metadata-headers",
"//zircon/system/ulib/async-loop:async-loop-cpp",
"//zircon/system/ulib/async-loop:async-loop-default",
"//zircon/system/ulib/fidl-async",
"//zircon/system/ulib/fidl-async:fidl-async-cpp",
"//zircon/system/ulib/mock-boot-arguments",
]
# TODO(fxbug.dev/69585): This target uses raw zx::channel with LLCPP which is deprecated.
# Please migrate to typed channel APIs (fidl::ClientEnd<T>, fidl::ServerEnd<T>).
# See linked bug for details.
configs += [ "//build/cpp:fidl-llcpp-deprecated-raw-channels" ]
}
fuchsia_component("driver-manager-test") {
testonly = true
manifest = "meta/driver_manager_test.cml"
deps = [
"//src/devices/bin/driver_host:driver_host",
"//src/devices/bin/driver_manager",
"//src/devices/bus/drivers/platform",
]
}
source_set("client") {
testonly = true
sources = [
"bind_devfs_to_namespace.cc",
"bind_devfs_to_namespace.h",
]
deps = [
"//sdk/fidl/fuchsia.sys2",
"//sdk/lib/sys/cpp",
"//sdk/lib/syslog/cpp",
]
public_deps = [ "//zircon/public/lib/zxc" ]
# TODO(fxbug.dev/69585): This target uses raw zx::channel with LLCPP which is deprecated.
# Please migrate to typed channel APIs (fidl::ClientEnd<T>, fidl::ServerEnd<T>).
# See linked bug for details.
configs += [ "//build/cpp:fidl-llcpp-deprecated-raw-channels" ]
}