summaryrefslogtreecommitdiffstats
path: root/ppapi/ppapi_tests.gypi
diff options
context:
space:
mode:
authordmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-24 20:29:04 +0000
committerdmichael@chromium.org <dmichael@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-24 20:29:04 +0000
commit514e2ce17d4d365c9824f13b537d3f12efe03ba8 (patch)
treef6277b4cedf6ab6db99473a91b1c21e883783b12 /ppapi/ppapi_tests.gypi
parenta749350b45331bbe787e9b8d5d61a9cee7c07131 (diff)
downloadchromium_src-514e2ce17d4d365c9824f13b537d3f12efe03ba8.zip
chromium_src-514e2ce17d4d365c9824f13b537d3f12efe03ba8.tar.gz
chromium_src-514e2ce17d4d365c9824f13b537d3f12efe03ba8.tar.bz2
Add ppapi perftests infrastructure, plus a performance test for PPP_Messaging.
BUG= TEST= Review URL: http://codereview.chromium.org/9195029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118888 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/ppapi_tests.gypi')
-rw-r--r--ppapi/ppapi_tests.gypi43
1 files changed, 39 insertions, 4 deletions
diff --git a/ppapi/ppapi_tests.gypi b/ppapi/ppapi_tests.gypi
index 0e23631..6f915d6 100644
--- a/ppapi/ppapi_tests.gypi
+++ b/ppapi/ppapi_tests.gypi
@@ -118,6 +118,44 @@
# ],
},
{
+ 'target_name': 'ppapi_unittest_shared',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'ppapi_proxy',
+ 'ppapi_shared',
+ '../base/base.gyp:test_support_base',
+ '../ipc/ipc.gyp:ipc',
+ '../ipc/ipc.gyp:test_support_ipc',
+ '../testing/gmock.gyp:gmock',
+ '../testing/gtest.gyp:gtest',
+ ],
+ 'sources': [
+ 'proxy/ppapi_proxy_test.cc',
+ 'proxy/ppapi_proxy_test.h',
+ 'shared_impl/test_globals.cc',
+ 'shared_impl/test_globals.h',
+ ],
+ },
+
+ {
+ 'target_name': 'ppapi_perftests',
+ 'type': 'executable',
+ 'variables': {
+ 'chromium_code': 1,
+ },
+ 'dependencies': [
+ 'ppapi_proxy',
+ 'ppapi_shared',
+ 'ppapi_unittest_shared',
+ '../base/base.gyp:test_support_base',
+ '../testing/gtest.gyp:gtest',
+ ],
+ 'sources': [
+ 'proxy/ppapi_perftests.cc',
+ 'proxy/ppp_messaging_proxy_perftest.cc',
+ ],
+ },
+ {
'target_name': 'ppapi_unittests',
'type': 'executable',
'variables': {
@@ -126,6 +164,7 @@
'dependencies': [
'ppapi_proxy',
'ppapi_shared',
+ 'ppapi_unittest_shared',
'../base/base.gyp:test_support_base',
'../gpu/gpu.gyp:gpu_ipc',
'../ipc/ipc.gyp:ipc',
@@ -142,16 +181,12 @@
'proxy/plugin_dispatcher_unittest.cc',
'proxy/plugin_resource_tracker_unittest.cc',
'proxy/plugin_var_tracker_unittest.cc',
- 'proxy/ppapi_proxy_test.cc',
- 'proxy/ppapi_proxy_test.h',
'proxy/ppb_var_unittest.cc',
'proxy/ppp_instance_private_proxy_unittest.cc',
'proxy/ppp_instance_proxy_unittest.cc',
'proxy/ppp_messaging_proxy_unittest.cc',
'proxy/serialized_var_unittest.cc',
'shared_impl/resource_tracker_unittest.cc',
- 'shared_impl/test_globals.cc',
- 'shared_impl/test_globals.h',
'shared_impl/tracked_callback_unittest.cc',
'shared_impl/var_tracker_unittest.cc',
],