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 |