Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(309)

Unified Diff: remoting/test/BUILD.gn

Issue 1966983002: Fix it2me_standalone_host compilation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix gtk dependency Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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" ]
+ }
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698