blob: 3ded5e6538be9dabe3bd8d22aa15f4f8da9ff47b [file]
# 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/config/fuchsia/rules.gni")
assert(current_cpu == "x64")
driver_module("pc-ps2") {
configs += [
"//build/config:all_source",
"//build/config/fuchsia:enable_zircon_asserts",
]
configs -= [ "//build/config/fuchsia:no_cpp_standard_library" ]
configs += [
"//build/config/fuchsia:static_cpp_standard_library",
"//build/unification/config:zircon-migrated",
]
sources = [ "i8042.c" ]
deps = [
"//sdk/banjo/ddk.protocol.hidbus",
"//sdk/fidl/fuchsia.hardware.input:fuchsia.hardware.input_c",
"//src/devices/lib/driver",
"//src/lib/ddk",
# TODO(fxb/38132): Migrate to the new bind rules and delete the below
"//src/lib/ddk:ddk-deprecated-binding-headers",
"//zircon/system/ulib/hid",
]
# TODO(fxbug.dev/58162): delete the below and fix compiler warnings
configs += [ "//build/config:Wno-conversion" ]
}