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', |
+ ], |
+ }, |
+ ], |
+ }], |
+ ], |
} |