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

Unified Diff: net/BUILD.gn

Issue 896203003: Implement utility-side proxy resolver Mojo service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@proxy-diffbase
Patch Set: fix windows compile 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 | « no previous file | net/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/BUILD.gn
diff --git a/net/BUILD.gn b/net/BUILD.gn
index 76a5cf80ddd19abd68816d1b26439d28c93ee06a..78c6d5d701ba35ab90a68bc4d24bfec2ffaabb85 100644
--- a/net/BUILD.gn
+++ b/net/BUILD.gn
@@ -808,6 +808,8 @@ if (use_v8_in_net && !is_android) {
sources = [
"dns/mojo_type_converters.cc",
"dns/mojo_type_converters.h",
+ "proxy/mojo_type_converters.cc",
+ "proxy/mojo_type_converters.h",
]
public_deps = [
@@ -816,6 +818,21 @@ if (use_v8_in_net && !is_android) {
"//third_party/mojo/src/mojo/public/cpp/bindings",
]
}
+
+ source_set("net_utility_services") {
+ sources = [
+ "proxy/mojo_proxy_resolver_impl.cc",
+ "proxy/mojo_proxy_resolver_impl.h",
+ ]
+
+ public_deps = [
+ ":mojo_type_converters",
+ ":net",
+ "//mojo/common",
+ "//net/interfaces",
+ "//third_party/mojo/src/mojo/public/cpp/bindings",
+ ]
+ }
}
if (!is_ios && !is_android) {
@@ -1369,11 +1386,15 @@ if (!is_android && !is_win && !is_mac) {
if (use_v8_in_net && !is_android) {
deps += [
":net_browser_services",
+ ":net_utility_services",
"//mojo/environment:chromium",
"//third_party/mojo/src/mojo/edk/system",
]
} else {
- sources -= [ "dns/mojo_host_resolver_impl_unittest.cc" ]
+ sources -= [
+ "dns/mojo_host_resolver_impl_unittest.cc",
+ "proxy/mojo_proxy_resolver_impl_unittest.cc",
+ ]
}
if (!enable_mdns) {
« no previous file with comments | « no previous file | net/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698