summaryrefslogtreecommitdiffstats
path: root/ui/ui_unittests.gypi
diff options
context:
space:
mode:
authorrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-26 19:06:22 +0000
committerrsesek@chromium.org <rsesek@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-26 19:06:22 +0000
commit7578ece358b7199fee0b905ddae017b400d22ea0 (patch)
treef981d252653bee6e98f89c6ccfcb1804a3d5c37e /ui/ui_unittests.gypi
parentce8d4fa7c2639e68c35002b835fe271307db15d8 (diff)
downloadchromium_src-7578ece358b7199fee0b905ddae017b400d22ea0.zip
chromium_src-7578ece358b7199fee0b905ddae017b400d22ea0.tar.gz
chromium_src-7578ece358b7199fee0b905ddae017b400d22ea0.tar.bz2
Move ui/test/test_suite into a static library called run_ui_unittests.
ui/ subprojects need the ResourceBundle initialization that is done by this class, rather than the basic //base/base.gyp:run_all_unittests library. BUG=179916 TEST=Tests still pass. Review URL: https://codereview.chromium.org/12846012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@190726 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/ui_unittests.gypi')
-rw-r--r--ui/ui_unittests.gypi18
1 files changed, 15 insertions, 3 deletions
diff --git a/ui/ui_unittests.gypi b/ui/ui_unittests.gypi
index 9ea433c..c72508c 100644
--- a/ui/ui_unittests.gypi
+++ b/ui/ui_unittests.gypi
@@ -39,6 +39,20 @@
],
},
{
+ 'target_name': 'run_ui_unittests',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../base/base.gyp:base',
+ '../base/base.gyp:test_support_base',
+ 'ui',
+ ],
+ 'sources': [
+ 'test/test_suite.cc',
+ 'test/test_suite.h',
+ 'test/run_all_unittests.cc',
+ ],
+ },
+ {
'target_name': 'ui_unittests',
'type': '<(gtest_target_type)',
'dependencies': [
@@ -51,6 +65,7 @@
'../third_party/icu/icu.gyp:icui18n',
'../third_party/icu/icu.gyp:icuuc',
'../third_party/libpng/libpng.gyp:libpng',
+ 'run_ui_unittests',
'shell_dialogs',
'ui',
'ui_resources',
@@ -99,9 +114,6 @@
'gfx/text_utils_unittest.cc',
'gfx/vector2d_unittest.cc',
'gfx/vector3d_unittest.cc',
- 'test/run_all_unittests.cc',
- 'test/test_suite.cc',
- 'test/test_suite.h',
],
'all_sources': [
'<@(_common_sources)',