blob: e91bf262431b42c18b6f196c3950d3aec5c037e8 [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/rust/rustc_binary.gni")
import("//src/sys/build/components.gni")
rustc_binary("bin") {
name = "ril_at"
edition = "2018"
with_unit_tests = true
deps = [
"//sdk/fidl/fuchsia.telephony.ril:fuchsia.telephony.ril-rustc",
"//src/connectivity/telephony/lib/qmi-protocol",
"//src/lib/fidl/rust/fidl",
"//src/lib/fuchsia-async",
"//src/lib/fuchsia-component",
"//src/lib/syslog/rust:syslog",
"//src/lib/zircon/rust:fuchsia-zircon",
"//third_party/rust_crates:anyhow",
"//third_party/rust_crates:bytes",
"//third_party/rust_crates:futures",
"//third_party/rust_crates:log",
"//third_party/rust_crates:parking_lot",
]
sources = [
"src/main.rs",
"src/transport.rs",
]
}
fuchsia_package_with_single_component("ril-at") {
manifest = "meta/ril-at.cmx"
deps = [ ":bin" ]
}
fuchsia_unittest_package("ril-at-tests") {
deps = [ ":bin_test" ]
}