| Index: remoting/test/BUILD.gn
|
| diff --git a/remoting/test/BUILD.gn b/remoting/test/BUILD.gn
|
| index e567ed828a0ded1488e331cbf1a7384403cb45f4..940a87e2a51c6ce3e55667a0b2f89eacae07b40f 100644
|
| --- a/remoting/test/BUILD.gn
|
| +++ b/remoting/test/BUILD.gn
|
| @@ -2,6 +2,8 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| +import("//remoting/remoting_enable.gni")
|
| +
|
| source_set("test_support") {
|
| testonly = true
|
|
|
| @@ -143,52 +145,54 @@ executable("ar_sample_test_driver") {
|
| ]
|
| }
|
|
|
| -static_library("fake_connection_event_logger") {
|
| - testonly = true
|
| +if (enable_remoting_host && !is_android && !is_chromeos) {
|
| + static_library("fake_connection_event_logger") {
|
| + testonly = true
|
|
|
| - sources = [
|
| - "fake_connection_event_logger.cc",
|
| - "fake_connection_event_logger.h",
|
| - ]
|
| + sources = [
|
| + "fake_connection_event_logger.cc",
|
| + "fake_connection_event_logger.h",
|
| + ]
|
|
|
| - deps = [
|
| - "//remoting/host",
|
| - "//remoting/protocol:test_support",
|
| - ]
|
| -}
|
| + deps = [
|
| + "//remoting/host",
|
| + "//remoting/protocol:test_support",
|
| + ]
|
| + }
|
|
|
| -static_library("it2me_standalone_host") {
|
| - testonly = true
|
| + static_library("it2me_standalone_host") {
|
| + testonly = true
|
|
|
| - sources = [
|
| - "it2me_standalone_host.cc",
|
| - "it2me_standalone_host.h",
|
| - ]
|
| + sources = [
|
| + "it2me_standalone_host.cc",
|
| + "it2me_standalone_host.h",
|
| + ]
|
|
|
| - deps = [
|
| - ":fake_connection_event_logger",
|
| - "//third_party/webrtc/modules/desktop_capture",
|
| - ]
|
| + deps = [
|
| + ":fake_connection_event_logger",
|
| + "//third_party/webrtc/modules/desktop_capture",
|
| + ]
|
|
|
| - public_deps = [
|
| - "//remoting/host:test_support",
|
| - "//testing/gmock",
|
| - ]
|
| -}
|
| + public_deps = [
|
| + "//remoting/host:test_support",
|
| + "//testing/gmock",
|
| + ]
|
| + }
|
|
|
| -executable("it2me_standalone_host_main") {
|
| - testonly = true
|
| + executable("it2me_standalone_host_main") {
|
| + testonly = true
|
|
|
| - sources = [
|
| - "it2me_standalone_host_main.cc",
|
| - ]
|
| + sources = [
|
| + "it2me_standalone_host_main.cc",
|
| + ]
|
|
|
| - deps = [
|
| - ":it2me_standalone_host",
|
| - ]
|
| + deps = [
|
| + ":it2me_standalone_host",
|
| + ]
|
|
|
| - if (is_desktop_linux) {
|
| - deps += [ "//build/config/linux/gtk2" ]
|
| + if (is_desktop_linux) {
|
| + deps += [ "//build/config/linux/gtk2" ]
|
| + }
|
| }
|
| }
|
|
|
|
|