Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(784)

Unified Diff: content/content_tests.gypi

Issue 8036044: Add (not yet working) content_browsertests target. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/base/test_launcher_utils.cc ('k') | content/test/browser_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/content_tests.gypi
===================================================================
--- content/content_tests.gypi (revision 103499)
+++ content/content_tests.gypi (working copy)
@@ -52,6 +52,9 @@
'gpu/gpu_idirect3d9_mock_win.cc',
'gpu/gpu_idirect3d9_mock_win.h',
'renderer/mock_content_renderer_client.cc',
+ 'test/browser_test.h',
+ 'test/browser_test_base.cc',
+ 'test/browser_test_base.h',
'test/content_test_suite.cc',
'test/content_test_suite.h',
'test/test_browser_context.cc',
@@ -202,6 +205,50 @@
}],
],
},
+ {
+ 'target_name': 'content_browsertests',
+ 'type': 'executable',
+ 'dependencies': [
+ 'content_browser',
+ 'content_gpu',
+ 'content_plugin',
+ 'content_renderer',
+ 'test_support_content',
+ '../base/base.gyp:test_support_base',
+ '../net/net.gyp:net_test_support',
+ '../testing/gtest.gyp:gtest',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'defines': [
+ 'HAS_OUT_OF_PROC_TEST_RUNNER',
+ ],
+ 'sources': [
+ 'test/content_browser_test.h',
+ 'test/content_browser_test.cc',
+ 'test/content_test_launcher.cc',
+ 'test/test_launcher.cc',
+ 'test/test_launcher.h',
+ ],
+ 'conditions': [
+ ['OS=="win"', {
+ 'dependencies': [
+ '../sandbox/sandbox.gyp:sandbox',
+ ],
+ 'link_settings': {
+ 'libraries': [
+ '-lcomctl32.lib',
+ ],
+ },
+ }],
+ ['OS=="win" and win_use_allocator_shim==1', {
+ 'dependencies': [
+ '../base/allocator/allocator.gyp:allocator',
+ ],
+ }],
+ ],
+ },
],
'conditions': [
['target_arch=="arm"', {
« no previous file with comments | « chrome/test/base/test_launcher_utils.cc ('k') | content/test/browser_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698