OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 # Remoting unit tests | 7 # Remoting unit tests |
8 { | 8 { |
9 'target_name': 'remoting_unittests', | 9 'target_name': 'remoting_unittests', |
10 'type': '<(gtest_target_type)', | 10 'type': '<(gtest_target_type)', |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
237 ['exclude', '^base/resources_unittest\\.cc$'], | 237 ['exclude', '^base/resources_unittest\\.cc$'], |
238 ] | 238 ] |
239 }], | 239 }], |
240 [ 'OS == "linux" and use_allocator!="none"', { | 240 [ 'OS == "linux" and use_allocator!="none"', { |
241 'dependencies': [ | 241 'dependencies': [ |
242 '../base/allocator/allocator.gyp:allocator', | 242 '../base/allocator/allocator.gyp:allocator', |
243 ], | 243 ], |
244 }], | 244 }], |
245 ], # end of 'conditions' | 245 ], # end of 'conditions' |
246 }, # end of target 'remoting_unittests' | 246 }, # end of target 'remoting_unittests' |
| 247 # Remoting performance tests |
| 248 { |
| 249 'target_name': 'remoting_perftests', |
| 250 'type': '<(gtest_target_type)', |
| 251 'dependencies': [ |
| 252 '../base/base.gyp:base', |
| 253 '../base/base.gyp:test_support_base', |
| 254 '../testing/gtest.gyp:gtest', |
| 255 '../third_party/webrtc/modules/modules.gyp:desktop_capture', |
| 256 'remoting_base', |
| 257 ], |
| 258 'defines': [ |
| 259 'VERSION=<(version_full)', |
| 260 ], |
| 261 'include_dirs': [ |
| 262 '../testing/gmock/include', |
| 263 ], |
| 264 'sources': [ |
| 265 '../chrome/test/base/run_all_remoting_unittests.cc', |
| 266 'codec/codec_test.cc', |
| 267 'codec/codec_test.h', |
| 268 'codec/video_encoder_vpx_perftest.cc', |
| 269 ], |
| 270 'conditions': [ |
| 271 [ 'OS=="mac" or (OS=="linux" and chromeos==0)', { |
| 272 # RunAllTests calls chrome::RegisterPathProvider() under Mac and |
| 273 # Linux, so we need the chrome_common.gypi dependency. |
| 274 'dependencies': [ |
| 275 '../chrome/common_constants.gyp:common_constants', |
| 276 ], |
| 277 }], |
| 278 [ 'OS=="android"', { |
| 279 'dependencies': [ |
| 280 '../testing/android/native_test.gyp:native_test_native_code', |
| 281 ], |
| 282 }], |
| 283 [ 'OS == "linux" and use_allocator!="none"', { |
| 284 'dependencies': [ |
| 285 '../base/allocator/allocator.gyp:allocator', |
| 286 ], |
| 287 }], |
| 288 ], # end of 'conditions' |
| 289 }, # end of target 'remoting_perftests' |
247 { | 290 { |
248 'target_name': 'remoting_browser_test_resources', | 291 'target_name': 'remoting_browser_test_resources', |
249 'type': 'none', | 292 'type': 'none', |
250 'copies': [ | 293 'copies': [ |
251 { | 294 { |
252 'destination': '<(PRODUCT_DIR)', | 295 'destination': '<(PRODUCT_DIR)', |
253 'files': [ | 296 'files': [ |
254 '<@(remoting_webapp_js_browser_test_files)', | 297 '<@(remoting_webapp_js_browser_test_files)', |
255 ], | 298 ], |
256 }, | 299 }, |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
317 # exclude list. | 360 # exclude list. |
318 '--exclude-js', '<@(remoting_webapp_unittest_exclude_files)', | 361 '--exclude-js', '<@(remoting_webapp_unittest_exclude_files)', |
319 '--js', '<@(remoting_webapp_unittest_cases)', | 362 '--js', '<@(remoting_webapp_unittest_cases)', |
320 '--instrument-js', '<@(remoting_webapp_main_html_js_files)', | 363 '--instrument-js', '<@(remoting_webapp_main_html_js_files)', |
321 ], | 364 ], |
322 }, | 365 }, |
323 ], | 366 ], |
324 }, # end of target 'remoting_webapp_js_unittest' | 367 }, # end of target 'remoting_webapp_js_unittest' |
325 ], # end of targets | 368 ], # end of targets |
326 } | 369 } |
OLD | NEW |