123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- # Copyright 2020 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.
- if (is_android) {
- import("//build/config/android/rules.gni")
- }
- if (!is_ios) {
- source_set("media_stream_device_enumerator") {
- sources = [
- "media_stream_device_enumerator.h",
- "media_stream_device_enumerator_impl.cc",
- "media_stream_device_enumerator_impl.h",
- ]
- deps = [
- "//base",
- "//content/public/browser",
- "//third_party/blink/public/common",
- ]
- }
- source_set("webrtc") {
- sources = [
- "media_stream_devices_controller.cc",
- "media_stream_devices_controller.h",
- ]
- public_deps = [ ":media_stream_device_enumerator" ]
- deps = [
- "//base",
- "//components/content_settings/core/common",
- "//components/permissions",
- "//content/public/browser",
- "//third_party/blink/public/common",
- ]
- if (is_android) {
- deps += [ "//ui/android" ]
- }
- }
- }
- source_set("fake_ssl_socket") {
- visibility = [
- ":*",
- "//services/network:*",
- ]
- sources = [
- "fake_ssl_client_socket.cc",
- "fake_ssl_client_socket.h",
- ]
- public_deps = [
- "//base",
- "//net",
- "//net/traffic_annotation",
- ]
- }
- source_set("net_address_utils") {
- sources = [
- "net_address_utils.cc",
- "net_address_utils.h",
- ]
- public_deps = [
- "//base",
- "//net",
- "//third_party/webrtc_overrides:webrtc_component",
- ]
- }
- source_set("thread_wrapper") {
- sources = [
- "thread_wrapper.cc",
- "thread_wrapper.h",
- ]
- public_deps = [
- "//base",
- "//third_party/webrtc_overrides:webrtc_component",
- ]
- }
- source_set("unit_tests") {
- testonly = true
- sources = [
- "fake_ssl_client_socket_unittest.cc",
- "thread_wrapper_unittest.cc",
- ]
- deps = [
- ":fake_ssl_socket",
- ":thread_wrapper",
- "//base/test:test_support",
- "//net:test_support",
- "//testing/gmock",
- "//testing/gtest",
- "//third_party/webrtc_overrides:metronome_like_task_queue_test",
- ]
- }
|