Index: app/app.gyp |
=================================================================== |
--- app/app.gyp (revision 16294) |
+++ app/app.gyp (working copy) |
@@ -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', |
+ ], |
+ }], |
+ ], |
+ }, |
], |
} |