blob: 2bc299f5ccfaf1c0418cddf41d5b1902a36e1dce [file] [log] [blame]
# Copyright 2018 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")
import("//build/driver_package.gni")
driver_package("at-fake-transport") {
testonly = true
deps = [ ":fake_at_driver" ]
drivers = [
{
name = "at-fake-transport.so"
},
]
}
driver_module("fake_at_driver") {
output_name = "at-fake-transport"
testonly = true
sources = [
"driver.cc",
"fake-device.cc",
"fake-device.h",
]
deps = [
"//sdk/banjo/ddk.protocol.test",
"//sdk/fidl/fuchsia.hardware.telephony.transport:fuchsia.hardware.telephony.transport_llcpp",
"//sdk/fidl/fuchsia.telephony.snoop:fuchsia.telephony.snoop_llcpp",
"//sdk/lib/fdio",
"//src/connectivity/telephony/tests/fake-drivers/fake-transport-base",
"//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/public/lib/async-cpp",
"//zircon/public/lib/fbl",
"//zircon/public/lib/sync",
"//zircon/public/lib/zx",
"//zircon/system/ulib/async-default",
]
# TODO(fxb/58162): delete the below and fix compiler warnings
configs += [ "//build/config:Wno-conversion" ]
}