| # Copyright 2018 The Chromium 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("//testing/test.gni") |
| |
| source_set("browser") { |
| sources = [ |
| "cast_remoting_sender.cc", |
| "cast_remoting_sender.h", |
| "single_client_video_capture_host.cc", |
| "single_client_video_capture_host.h", |
| ] |
| |
| public_deps = [ |
| "//base", |
| "//content/public/browser", |
| ] |
| |
| deps = [ |
| "//media/capture", |
| "//media/cast:common", |
| "//media/cast:net", |
| "//media/mojo/common:common", |
| "//media/mojo/interfaces:remoting", |
| "//mojo/public/cpp/bindings", |
| ] |
| } |
| |
| source_set("unittests") { |
| testonly = true |
| sources = [ |
| "cast_remoting_sender_unittest.cc", |
| "single_client_video_capture_host_unittest.cc", |
| ] |
| |
| deps = [ |
| ":browser", |
| "//base", |
| "//base/test:test_support", |
| "//content/test:test_support", |
| "//media/cast:common", |
| "//media/cast:net", |
| "//media/cast:test_support", |
| "//media/mojo/interfaces:remoting", |
| "//mojo/public/cpp/bindings", |
| "//mojo/public/cpp/system", |
| "//testing/gmock", |
| "//testing/gtest", |
| ] |
| } |