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

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: 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
« no previous file with comments | « components/BUILD.gn ('k') | components/component_updater/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/component_updater.gypi
diff --git a/components/component_updater.gypi b/components/component_updater.gypi
index 7c0110d385bb443ad172498035bf32897ff581de..d60d0fba9a68de21c097e1d719d0bf9dc57f88ac 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': [
@@ -12,7 +13,7 @@
'../courgette/courgette.gyp:courgette_lib',
'../crypto/crypto.gyp:crypto',
'../third_party/libxml/libxml.gyp:libxml',
- '../third_party/zlib/zlib.gyp:zlib',
+ '../third_party/zlib/google/zip.gyp:zip',
'../net/net.gyp:net',
'../ui/base/ui_base.gyp:ui_base',
'crx_file',
@@ -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',
+ ],
+ },
+ ],
+ }],
+ ],
}
« no previous file with comments | « components/BUILD.gn ('k') | components/component_updater/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698