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