mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2024-12-01 01:36:09 +03:00
120 lines
3.1 KiB
Plaintext
120 lines
3.1 KiB
Plaintext
# 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("//services/catalog/public/tools/catalog.gni")
|
|
import("//services/service_manager/public/cpp/service.gni")
|
|
import("//services/service_manager/public/service_manifest.gni")
|
|
import("//services/service_manager/public/tools/test/service_test.gni")
|
|
import("//testing/test.gni")
|
|
|
|
service_manifest("manifest") {
|
|
name = "mirroring"
|
|
source = "manifest.json"
|
|
}
|
|
|
|
component("mirroring_service") {
|
|
sources = [
|
|
"captured_audio_input.cc",
|
|
"captured_audio_input.h",
|
|
"features.cc",
|
|
"features.h",
|
|
"media_remoter.cc",
|
|
"media_remoter.h",
|
|
"message_dispatcher.cc",
|
|
"message_dispatcher.h",
|
|
"mirror_settings.cc",
|
|
"mirror_settings.h",
|
|
"mirroring_service.cc",
|
|
"mirroring_service.h",
|
|
"receiver_response.cc",
|
|
"receiver_response.h",
|
|
"remoting_sender.cc",
|
|
"remoting_sender.h",
|
|
"rtp_stream.cc",
|
|
"rtp_stream.h",
|
|
"session.cc",
|
|
"session.h",
|
|
"session_monitor.cc",
|
|
"session_monitor.h",
|
|
"udp_socket_client.cc",
|
|
"udp_socket_client.h",
|
|
"value_util.cc",
|
|
"value_util.h",
|
|
"video_capture_client.cc",
|
|
"video_capture_client.h",
|
|
"wifi_status_monitor.cc",
|
|
"wifi_status_monitor.h",
|
|
]
|
|
|
|
public_deps = [
|
|
"//base",
|
|
]
|
|
|
|
deps = [
|
|
"//components/mirroring/mojom:service",
|
|
"//components/version_info",
|
|
"//crypto",
|
|
"//media",
|
|
"//media/capture:capture_base",
|
|
"//media/capture/mojom:video_capture",
|
|
"//media/cast:common",
|
|
"//media/cast:net",
|
|
"//media/cast:sender",
|
|
"//media/mojo/common:common",
|
|
"//media/mojo/interfaces",
|
|
"//media/mojo/interfaces:remoting",
|
|
"//mojo/public/cpp/bindings",
|
|
"//mojo/public/cpp/system",
|
|
"//net",
|
|
"//services/network/public/cpp",
|
|
"//services/network/public/mojom",
|
|
"//services/service_manager/public/cpp:cpp",
|
|
"//ui/gfx",
|
|
]
|
|
|
|
defines = [ "IS_MIRRORING_SERVICE_IMPL" ]
|
|
}
|
|
|
|
source_set("unittests") {
|
|
testonly = true
|
|
sources = [
|
|
"captured_audio_input_unittest.cc",
|
|
"fake_network_service.cc",
|
|
"fake_network_service.h",
|
|
"fake_video_capture_host.cc",
|
|
"fake_video_capture_host.h",
|
|
"media_remoter_unittest.cc",
|
|
"message_dispatcher_unittest.cc",
|
|
"receiver_response_unittest.cc",
|
|
"remoting_sender_unittest.cc",
|
|
"rtp_stream_unittest.cc",
|
|
"session_monitor_unittest.cc",
|
|
"session_unittest.cc",
|
|
"udp_socket_client_unittest.cc",
|
|
"video_capture_client_unittest.cc",
|
|
"wifi_status_monitor_unittest.cc",
|
|
]
|
|
|
|
deps = [
|
|
":mirroring_service",
|
|
"//base",
|
|
"//base/test:test_support",
|
|
"//components/mirroring/mojom:service",
|
|
"//media",
|
|
"//media/capture/mojom:video_capture",
|
|
"//media/cast:common",
|
|
"//media/cast:net",
|
|
"//media/cast:sender",
|
|
"//media/cast:test_support",
|
|
"//media/mojo/interfaces",
|
|
"//media/mojo/interfaces:remoting",
|
|
"//mojo/public/cpp/bindings",
|
|
"//net",
|
|
"//services/network:test_support",
|
|
"//services/network/public/mojom",
|
|
"//testing/gmock",
|
|
"//testing/gtest",
|
|
]
|
|
}
|