blob: 5752964122967bb9190eae58ddd788d45a689ae8 [file] [log] [blame]
# Copyright 2017 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.
source_set("cpp") {
sources = [
"receiver_media_to_mojo_adapter.cc",
"receiver_media_to_mojo_adapter.h",
]
configs += [ "//build/config/compiler:wexit_time_destructors" ]
public_deps = [
"//base",
"//media",
"//media/capture:capture",
"//services/video_capture/public/mojom",
]
deps = [ "//mojo/public/cpp/bindings:bindings" ]
}
source_set("mocks") {
testonly = true
sources = [
"mock_device_factory.cc",
"mock_device_factory.h",
"mock_producer.cc",
"mock_producer.h",
"mock_push_subscription.cc",
"mock_push_subscription.h",
"mock_video_capture_service.cc",
"mock_video_capture_service.h",
"mock_video_frame_handler.cc",
"mock_video_frame_handler.h",
"mock_video_source.cc",
"mock_video_source.h",
"mock_video_source_provider.cc",
"mock_video_source_provider.h",
]
public_deps = [
"//services/video_capture/public/mojom",
"//testing/gmock",
]
deps = [ "//build:chromeos_buildflags" ]
}