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

Unified Diff: content/network/BUILD.gn

Issue 2817453002: Bring back the URLLoader from the old Mandoline network service. (Closed)
Patch Set: fix checkdeps Created 3 years, 8 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 | « content/BUILD.gn ('k') | content/network/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/network/BUILD.gn
diff --git a/content/network/BUILD.gn b/content/network/BUILD.gn
index 3d7b2125748789bf4e88eac3109a7a94714c790f..e351e7f7249dee3f4ecea4b8a27634bbf49c2956 100644
--- a/content/network/BUILD.gn
+++ b/content/network/BUILD.gn
@@ -4,18 +4,51 @@
import("//services/service_manager/public/service_manifest.gni")
-source_set("lib") {
+group("network") {
+ visibility = [ "//content/*" ] # This is an internal content API.
+
+ if (is_component_build) {
+ public_deps = [
+ "//content",
+ ]
+ } else {
+ public_deps = [
+ ":network_sources",
+ ]
+ }
+}
+
+source_set("network_sources") {
+ # Depend on via ":network above.
+ visibility = [
+ ":network",
+ "//content", # For the component build.
+ "//content/app:*",
+ "//content/utility:utility",
+ ]
+
sources = [
+ "net_adapters.cc",
+ "net_adapters.h",
+ "network_context.cc",
+ "network_context.h",
"network_service.cc",
"network_service.h",
+ "url_loader_impl.cc",
+ "url_loader_impl.h",
]
configs += [ "//content:content_implementation" ]
deps = [
"//base",
+ "//content:export",
+ "//content/common",
"//content/common:mojo_bindings",
+ "//content/public/common:common_sources",
"//mojo/public/cpp/bindings",
+ "//net",
+ "//services/service_manager/public/interfaces",
"//services/service_manager/public/cpp",
]
}
« no previous file with comments | « content/BUILD.gn ('k') | content/network/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698