Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 source_set("test_support") { | 5 source_set("test_support") { |
| 6 testonly = true | 6 testonly = true |
| 7 | 7 |
| 8 sources = [ | 8 sources = [ |
| 9 "access_token_fetcher.cc", | 9 "access_token_fetcher.cc", |
| 10 "access_token_fetcher.h", | 10 "access_token_fetcher.h", |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 136 | 136 |
| 137 deps = [ | 137 deps = [ |
| 138 ":ar_test_driver_common", | 138 ":ar_test_driver_common", |
| 139 "//base/test:test_support", | 139 "//base/test:test_support", |
| 140 "//build/config/sanitizers:deps", | 140 "//build/config/sanitizers:deps", |
| 141 "//build/win:default_exe_manifest", | 141 "//build/win:default_exe_manifest", |
| 142 "//testing/gtest", | 142 "//testing/gtest", |
| 143 ] | 143 ] |
| 144 } | 144 } |
| 145 | 145 |
| 146 static_library("fake_connection_event_logger") { | 146 if (is_desktop_linux) { |
|
Hzj_jie
2016/05/12 22:03:42
Please change the condition to
if (!is_chromeos &
| |
| 147 testonly = true | 147 static_library("fake_connection_event_logger") { |
| 148 testonly = true | |
| 148 | 149 |
| 149 sources = [ | 150 sources = [ |
| 150 "fake_connection_event_logger.cc", | 151 "fake_connection_event_logger.cc", |
| 151 "fake_connection_event_logger.h", | 152 "fake_connection_event_logger.h", |
| 152 ] | 153 ] |
| 153 | 154 |
| 154 deps = [ | 155 deps = [ |
| 155 "//remoting/host", | 156 "//remoting/host", |
| 156 "//remoting/protocol:test_support", | 157 "//remoting/protocol:test_support", |
| 157 ] | 158 ] |
| 158 } | 159 } |
| 159 | 160 |
| 160 static_library("it2me_standalone_host") { | 161 static_library("it2me_standalone_host") { |
| 161 testonly = true | 162 testonly = true |
| 162 | 163 |
| 163 sources = [ | 164 sources = [ |
| 164 "it2me_standalone_host.cc", | 165 "it2me_standalone_host.cc", |
| 165 "it2me_standalone_host.h", | 166 "it2me_standalone_host.h", |
| 166 ] | 167 ] |
| 167 | 168 |
| 168 deps = [ | 169 deps = [ |
| 169 ":fake_connection_event_logger", | 170 ":fake_connection_event_logger", |
| 170 "//third_party/webrtc/modules/desktop_capture", | 171 "//third_party/webrtc/modules/desktop_capture", |
| 171 ] | 172 ] |
| 172 | 173 |
| 173 public_deps = [ | 174 public_deps = [ |
| 174 "//remoting/host:test_support", | 175 "//remoting/host:test_support", |
| 175 "//testing/gmock", | 176 "//testing/gmock", |
| 176 ] | 177 ] |
| 177 } | 178 } |
| 178 | 179 |
| 179 executable("it2me_standalone_host_main") { | 180 executable("it2me_standalone_host_main") { |
| 180 testonly = true | 181 testonly = true |
| 181 | 182 |
| 182 sources = [ | 183 sources = [ |
| 183 "it2me_standalone_host_main.cc", | 184 "it2me_standalone_host_main.cc", |
| 184 ] | 185 ] |
| 185 | 186 |
| 186 deps = [ | 187 deps = [ |
| 187 ":it2me_standalone_host", | 188 ":it2me_standalone_host", |
| 188 ] | 189 "//build/config/linux/gtk2", |
| 189 | 190 ] |
| 190 if (is_desktop_linux) { | |
| 191 deps += [ "//build/config/linux/gtk2" ] | |
| 192 } | 191 } |
| 193 } | 192 } |
| 194 | 193 |
| 195 source_set("unit_tests") { | 194 source_set("unit_tests") { |
| 196 testonly = true | 195 testonly = true |
| 197 | 196 |
| 198 sources = [ | 197 sources = [ |
| 199 "access_token_fetcher_unittest.cc", | 198 "access_token_fetcher_unittest.cc", |
| 200 "app_remoting_report_issue_request_unittest.cc", | 199 "app_remoting_report_issue_request_unittest.cc", |
| 201 "app_remoting_test_driver_environment_unittest.cc", | 200 "app_remoting_test_driver_environment_unittest.cc", |
| 202 "chromoting_test_driver_environment_unittest.cc", | 201 "chromoting_test_driver_environment_unittest.cc", |
| 203 "connection_time_observer_unittest.cc", | 202 "connection_time_observer_unittest.cc", |
| 204 "host_list_fetcher_unittest.cc", | 203 "host_list_fetcher_unittest.cc", |
| 205 "remote_host_info_fetcher_unittest.cc", | 204 "remote_host_info_fetcher_unittest.cc", |
| 206 "test_chromoting_client_unittest.cc", | 205 "test_chromoting_client_unittest.cc", |
| 207 "test_video_renderer_unittest.cc", | 206 "test_video_renderer_unittest.cc", |
| 208 ] | 207 ] |
| 209 | 208 |
| 210 deps = [ | 209 deps = [ |
| 211 ":ar_test_driver_common", | 210 ":ar_test_driver_common", |
| 212 ":test_support", | 211 ":test_support", |
| 213 "//base", | 212 "//base", |
| 214 "//net:test_support", | 213 "//net:test_support", |
| 215 "//testing/gmock", | 214 "//testing/gmock", |
| 216 "//testing/gtest", | 215 "//testing/gtest", |
| 217 "//third_party/libyuv", | 216 "//third_party/libyuv", |
| 218 "//third_party/webrtc/modules/desktop_capture", | 217 "//third_party/webrtc/modules/desktop_capture", |
| 219 ] | 218 ] |
| 220 } | 219 } |
| OLD | NEW |