blob: e56ee5c9cad1a3c93f37865b68b5453bf8a03b6d [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.
##########################################
# Though under //zircon, this build file #
# is meant to be used in the Fuchsia GN #
# build. #
# See fxbug.dev/36139. #
##########################################
assert(!defined(zx) || zx != "/",
"This file can only be used in the Fuchsia GN build.")
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",
]
}
bootfs_test("device-enumeration-bootfs-test") {
name = "device-enumeration-test"
deps = [ ":device-enumeration" ]
}