Update to use libbrillo Chrome proxy resolver
This uses the new proxy resolution code in libbrillo for doing proxy
resolution rather than making the D-Bus calls directly through the
generated bindings. The unittest for this class was removed since the
main function of it was removed. It now is essentially just a wrapper
around the call into libbrillo along with some minimal code for
allowing cancelling of callbacks.
BUG=chromium:771386
TEST=Unit tests pass
Change-Id: Ib0d4e413482f4bdfe0e9689f68118efbec94ec9d
Reviewed-on: https://chromium-review.googlesource.com/698964
Commit-Ready: Jeffrey Kardatzke <jkardatzke@google.com>
Tested-by: Jeffrey Kardatzke <jkardatzke@google.com>
Reviewed-by: Amin Hassani <ahassani@chromium.org>
Reviewed-by: Jeffrey Kardatzke <jkardatzke@google.com>
Reviewed-by: Sen Jiang <senj@chromium.org>
diff --git a/update_engine.gyp b/update_engine.gyp
index e8e1fe9..6877ac8 100644
--- a/update_engine.gyp
+++ b/update_engine.gyp
@@ -117,21 +117,6 @@
'includes': ['../../../platform2/common-mk/generate-dbus-proxies.gypi'],
}],
},
- {
- 'target_name': 'update_engine-dbus-chrome_network_proxy-client',
- 'type': 'none',
- 'actions': [{
- 'action_name': 'update_engine-dbus-chrome_network_proxy-client-action',
- 'variables': {
- 'mock_output_file': 'include/network_proxy/dbus-proxy-mocks.h',
- 'proxy_output_file': 'include/network_proxy/dbus-proxies.h',
- },
- 'sources': [
- 'dbus_bindings/org.chromium.NetworkProxyService.dbus-xml',
- ],
- 'includes': ['../../../platform2/common-mk/generate-dbus-proxies.gypi'],
- }],
- },
# The payload application component and common dependencies.
{
'target_name': 'libpayload_consumer',
@@ -235,6 +220,7 @@
'libshill-client',
'libssl',
'libupdate_engine-client',
+ 'vboot_host',
],
'deps': ['<@(exported_deps)'],
},
@@ -256,7 +242,6 @@
'-lpolicy-<(libbase_ver)',
'-lrootdev',
'-lrt',
- '-lvboot_host',
],
},
'sources': [
@@ -302,9 +287,6 @@
],
'conditions': [
['USE_chrome_network_proxy == 1', {
- 'dependencies': [
- 'update_engine-dbus-chrome_network_proxy-client',
- ],
'sources': [
'chrome_browser_proxy_resolver.cc',
],
@@ -583,13 +565,6 @@
'update_manager/update_manager_unittest.cc',
'update_manager/variable_unittest.cc',
],
- 'conditions': [
- ['USE_chrome_network_proxy == 1', {
- 'sources': [
- 'chrome_browser_proxy_resolver_unittest.cc',
- ],
- }],
- ],
},
],
}],