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

Unified Diff: net/BUILD.gn

Issue 892393005: Implement browser-side host resolver Mojo service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@v8-pac-interfaces
Patch Set: Use InterfaceRequest<> 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') | net/dns/mojo_host_resolver_impl_unittest.cc » ('J')
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 52444d59ea4a765dbf23711ab50d232593c8079f..ea17f6a9f1648565ed4defc56f456d93a89b7222 100644
--- a/net/BUILD.gn
+++ b/net/BUILD.gn
@@ -790,6 +790,35 @@ if (use_v8_in_net) {
}
}
+if (use_v8_in_net && !is_android) {
+ static_library("net_browser_services") {
jamesr 2015/02/13 00:59:54 these should be source_set, not static_library. st
Anand Mistry (off Chromium) 2015/02/13 02:29:08 Done.
+ sources = [
+ "dns/mojo_host_resolver_impl.cc",
+ "dns/mojo_host_resolver_impl.h",
+ ]
+
+ public_deps = [
+ ":mojo_type_converters",
+ ":net",
+ "//net/interfaces",
+ "//third_party/mojo/src/mojo/public/cpp/bindings",
+ ]
+ }
+
+ static_library("mojo_type_converters") {
jamesr 2015/02/13 00:59:54 ditto
Anand Mistry (off Chromium) 2015/02/13 02:29:08 Done.
+ sources = [
+ "dns/mojo_type_converters.cc",
+ "dns/mojo_type_converters.h",
+ ]
+
+ public_deps = [
+ ":net",
+ "//net/interfaces",
+ "//third_party/mojo/src/mojo/public/cpp/bindings",
+ ]
+ }
+}
+
if (!is_ios && !is_android) {
executable("crash_cache") {
testonly = true
@@ -1319,6 +1348,16 @@ if (!is_android && !is_win && !is_mac) {
]
}
+ if (use_v8_in_net && !is_android) {
+ deps += [
+ ":net_browser_services",
+ "//mojo/environment:chromium",
+ "//third_party/mojo/src/mojo/edk/system",
+ ]
+ } else {
+ sources -= [ "dns/mojo_host_resolver_impl_unittest.cc" ]
+ }
+
if (!enable_mdns) {
sources -= [
"dns/mdns_cache_unittest.cc",
« no previous file with comments | « no previous file | net/DEPS » ('j') | net/dns/mojo_host_resolver_impl_unittest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698