blob: c3b0b304066f142fadddc9f61c432bfe028184e5 [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.
driver("qemu") {
sources = [
"qemu-bus.c",
"qemu-sysmem.c",
]
deps = [
"$zx/system/banjo/ddk-protocol-platform-bus",
"$zx/system/banjo/ddk-protocol-platform-device",
"$zx/system/ulib/ddk",
"$zx/system/ulib/zircon",
]
if (current_cpu == "arm64") {
data_deps = [
"$zx/kernel/target/arm64/boot-shim:qemu",
]
# TODO(BLD-353): Temporary hacks for integrating with the legacy Fuchsia
# GN build.
metadata = {
legacy_pkg_boards = [ target_name ]
}
}
}