| # Copyright 2021 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/components.gni") |
| import("//build/rust/rustc_test.gni") |
| |
| rustc_test("bt_profile_integration_tests") { |
| edition = "2021" |
| source_root = "src/lib.rs" |
| deps = [ |
| "//sdk/fidl/fuchsia.bluetooth:fuchsia.bluetooth_rust", |
| "//sdk/fidl/fuchsia.bluetooth.bredr:fuchsia.bluetooth.bredr_rust", |
| "//sdk/fidl/fuchsia.bluetooth.sys:fuchsia.bluetooth.sys_rust", |
| "//sdk/fidl/fuchsia.bluetooth.test:fuchsia.bluetooth.test_rust", |
| "//src/connectivity/bluetooth/lib/fuchsia-bluetooth", |
| "//src/connectivity/bluetooth/testing/bt-test-harness", |
| "//src/connectivity/bluetooth/testing/test-harness", |
| "//src/lib/fidl/rust/fidl", |
| "//src/lib/fuchsia-async", |
| "//third_party/rust_crates:anyhow", |
| "//third_party/rust_crates:futures", |
| ] |
| |
| sources = [ "src/lib.rs" ] |
| |
| configs -= [ "//build/config/rust/lints:allow_unused_results" ] |
| } |
| |
| fuchsia_test_component("bt-profile-integration-tests-component") { |
| manifest = "meta/bt-profile-integration-tests.cml" |
| deps = [ ":bt_profile_integration_tests" ] |
| } |
| |
| fuchsia_test_package("bt-profile-integration-tests") { |
| test_components = [ ":bt-profile-integration-tests-component" ] |
| test_specs = { |
| # control the parallelism |
| parallel = 1 |
| } |
| } |