summaryrefslogtreecommitdiffstats
path: root/remoting/remoting_test.gypi
diff options
context:
space:
mode:
authorwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-01 06:44:34 +0000
committerwez@chromium.org <wez@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-01 06:44:34 +0000
commitc5a0f60156329f3870da1bb456167623d66776cd (patch)
treeb68d06589b658dc203ad8ebef7a8de413d92797b /remoting/remoting_test.gypi
parent2640ab9b046b9397299197bb5150f6721c73d5e7 (diff)
downloadchromium_src-c5a0f60156329f3870da1bb456167623d66776cd.zip
chromium_src-c5a0f60156329f3870da1bb456167623d66776cd.tar.gz
chromium_src-c5a0f60156329f3870da1bb456167623d66776cd.tar.bz2
Add manual tests to benchmark VP8 & VP9 encode performance.
BUG=260879 Review URL: https://codereview.chromium.org/349223007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280753 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/remoting_test.gypi')
-rw-r--r--remoting/remoting_test.gypi43
1 files changed, 43 insertions, 0 deletions
diff --git a/remoting/remoting_test.gypi b/remoting/remoting_test.gypi
index 35111b4..0d0d551 100644
--- a/remoting/remoting_test.gypi
+++ b/remoting/remoting_test.gypi
@@ -244,6 +244,49 @@
}],
], # end of 'conditions'
}, # end of target 'remoting_unittests'
+ # Remoting performance tests
+ {
+ 'target_name': 'remoting_perftests',
+ 'type': '<(gtest_target_type)',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../base/base.gyp:test_support_base',
+ '../testing/gtest.gyp:gtest',
+ '../third_party/webrtc/modules/modules.gyp:desktop_capture',
+ 'remoting_base',
+ ],
+ 'defines': [
+ 'VERSION=<(version_full)',
+ ],
+ 'include_dirs': [
+ '../testing/gmock/include',
+ ],
+ 'sources': [
+ '../chrome/test/base/run_all_remoting_unittests.cc',
+ 'codec/codec_test.cc',
+ 'codec/codec_test.h',
+ 'codec/video_encoder_vpx_perftest.cc',
+ ],
+ 'conditions': [
+ [ 'OS=="mac" or (OS=="linux" and chromeos==0)', {
+ # RunAllTests calls chrome::RegisterPathProvider() under Mac and
+ # Linux, so we need the chrome_common.gypi dependency.
+ 'dependencies': [
+ '../chrome/common_constants.gyp:common_constants',
+ ],
+ }],
+ [ 'OS=="android"', {
+ 'dependencies': [
+ '../testing/android/native_test.gyp:native_test_native_code',
+ ],
+ }],
+ [ 'OS == "linux" and use_allocator!="none"', {
+ 'dependencies': [
+ '../base/allocator/allocator.gyp:allocator',
+ ],
+ }],
+ ], # end of 'conditions'
+ }, # end of target 'remoting_perftests'
{
'target_name': 'remoting_browser_test_resources',
'type': 'none',