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

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: 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') | chrome/chrome_tests.gypi » ('J')
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..1777006139ad48e47cbb29398dc053754f0bbd91 100644
--- a/base/base.gyp
+++ b/base/base.gyp
@@ -140,12 +140,22 @@
],
},
{
+ 'target_name': 'run_all_unittests',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'test_support_base',
+ ],
+ 'export_dependent_settings': [
+ 'test_support_base',
Ryan Sleevi 2012/03/16 02:45:25 Could you explain the motivation for the export_de
akalin 2012/03/16 06:59:20 Actually, come to think of it, I don't think it's
+ ],
+ '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 +305,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') | chrome/chrome_tests.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698