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

Unified Diff: components/component_updater.gypi

Issue 493953002: Componentize component_updater: Move a bunch of tests to component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Put test data file move in separate CLs. Created 6 years, 4 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
Index: components/component_updater.gypi
diff --git a/components/component_updater.gypi b/components/component_updater.gypi
index 7c0110d385bb443ad172498035bf32897ff581de..451fea00ad3e5b2726e6291aaa82ea9d96c9b15a 100644
--- a/components/component_updater.gypi
+++ b/components/component_updater.gypi
@@ -5,6 +5,7 @@
{
'targets': [
{
+ # GN version: //components/component_updater
'target_name': 'component_updater',
'type': 'static_library',
'dependencies': [
@@ -57,4 +58,29 @@
],
},
],
+
+ 'conditions': [
+ ['OS != "ios"', {
+ 'targets': [
+ {
+ # GN version: //components/component_updater:test_support
+ 'target_name': 'component_updater_test_support',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'component_updater',
+ '../testing/gmock.gyp:gmock',
+ '../testing/gtest.gyp:gtest',
+ ],
+ 'sources': [
+ 'component_updater/test/test_configurator.cc',
+ 'component_updater/test/test_configurator.h',
+ 'component_updater/test/test_installer.cc',
+ 'component_updater/test/test_installer.h',
+ 'component_updater/test/url_request_post_interceptor.cc',
+ 'component_updater/test/url_request_post_interceptor.h',
+ ],
+ },
+ ],
+ }],
+ ],
}

Powered by Google App Engine
This is Rietveld 408576698