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

Unified Diff: base/base.gyp

Issue 9691067: Add a new 'run_all_unittests' target in base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to head Created 8 years, 9 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 | « no previous file | build/temp_gyp/googleurl.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base.gyp
diff --git a/base/base.gyp b/base/base.gyp
index e7d86242b580a72736bb8e14fe76e4ec926fa652..08461d7dad66f45f4b8549161542195b3a583d43 100644
--- a/base/base.gyp
+++ b/base/base.gyp
@@ -139,13 +139,22 @@
}
],
},
+ # Include this target for a main() function that simply instantiates
+ # and runs a base::TestSuite.
+ {
+ 'target_name': 'run_all_unittests',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'test_support_base',
+ ],
+ 'sources': [
+ 'test/run_all_unittests.cc',
+ ],
+ },
{
'target_name': 'base_unittests',
'type': 'executable',
'sources': [
- # Infrastructure files.
- 'test/run_all_unittests.cc',
-
# Tests.
'android/jni_android_unittest.cc',
'android/scoped_java_ref_unittest.cc',
@@ -295,6 +304,7 @@
'base',
'base_i18n',
'base_static',
+ 'run_all_unittests',
'test_support_base',
'third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
'../testing/gmock.gyp:gmock',
« no previous file with comments | « no previous file | build/temp_gyp/googleurl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698