blob: c6009be34b6ab98789629511626c4ee620885a87 [file] [log] [blame]
# Copyright 2020 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_test.gni")
import("//src/sys/build/components.gni")
rustc_test("bt_host_integration_tests") {
edition = "2018"
source_root = "src/lib.rs"
deps = [
"//sdk/fidl/fuchsia.bluetooth:fuchsia.bluetooth-rustc",
"//sdk/fidl/fuchsia.bluetooth.sys:fuchsia.bluetooth.sys-rustc",
"//sdk/fidl/fuchsia.bluetooth.test:fuchsia.bluetooth.test-rustc",
"//src/connectivity/bluetooth/fidl:host-rustc",
"//src/connectivity/bluetooth/lib/bt-test-harness",
"//src/connectivity/bluetooth/lib/fuchsia-bluetooth",
"//src/connectivity/bluetooth/lib/test-harness",
"//src/lib/fdio/rust:fdio",
"//src/lib/fuchsia-async",
"//src/lib/zircon/rust:fuchsia-zircon",
"//third_party/rust_crates:anyhow",
]
sources = [ "src/lib.rs" ]
}
fuchsia_component("bt-host-integration-tests-component") {
testonly = true
manifest = "meta/bt-host-integration-tests.cmx"
deps = [ ":bt_host_integration_tests" ]
}
fuchsia_test_package("bt-host-integration-tests") {
test_components = [ ":bt-host-integration-tests-component" ]
deps = [ "//src/connectivity/bluetooth/hci/emulator" ]
}