blob: 0afff9bb1da81f3b054761fd4ba893d845be9f9b [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")
group("integration") {
public_deps = [
":host_lifecycle",
":host_integration",
]
}
rustc_binary("host_lifecycle") {
edition = "2015"
deps = [
"//garnet/lib/bluetooth/fidl:fuchsia.bluetooth.host-rustc",
"//garnet/lib/rust/fuchsia-bluetooth",
"//garnet/public/fidl/fuchsia.bluetooth.control:fuchsia.bluetooth.control-rustc",
"//garnet/public/fidl/fuchsia.bluetooth.gatt:fuchsia.bluetooth.gatt-rustc",
"//garnet/public/fidl/fuchsia.bluetooth.le:fuchsia.bluetooth.le-rustc",
"//garnet/public/rust/fdio",
"//garnet/public/rust/fuchsia-async",
"//third_party/rust-crates/rustc_deps:failure",
"//third_party/rust-crates/rustc_deps:futures-preview",
"//third_party/rust-crates/rustc_deps:parking_lot",
"//third_party/rust-crates/rustc_deps:rand",
]
source_root = "tests/host_lifecycle.rs"
}
rustc_binary("host_integration") {
edition = "2018"
with_unit_tests = true
deps = [
"//garnet/lib/bluetooth/fidl:fuchsia.bluetooth.host-rustc",
"//garnet/lib/rust/fuchsia-bluetooth",
"//garnet/public/fidl/fuchsia.bluetooth:fuchsia.bluetooth-rustc",
"//garnet/public/fidl/fuchsia.bluetooth.control:fuchsia.bluetooth.control-rustc",
"//garnet/public/fidl/fuchsia.bluetooth.gatt:fuchsia.bluetooth.gatt-rustc",
"//garnet/public/fidl/fuchsia.bluetooth.le:fuchsia.bluetooth.le-rustc",
"//garnet/public/rust/fdio",
"//garnet/public/rust/fuchsia-async",
"//garnet/public/rust/fuchsia-vfs/fuchsia-vfs-watcher",
"//garnet/public/rust/fuchsia-zircon",
"//third_party/rust-crates/rustc_deps:failure",
"//third_party/rust-crates/rustc_deps:futures-preview",
"//third_party/rust-crates/rustc_deps:parking_lot",
"//third_party/rust-crates/rustc_deps:rand",
"//third_party/rust-crates/rustc_deps:slab"
]
source_root = "tests/host_integration.rs"
}