Chromium Code Reviews| Index: remoting/test/BUILD.gn |
| diff --git a/remoting/test/BUILD.gn b/remoting/test/BUILD.gn |
| index e567ed828a0ded1488e331cbf1a7384403cb45f4..8f4738abe7529a95a25fbf6a4acf75d1ec9a6cce 100644 |
| --- a/remoting/test/BUILD.gn |
| +++ b/remoting/test/BUILD.gn |
| @@ -143,52 +143,51 @@ executable("ar_sample_test_driver") { |
| ] |
| } |
| -static_library("fake_connection_event_logger") { |
| - testonly = true |
| - |
| - sources = [ |
| - "fake_connection_event_logger.cc", |
| - "fake_connection_event_logger.h", |
| - ] |
| - |
| - deps = [ |
| - "//remoting/host", |
| - "//remoting/protocol:test_support", |
| - ] |
| -} |
| - |
| -static_library("it2me_standalone_host") { |
| - testonly = true |
| +if (is_desktop_linux) { |
|
Hzj_jie
2016/05/12 22:03:42
Please change the condition to
if (!is_chromeos &
|
| + static_library("fake_connection_event_logger") { |
| + testonly = true |
| + |
| + sources = [ |
| + "fake_connection_event_logger.cc", |
| + "fake_connection_event_logger.h", |
| + ] |
| + |
| + deps = [ |
| + "//remoting/host", |
| + "//remoting/protocol:test_support", |
| + ] |
| + } |
| - sources = [ |
| - "it2me_standalone_host.cc", |
| - "it2me_standalone_host.h", |
| - ] |
| + static_library("it2me_standalone_host") { |
| + testonly = true |
| - deps = [ |
| - ":fake_connection_event_logger", |
| - "//third_party/webrtc/modules/desktop_capture", |
| - ] |
| + sources = [ |
| + "it2me_standalone_host.cc", |
| + "it2me_standalone_host.h", |
| + ] |
| - public_deps = [ |
| - "//remoting/host:test_support", |
| - "//testing/gmock", |
| - ] |
| -} |
| + deps = [ |
| + ":fake_connection_event_logger", |
| + "//third_party/webrtc/modules/desktop_capture", |
| + ] |
| -executable("it2me_standalone_host_main") { |
| - testonly = true |
| + public_deps = [ |
| + "//remoting/host:test_support", |
| + "//testing/gmock", |
| + ] |
| + } |
| - sources = [ |
| - "it2me_standalone_host_main.cc", |
| - ] |
| + executable("it2me_standalone_host_main") { |
| + testonly = true |
| - deps = [ |
| - ":it2me_standalone_host", |
| - ] |
| + sources = [ |
| + "it2me_standalone_host_main.cc", |
| + ] |
| - if (is_desktop_linux) { |
| - deps += [ "//build/config/linux/gtk2" ] |
| + deps = [ |
| + ":it2me_standalone_host", |
| + "//build/config/linux/gtk2", |
| + ] |
| } |
| } |