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

Unified Diff: remoting/test/BUILD.gn

Issue 1923573006: Implement a dummy host to do capturing and analysis only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android build break Created 4 years, 8 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
Index: remoting/test/BUILD.gn
diff --git a/remoting/test/BUILD.gn b/remoting/test/BUILD.gn
index 26e9230adea043946c15bcd7ff016913b7055d34..548f1764912a6b3b3827bb5b5587872127a7063d 100644
--- a/remoting/test/BUILD.gn
+++ b/remoting/test/BUILD.gn
@@ -140,6 +140,55 @@ executable("ar_sample_test_driver") {
]
}
+static_library("counter_stubs") {
+ testonly = true
+
+ sources = [
+ "counter_stubs.cc",
+ "counter_stubs.h",
+ ]
+
+ deps = [
+ "//remoting/host",
+ "//remoting/protocol:test_support",
+ ]
+}
+
+static_library("it2me_standalone_host") {
joedow 2016/05/03 22:28:29 I like this name much better than dummy_host, than
Hzj_jie 2016/05/04 02:11:56 :)
+ testonly = true
+
+ sources = [
+ "it2me_standalone_host.cc",
+ "it2me_standalone_host.h",
+ ]
+
+ deps = [
+ ":counter_stubs",
+ "//third_party/webrtc/modules/desktop_capture",
+ ]
+
+ public_deps = [
+ "//remoting/host:test_support",
+ "//testing/gmock",
+ ]
+}
+
+executable("it2me_standalone_host_runner") {
+ testonly = true
+
+ sources = [
+ "it2me_standalone_host_runner.cc",
joedow 2016/05/03 22:28:29 The convention I've seen for the executable cc fil
Hzj_jie 2016/05/04 02:11:56 Done.
+ ]
+
+ deps = [
+ ":it2me_standalone_host",
+ ]
+
+ if (is_desktop_linux) {
+ deps += [ "//build/config/linux/gtk2" ]
+ }
+}
+
source_set("unit_tests") {
testonly = true

Powered by Google App Engine
This is Rietveld 408576698