diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-18 21:23:49 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-18 21:23:49 +0000 |
commit | 3c53cfa23d26b9477e3ca46e141c820e9793a5f2 (patch) | |
tree | 704ac6f5b8b9ebbb0640a853f25002d86ccd0c8e /app/app.gyp | |
parent | 24f57133d4cf6da4c4122a609c6d1fd7262d6f06 (diff) | |
download | chromium_src-3c53cfa23d26b9477e3ca46e141c820e9793a5f2.zip chromium_src-3c53cfa23d26b9477e3ca46e141c820e9793a5f2.tar.gz chromium_src-3c53cfa23d26b9477e3ca46e141c820e9793a5f2.tar.bz2 |
Move app-related unit tests to gyp in app.gyp
http://crbug.com/11387
Review URL: http://codereview.chromium.org/113540
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16326 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/app.gyp')
-rw-r--r-- | app/app.gyp | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/app/app.gyp b/app/app.gyp index 19750f7..06c954a 100644 --- a/app/app.gyp +++ b/app/app.gyp @@ -159,5 +159,53 @@ }], ], }, + { + 'target_name': 'app_unittests', + 'type': 'executable', + 'msvs_guid': 'B4D59AE8-8D2F-97E1-A8E9-6D2826729530', + 'dependencies': [ + '../app/app.gyp:app_base', + '../net/net.gyp:net_test_support', + '../skia/skia.gyp:skia', + '../testing/gtest.gyp:gtest', + '../third_party/icu38/icu38.gyp:icui18n', + '../third_party/icu38/icu38.gyp:icuuc', + '../third_party/libxml/libxml.gyp:libxml', + ], + 'sources': [ + 'animation_unittest.cc', + 'gfx/font_unittest.cc', + 'gfx/icon_util_unittest.cc', + 'gfx/text_elider_unittest.cc', + 'l10n_util_unittest.cc', + 'os_exchange_data_win_unittest.cc', + 'run_all_unittests.cc', + 'test_suite.h', + 'tree_node_iterator_unittest.cc', + 'win_util_unittest.cc', + ], + 'include_dirs': [ + '..', + ], + 'conditions': [ + ['OS=="linux"', { + # TODO: Move these dependencies to platform-neutral once these + # projects are generated by GYP. + 'dependencies': [ + '../build/linux/system.gyp:gtk', + '../chrome/chrome.gyp:chrome_resources', + '../chrome/chrome.gyp:chrome_strings', + '../chrome/chrome.gyp:test_support_unit', + ], + }], + ['OS!="win"', { + 'sources!': [ + 'gfx/icon_util_unittest.cc', + 'os_exchange_data_win_unittest.cc', + 'win_util_unittest.cc', + ], + }], + ], + }, ], } |