| # 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/package.gni") |
| |
| package("qmi-fake-transport") { |
| deprecated_system_image = true |
| testonly = true |
| |
| deps = [ ":fake_qmi_driver" ] |
| |
| drivers = [ |
| { |
| name = "qmi-fake-transport.so" |
| }, |
| ] |
| } |
| |
| driver_module("fake_qmi_driver") { |
| output_name = "qmi-fake-transport" |
| testonly = true |
| |
| sources = [ |
| "driver.cc", |
| "fake-device.cc", |
| "fake-device.h", |
| ] |
| |
| deps = [ |
| "//sdk/fidl/fuchsia.hardware.telephony.transport:fuchsia.hardware.telephony.transport_llcpp", |
| "//sdk/fidl/fuchsia.telephony.snoop:fuchsia.telephony.snoop_llcpp", |
| "//src/connectivity/telephony/tests/fake-drivers/fake-transport-base", |
| "//src/devices/lib/driver", |
| "//zircon/public/lib/async-cpp", |
| "//zircon/public/lib/async-default", |
| "//zircon/public/lib/ddk", |
| "//zircon/public/lib/fbl", |
| "//zircon/public/lib/fdio", |
| "//zircon/public/lib/sync", |
| "//zircon/public/lib/zx", |
| "//zircon/system/banjo/ddk.protocol.test", |
| ] |
| |
| configs -= [ "//build/config/fuchsia:no_cpp_standard_library" ] |
| configs += [ "//build/config/fuchsia:static_cpp_standard_library" ] |
| } |