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

Unified Diff: net/net.gyp

Issue 892393005: Implement browser-side host resolver Mojo service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v8-pac-interfaces
Patch Set: Change static_library to source_set. Created 5 years, 10 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 | « net/interfaces/proxy_resolver_service.mojom ('k') | net/net.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/net.gyp
diff --git a/net/net.gyp b/net/net.gyp
index cd381e02a135169140e729d5044e8c3d29b2c6ce..e3e50022993ac753319a4986876ee15e6e50cf30 100644
--- a/net/net.gyp
+++ b/net/net.gyp
@@ -708,6 +708,19 @@
},
],
+ [ 'use_v8_in_net==1 and OS != "android"', {
+ 'dependencies': [
+ 'net_with_v8',
+ 'net_browser_services',
+ '../third_party/mojo/mojo_edk.gyp:mojo_system_impl',
+ ],
+ }, { # else
+ 'sources!': [
+ 'dns/mojo_host_resolver_impl_unittest.cc',
+ ],
+ },
+ ],
+
[ 'enable_mdns != 1', {
'sources!' : [
'dns/mdns_cache_unittest.cc',
@@ -1218,6 +1231,36 @@
'../third_party/mojo/mojom_bindings_generator.gypi',
],
},
+ {
+ # GN version: //net:net_browser_services
+ 'target_name': 'net_browser_services',
+ 'type': 'static_library',
+ 'sources': [
+ 'dns/mojo_host_resolver_impl.cc',
+ 'dns/mojo_host_resolver_impl.h',
+ ],
+ 'dependencies': [
+ 'mojo_type_converters',
+ 'net',
+ 'net_interfaces',
+ '../mojo/mojo_base.gyp:mojo_environment_chromium',
+ '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
+ ],
+ },
+ {
+ # GN version: //net:mojo_type_converters
+ 'target_name': 'mojo_type_converters',
+ 'type': 'static_library',
+ 'sources': [
+ 'dns/mojo_type_converters.cc',
+ 'dns/mojo_type_converters.h',
+ ],
+ 'dependencies': [
+ 'net',
+ 'net_interfaces',
+ '../third_party/mojo/mojo_public.gyp:mojo_cpp_bindings',
+ ],
+ },
],
}],
['OS != "ios" and OS != "android"', {
« no previous file with comments | « net/interfaces/proxy_resolver_service.mojom ('k') | net/net.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698