| # Copyright 2019 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("//build/test/test_package.gni") |
| |
| rustc_test("audio_device_tests_bin") { |
| name = "audio_device_tests" |
| edition = "2018" |
| |
| deps = [ |
| "//sdk/fidl/fuchsia.sys:fuchsia.sys-rustc", |
| "//sdk/fidl/fuchsia.virtualaudio:fuchsia.virtualaudio-rustc", |
| "//src/lib/fidl/rust/fidl", |
| "//src/lib/fuchsia-async", |
| "//src/lib/test_util", |
| "//src/media/audio/lib/test/hermetic_audio_environment/rust", |
| "//third_party/rust_crates:futures", |
| "//third_party/rust_crates:hex", |
| ] |
| |
| # TODO(48455): Fix the leaks and remove this. |
| deps += [ "//build/config/sanitizers:suppress-lsan.DO-NOT-USE-THIS" ] |
| } |
| |
| test_package("audio_device_tests") { |
| deps = [ ":audio_device_tests_bin" ] |
| |
| tests = [ |
| { |
| name = "audio_device_tests" |
| environments = basic_envs |
| }, |
| ] |
| } |