blob: ccca383960c67c88cd7470924881002c6292e0a3 [file] [log] [blame]
# Copyright 2016 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/test/test_package.gni")
executable("audio_fidl_tests_bin") {
testonly = true
output_name = "audio_fidl_tests"
sources = [
"audio_capturer_test.cc",
"audio_fidl_tests.cc",
"audio_fidl_tests_shared.h",
"audio_renderer_sync_test.cc",
"audio_renderer_test.cc",
"audio_sync_test.cc",
"audio_test.cc",
"gain_control_test.cc",
"gain_control_test.h",
]
deps = [
"//garnet/public/fidl/fuchsia.media",
"//garnet/public/lib/component/cpp/testing",
"//garnet/public/lib/fsl",
"//garnet/public/lib/fxl",
"//garnet/public/lib/gtest",
"//third_party/googletest:gtest_main",
]
}
test_package("audio_fidl_tests") {
deps = [
":audio_fidl_tests_bin",
]
tests = [
{
name = "audio_fidl_tests"
},
]
}
executable("audio_loopback_tests_bin") {
testonly = true
output_name = "audio_loopback_tests"
sources = [
"audio_fidl_tests_shared.h",
"audio_loopback_test.cc",
]
deps = [
"//garnet/public/fidl/fuchsia.media",
"//garnet/public/lib/component/cpp/testing",
"//garnet/public/lib/fsl",
"//garnet/public/lib/fxl",
"//garnet/public/lib/gtest",
"//third_party/googletest:gtest_main",
]
}