Index: content/network/BUILD.gn |
diff --git a/content/network/BUILD.gn b/content/network/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ecc56edef3cf9881bbe26355e87bdb6b631e3f29 |
--- /dev/null |
+++ b/content/network/BUILD.gn |
@@ -0,0 +1,48 @@ |
+# Copyright 2017 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+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:*", |
+ "//services/service_manager/public/cpp", |
yzshen1
2017/04/11 21:58:04
Why this one is needed?
jam
2017/04/11 22:58:18
It's not, removed
|
+ ] |
+ |
+ sources = [ |
+ "net_adapters.cc", |
+ "net_adapters.h", |
+ "network_context.cc", |
+ "network_context.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", |
+ "//net", |
+ "//services/service_manager/public/interfaces", |
+ ] |
+} |