blob: bafa67b253fc7b9902c7d6966b89c2f5fc76697d [file] [log] [blame]
# 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/test.gni")
import("//build/testing/bootfs_test.gni")
test("device-enumeration") {
output_name = "device-enumeration-test"
configs += [ "//build/unification/config:zircon-migrated" ]
sources = [
"aemu.cc",
"aemu.h",
"main.cc",
]
deps = [
"//sdk/fidl/fuchsia.hardware.acpi:fuchsia.hardware.acpi_llcpp",
"//sdk/fidl/fuchsia.sysinfo:fuchsia.sysinfo_c",
"//sdk/lib/fdio",
"//src/lib/fsl",
"//zircon/public/lib/fbl",
"//zircon/public/lib/zx",
"//zircon/public/lib/zxtest",
"//zircon/system/ulib/async-loop:async-loop-cpp",
"//zircon/system/ulib/async-loop:async-loop-default",
"//zircon/system/ulib/devmgr-integration-test",
"//zircon/system/ulib/devmgr-launcher",
]
# 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" ]
}
bootfs_test("device-enumeration-bootfs-test") {
name = "device-enumeration-test"
deps = [ ":device-enumeration" ]
}